มอดูล:Location map/data/Fiji

จากวิกิพีเดีย สารานุกรมเสรี
Documentation icon คู่มือการใช้งานมอดูล[ดู] [แก้] [ประวัติ] [ล้างแคช]
แผนที่ที่ตั้งของประเทศฟีจี
name ประเทศฟีจี
border
coordinates
-12.3
174.4 ←↕→ -177.9
-21.8
map center 17°03′S 178°15′E / 17.05°S 178.25°E / -17.05; 178.25
image Fiji location map.svg

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

การใช้งาน

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

ค่านิยาม

  • name = ประเทศฟีจี
    ชื่อที่ใช้ในคำอธิบายแผนที่ค่าเริ่มต้น (default map)
  • image = Fiji location map.svg
    ภาพแผนที่ค่าเริ่มต้น ไม่ต้องใส่ "Image:" หรือ "File:" (หรือ "ภาพ:" หรือ "ไฟล์:")
  • top = -12.3
    ค่าละติจูดของตำแหน่งขอบบนสุดของแผนที่ในค่าทศนิยม (decimal degrees)
  • bottom = -21.8
    ค่าละติจูดของตำแหน่งขอบล่างสุดของแผนที่ในค่าทศนิยม
  • left = 174.4
    ค่าลองจิจูดของตำแหน่งขอบซ้ายสุดของแผนที่ในค่าทศนิยม
  • right = -177.9
    ค่าลองจิจูดของตำแหน่งขอบขวาสุดของแผนที่ในค่าทศนิยม

ความแม่นยำ

ลองจิจูด: ค่านิยามแผนที่นี้มีขนาดจากทิศตะวันตกถึงตะวันออก 7.7 องศา

  • ภาพขนาดความกว้าง (width) 200 พิกเซล เทียบอัตราส่วนได้ 0.0385 องศาต่อพิกเซล
  • ภาพขนาดความกว้าง (width) 1,000 พิกเซล เทียบอัตราส่วนได้ 0.0077 องศาต่อพิกเซล

ละติจูด: ค่านิยามแผนที่นี้มีขนาดจากทิศเหนือถึงใต้ 9.5 องศา

  • ภาพขนาดความสูง (height) 200 พิกเซล เทียบอัตราส่วนได้ 0.0475 องศาต่อพิกเซล
  • ภาพขนาดความสูง (height) 1,000 พิกเซล เทียบอัตราส่วนได้ 0.0095 องศาต่อพิกเซล

ตัวอย่างการใช้ในแม่แบบตำแหน่งบนแผนที่ (location map)

Location map: Eastern hemisphere, Deg/Min/Sec coordinates

Eoriตั้งอยู่ในประเทศฟีจี
Eori
Eori
Location of Eori in Fiji
{{Location map | Fiji
| width      = 150
| caption    = Location of [[Eori]] in Fiji
| label      = Eori
| background = lightblue
| position   = left
| lat_deg= 17 | lat_min=26 | lat_sec=17 | lat_dir=S
| lon_deg=177 | lon_min=03 | lon_sec=48 | lon_dir=E
}}

Location map: Eastern hemisphere, Decimal coordinates

Eoriตั้งอยู่ในประเทศฟีจี
Eori
Eori
Location of Eori in Fiji
{{Location map | Fiji
| width      = 150
| caption    = Location of [[Eori]] in Fiji
| label      = Eori
| background = lightblue
| position   = left
| lat        = -17.43806
| long       = 177.06333
}}

Location map: Western hemisphere, Deg/Min/Sec coordinates

Batikiตั้งอยู่ในประเทศฟีจี
Batiki
Batiki
Location of Batiki in Fiji
{{Location map | Fiji
| width      = 150
| caption    = Location of [[Batiki]] in Fiji
| label      = Batiki
| background = lightgreen
| position   = bottom
| lat_deg =  17 | lat_min = 47 | lat_sec = | lat_dir = S
| lon_deg = 179 | lon_min = 09 | lon_sec = | lon_dir = W
}}

Location map: Western hemisphere, Decimal coordinates

Batikiตั้งอยู่ในประเทศฟีจี
Batiki
Batiki
Location of Batiki in Fiji
{{Location map | Fiji
| width      = 150
| caption    = Location of [[Batiki]] in Fiji
| label      = Batiki
| background = lightgreen
| position   = bottom
| lat        = -17.783
| long       = -179.15
}}

Location map many: Deg/Min/Sec coordinates

Location map/data/Fijiตั้งอยู่ในประเทศฟีจี
Eori
Eori
Batiki
Batiki
Eori and Batiki in Fiji
{{Location map many | Fiji
| width = 150
| caption = [[Eori]] and [[Batiki]] in Fiji
| label = Eori | label_size = 90 | bg = lightblue | pos = left
| lat_deg = 17 | lat_min = 26 | lat_sec = 17 | lat_dir = S
| lon_deg =177 | lon_min = 03 | lon_sec = 48 | lon_dir = E
| label2 = Batiki | label2_size = 90 | bg2 = lightgreen | pos2 = bottom
| lat2_deg = 17 | lat2_min = 47 | lat2_sec = | lat2_dir = S
| lon2_deg =179 | lon2_min = 09 | lon2_sec = | lon2_dir = W
}}

Location map many: Decimal coordinates

Location map/data/Fijiตั้งอยู่ในประเทศฟีจี
Eori
Eori
Batiki
Batiki
Eori and Batiki in Fiji
{{Location map many | Fiji
| width   = 150
| caption = [[Eori]] and [[Batiki]] in Fiji
| label   = Eori | label_size = 90
| bg      = lightblue | pos = left
| lat     = -17.43806
| long    = 177.06333
| label2  = Batiki | label2_size = 90
| bg2     = lightgreen | pos2 = bottom
| lat2    = -17.783
| long2   = -179.15
}}

ดูเพิ่ม

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

return {
	name = 'ประเทศฟีจี',
	left = 174.4,
	right = -177.9,
	top = -12.3,
	bottom = -21.8,
	image = 'Fiji location map.svg'
}