Documentation icon คู่มือการใช้งานมอดูล[ดู] [แก้] [ประวัติ] [ล้างแคช]
แผนที่ที่ตั้งของเบลารุส
name เบลารุส
border
coordinates
56.4
22.9 ←↕→ 33
51.1
map center 53°45′N 27°57′E / 53.75°N 27.95°E / 53.75; 27.95
image Belarus adm location map.svg
image1 Reliefkarte Weissrussland.png
แผนที่ประเทศเบลารุส

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

การใช้งาน

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

ค่านิยาม

  • name = เบลารุส
    ชื่อที่ใช้ในคำอธิบายแผนที่ค่าเริ่มต้น (default map)
  • image = Belarus adm location map.svg
    ภาพแผนที่ค่าเริ่มต้น ไม่ต้องใส่ "Image:" หรือ "File:" (หรือ "ภาพ:" หรือ "ไฟล์:")
  • image1 = Reliefkarte Weissrussland.png
    ภาพแผนที่ทางเลือก (alternative map) มักจะเป็นแผนที่ภูมิประเทศ (relief map) ซึ่งกำหนดให้แสดงได้โดยใช้พารามิเตอร์ relief หรือ AlternativeMap
  • top = 56.4
    ค่าละติจูดของตำแหน่งขอบบนสุดของแผนที่ในค่าทศนิยม (decimal degrees)
  • bottom = 51.1
    ค่าละติจูดของตำแหน่งขอบล่างสุดของแผนที่ในค่าทศนิยม
  • left = 22.9
    ค่าลองจิจูดของตำแหน่งขอบซ้ายสุดของแผนที่ในค่าทศนิยม
  • right = 33
    ค่าลองจิจูดของตำแหน่งขอบขวาสุดของแผนที่ในค่าทศนิยม

แผนที่ทางเลือก (Alternative map)

The {{Location map}}, {{Location map many}}, and {{Location map+}} templates have parameters to specify an alternative map image. The map displayed as image1 can be used with the relief or AlternativeMap parameters. Examples may be found below or in the following:

ความแม่นยำ

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

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

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

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

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

แม่แบบ Location map ใช้แผนที่ปกติ (image)

มินสค์ตั้งอยู่ในเบลารุส
มินสค์
มินสค์
มินสค์ (เบลารุส)
{{Location map | Belarus
| width   = 200
| lat_deg = 53.90
| lon_deg = 27.57
| label   = มินสค์
}}

แม่แบบ Location map many ใช้แผนที่ภูมิประเทศ (image1)

Location map/data/Belarusตั้งอยู่ในเบลารุส
มินสค์
มินสค์
เบรสต์
เบรสต์
สถานที่ในเบลารุส
{{Location map many | Belarus
| relief   = yes
| width    = 200
| caption  = สถานที่ในเบลารุส
| lat1_deg = 53.90
| lon1_deg = 27.57
| label1   = มินสค์
| lat2_deg = 52.13
| lon2_deg = 23.67
| label2   = เบรสต์
}}

แม่แบบ Location map+ ใช้แผนที่ AlternativeMap

Location map/data/Belarusตั้งอยู่ในเบลารุส
มินสค์
มินสค์
เบรสต์
เบรสต์
สถานที่ในเบลารุส
{{Location map+ | Belarus
| AlternativeMap = Relief Map of Belarus.png
| width   = 200
| caption = สถานที่ในเบลารุส
| places  =
  {{Location map~ | Belarus
  | lat_deg = 53.90
  | lon_deg = 27.57
  | label   = มินสค์
  }}
  {{Location map~ | Belarus
  | lat_deg = 52.13
  | lon_deg = 23.67
  | label   = เบรสต์
  }}
}}

ดูเพิ่ม

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

return {
	name = 'เบลารุส',
	top = 56.4,
	bottom = 51.1,
	left = 22.9,
	right = 33.0,
	image = 'Belarus adm location map.svg',
	image1 = 'Reliefkarte Weissrussland.png'
}