Documentation icon คู่มือการใช้งานมอดูล[ดู] [แก้] [ประวัติ] [ล้างแคช]
แผนที่ที่ตั้งของเทือกเขาคอเคซัส
name เทือกเขาคอเคซัส
x sin($2/92.433-0.4848)*(1292.56-12.1988*$1)+46.08
y cos($2/92.433-0.4848)*(1662.65-15.6916*$1)-960.13
image Caucasus topo map-blank.svg

มอดูล:Location map/data/Caucasus mountains คือมอดูลนิยามแผนที่แบบ equirectangular projection ของเทือกเขาคอเคซัส เพื่อใช้กำหนดตำแหน่งบนแผนที่ค่าเริ่มต้นหรือแผนที่ใกล้เคียงด้วยสัญลักษณ์หรือข้อความโดยใช้ค่าพิกัดละติจูดและลองจิจูด

การใช้งาน

เมื่อกำหนดค่าพารามิเตอร์ "Caucasus mountains" ลงในแม่แบบต่าง ๆ ด้านล่าง จะใช้ค่านิยามจากมอดูลนี้

ค่านิยาม

  • name = เทือกเขาคอเคซัส
    ชื่อที่ใช้ในคำอธิบายแผนที่ค่าเริ่มต้น (default map)
  • image = Caucasus topo map-blank.svg
    ภาพแผนที่ค่าเริ่มต้น ไม่ต้องใส่ "Image:" หรือ "File:" (หรือ "ภาพ:" หรือ "ไฟล์:")
  • x = sin($2/92.433-0.4848)*(1292.56-12.1988*$1)+46.08
    An expression to calculate a location on the map via its longitude; evaluates as 0 along the left edge and 100 along the right edge
  • y = cos($2/92.433-0.4848)*(1662.65-15.6916*$1)-960.13
    An expression to calculate a location on the map via its latitude; evaluates as 0 along the top edge and 100 along the bottom edge



ดูเพิ่ม

แม่แบบตำแหน่งบนแผนที่
  • แม่แบบ:Location map แสดงสัญลักษณ์และข้อความบนแผนที่ได้ 1 ตำแหน่งโดยใช้ค่าละติจูดและลองจิจูด
  • แม่แบบ:Location map many แสดงสัญลักษณ์และข้อความบนแผนที่ได้สูงสุด 9 ตำแหน่ง
  • แม่แบบ:Location map+ แสดงสัญลักษณ์และข้อความบนแผนที่ได้ไม่จำกัดจำนวน
การสร้างค่านิยามแผนที่ใหม่
แม่แบบกล่องข้อมูล (Infobox template) ที่ใช้แม่แบบตำแหน่งบนแผนที่
List

return {
	name = 'เทือกเขาคอเคซัส',
	x = 'sin($2/92.433-0.4848)*(1292.56-12.1988*$1)+46.08',
	y = 'cos($2/92.433-0.4848)*(1662.65-15.6916*$1)-960.13',
	image = 'Caucasus topo map-blank.svg'
}