Template:Wp/bcc/Location map Afghanistan2
→ Template:Wp/bcc/Location map
نام | Afghanistan2 | |||
---|---|---|---|---|
چار نیمهگ یا سیم سر | ||||
38.6 | ||||
60.3 | →↕← | 75 | ||
29.2 | ||||
نکشه یی مرکز یا مانجین | 33°54′N 67°39′E / 33.9°N 67.65°E | |||
اکس | Afghanistan locator map.svg | |||
Template:Location map Afghanistan2 is a location map definition used to overlay markers and labels on an equirectangular projection map of افغانستان. The markers are placed by عرض جغرافیایی and طول جغرافیایی coordinates on the default map or a similar map image.
Usage
editThese definitions are used by the following templates when invoked with parameter "Afghanistan2":
{{Location map | Afghanistan2 | ...}}
{{Location map many | Afghanistan2 | ...}}
{{Location map+ | Afghanistan2 | ...}}
{{Location map~ | Afghanistan2 | ...}}
Map definition
edit- name = Template:Wp/bcc
- Name used in the default map caption
- image = [[:File:Template:Wp/bcc|Template:Wp/bcc]]
- The default map image, without "Image:" or "File:"
- image1 = [[:File:Template:Wp/bcc|Template:Wp/bcc]]
- An alternative map image, usually a relief map, can be displayed via the relief or AlternativeMap parameters
- image2 = [[:File:Template:Wp/bcc|Template:Wp/bcc]]
- A second alternative map image, can be displayed via the AlternativeMap parameter only
- top = Template:Wp/bcc
- عرض جغرافیایی at top edge of map, in decimal degrees
- bottom = Template:Wp/bcc
- Latitude at bottom edge of map, in decimal degrees
- left = Template:Wp/bcc
- طول جغرافیایی at left edge of map, in decimal degrees
- right = Template:Wp/bcc
- Longitude at right edge of map, in decimal degrees
- x = Template:Wp/bcc
- An expression to calculate a location on the map via its طول جغرافیایی; evaluates as 0 along the left edge and 100 along the right edge
- y = Template:Wp/bcc
- An expression to calculate a location on the map via its عرض جغرافیایی; evaluates as 0 along the top edge and 100 along the bottom edge
Alternative map
The map defined as image1 (Template:Wp/bcc) can be displayed by using the relief or AlternativeMap parameters in {{Wp/bcc/Location map}}, {{Location map many}} and {{Wp/bcc/Location map+}}. The map defined as image2 (Template:Wp/bcc) can only be displayed by using the AlternativeMap parameter. The use of these two parameters is shown in the examples below. Additional examples can be found at:
Examples using location map templates
editLocation map
editLua error in Module:Wp/bcc/Location_map at line 422: No value was provided for longitude.
{{Wp/bcc/Location map | Afghanistan2 | width = 200 | lat_deg = 34.53 | lon_deg = 69.16 | label = Kabul | background = yellow }}
Location map many
editLua error in Module:Wp/bcc/Location_map/multi at line 71: Unable to find the specified location map definition: "Module:Wp/bcc/Location map/data/Afghanistan2" does not exist.
{{Wp/bcc/Location map many | Afghanistan2 | caption = Two locations in Afghanistan | width = 200 | lat1_deg = 34.53 | lon1_deg = 69.16 | label1 = Kabul | bg1 = yellow | lat2_deg = 31.62 | lon2_deg = 65.72 | label2 = Kandahar | bg2 = yellow }}
Location map+
editLua error in Module:Wp/bcc/Location_map/multi at line 13: Unable to find the specified location map definition: "Module:Wp/bcc/Location map/data/Afghanistan2" does not exist.
{{Wp/bcc/Location map+ | Afghanistan2 | caption = Two locations in Afghanistan | width = 200 | places = {{Wp/bcc/Location map~ | Afghanistan2 | lat_deg = 34.53 | lon_deg = 69.16 | label = Kabul | background = yellow }} {{Wp/bcc/Location map~ | Afghanistan2 | lat_deg = 31.62 | lon_deg = 65.72 | label = Kandahar | background = yellow }} }}
See also
edit- Template:Wp/bcc/Location map Afghanistan, a different map image with different edge coordinates
- Location map templates
- Template:Wp/bcc/Location map, to display one mark and label using latitude and longitude
- Template:Wp/bcc/Location map many, to display up to nine marks and labels
- Template:Wp/bcc/Location map+, to display an unlimited number of marks and labels
- Infobox templates incorporating (passing values to) the Location map template
Template:Wp/bcc/Location map/doc/See also infobox templates