Content deleted Content added
→Examples: add example using Template:Location map many |
update documentation and add example using Template:Location map+ |
||
Line 1:
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
'''Template:Location map Chad''' is a ___location map definition used to overlay markers and labels on an [[equirectangular projection]] map of [[Chad]]. The markers are placed by [[latitude]] and [[longitude]] coordinates on the default map or a similar map image.
== Usage ==
These definitions are used by the following templates when invoked with parameter "Chad":
See [[Template:Location map]]▼
* {{tlx|Location map | Chad | ...}}
* {{tlx|Location map many | Chad | ...}}
* {{tlx|Location map+ | Chad | ...}}
* {{tlx|Location map~ | Chad | ...}}
== Map definition ==
; name
; image
: the default map image, without "Image:" or "File:" (<tt>[[:File:{{{{BASEPAGENAME}}|image}}|{{{{BASEPAGENAME}}|image}}]]</tt>)
; image1
: an alternative map image, usually a relief map (<tt>[[:File:{{{{BASEPAGENAME}}|image1}}|{{{{BASEPAGENAME}}|image1}}]]</tt>)
; top
: [[latitude]] at top edge of map, in [[decimal degrees]] (<tt>{{{{BASEPAGENAME}}|top}}</tt>)
; bottom
: latitude at bottom edge of map, in decimal degrees (<tt>{{{{BASEPAGENAME}}|bottom}}</tt>)
; left
: [[longitude]] at left edge of map, in decimal degrees (<tt>{{{{BASEPAGENAME}}|left}}</tt>)
; right
: longitude at right edge of map, in decimal degrees (<tt>{{{{BASEPAGENAME}}|right}}</tt>)
==
The map shown above as '''image1''' (<tt>{{{{BASEPAGENAME}}|image1}}</tt>) can be displayed by using the ''AlternativeMap'' or ''relief'' parameters in {{tl|Location map}}, {{tl|Location map many}} and {{tl|Location map+}}. Further instructions can be found at [[Template:Location map#Using Alternative Map]] and [[Template:Location map#Relief]], or see the examples below.
▲*<tt>{{{{BASEPAGENAME}}|image}}</tt>.
== Examples ==
Line 74 ⟶ 92:
{{clear}}
=== Location map+, using AlternativeMap ===
{{Location map+ | Chad
| AlternativeMap = Chad relief ___location map.jpg
| caption = Two locations in Chad
| width = 150
| places =
{{Location map~ | Chad
| lat = 12.112
| long = 15.035
| label = N'Djamena
}}
{{Location map~ | Chad
| lat = 8.66
| long = 16.85
| label = Doba
}}
}}
<pre style="width:35em">
{{Location map+ | Chad
| AlternativeMap = Chad relief ___location map.jpg
| caption = Two locations in Chad
| width = 150
| places =
{{Location map~ | Chad
| lat = 12.112
| long = 15.035
| label = N'Djamena
}}
{{Location map~ | Chad
| lat = 8.66
| long = 16.85
| label = Doba
}}
}}
</pre>
{{clear}}
== See also ==
* [[Template:Location map+]]
* [[Template:Location map many]]
<includeonly>
<!-- Categories and interwikis go here: -->
|