มอดูล:Location map/data/Romania/doc

จากวิกิพีเดีย สารานุกรมเสรี


แผนที่ที่ตั้งของโรมาเนีย
name โรมาเนีย
border
coordinates
48.5
20 ←↕→ 30
43.4
map center 45°57′N 25°00′E / 45.95°N 25°E / 45.95; 25
image Romania location map.svg
image1 Reliefkarte Rumänien.png
image2 Relief Map of Romania.png
แผนที่ประเทศโรมาเนีย

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

การใช้งาน

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

ค่านิยาม

  • name = โรมาเนีย
    ชื่อที่ใช้ในคำอธิบายแผนที่ค่าเริ่มต้น (default map)
  • image = Romania location map.svg
    ภาพแผนที่ค่าเริ่มต้น ไม่ต้องใส่ "Image:" หรือ "File:" (หรือ "ภาพ:" หรือ "ไฟล์:")
  • image1 = Reliefkarte Rumänien.png
    ภาพแผนที่ทางเลือก (alternative map) มักจะเป็นแผนที่ภูมิประเทศ (relief map) ซึ่งกำหนดให้แสดงได้โดยใช้พารามิเตอร์ relief หรือ AlternativeMap
  • image2 = Relief Map of Romania.png
    Alternative map image which can be displayed via the AlternativeMap parameter
  • top = 48.5
    ค่าละติจูดของตำแหน่งขอบบนสุดของแผนที่ในค่าทศนิยม (decimal degrees)
  • bottom = 43.4
    ค่าละติจูดของตำแหน่งขอบล่างสุดของแผนที่ในค่าทศนิยม
  • left = 20
    ค่าลองจิจูดของตำแหน่งขอบซ้ายสุดของแผนที่ในค่าทศนิยม
  • right = 30
    ค่าลองจิจูดของตำแหน่งขอบขวาสุดของแผนที่ในค่าทศนิยม

แผนที่ทางเลือก (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. The map displayed as image2 can be used with the AlternativeMap parameter. Examples may be found below or in the following:

ความแม่นยำ

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

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

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

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

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

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

บูคาเรสต์ตั้งอยู่ในโรมาเนีย
บูคาเรสต์
บูคาเรสต์
บูคาเรสต์ (โรมาเนีย)
{{Location map | Romania
| width   = 250
| lat_deg = 44.433
| lon_deg = 26.104
| label   = บูคาเรสต์
}}

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

Location map/data/Romania/docตั้งอยู่ในโรมาเนีย
บูคาเรสต์
บูคาเรสต์
อารัด
อารัด
เมืองในประเทศโรมาเนีย
{{Location map many | Romania
| relief   = yes
| width    = 250
| caption  = เมืองในประเทศโรมาเนีย
| lat1_deg = 44.433
| lon1_deg = 26.104
| label1   = บูคาเรสต์
| lat2_deg = 46.167
| lon2_deg = 21.317
| label2   = อารัด
}}

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

Location map/data/Romania/docตั้งอยู่ในโรมาเนีย
บูคาเรสต์
บูคาเรสต์
อารัด
อารัด
เมืองในประเทศโรมาเนีย
{{Location map+ | Romania
| AlternativeMap = Relief Map of Romania.png
| width   = 250
| caption = เมืองในประเทศโรมาเนีย
| places  =
  {{Location map~ | Romania
  | lat_deg = 44.433
  | lon_deg = 26.104
  | label   = บูคาเรสต์
  }}
  {{Location map~ | Romania
  | lat_deg = 46.167
  | lon_deg = 21.317
  | label   = อารัด
  }}
}}

ดูเพิ่ม

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