Module talk:Location map/data/Chad/doc: Difference between revisions

Content deleted Content added
Obersachsebot (talk | contribs)
image1, how to
Line 1:
{{#switch:{{{1}}}
| name = Chad
| top = 23.95
| bottom = 6.95
| left = 12.85
| right = 24.6
| image = Chad ___location map.svg
| image1 = Chad relief ___location map.jpg
}}<noinclude>{{Location map/Info}}
}}<noinclude><!--
--
-- The above switch-statement branches by text in parameter #1,
-- returning the associated value after each equals sign ("=").
-->
}}<noinclude>{{Location map/Info}}
 
== How to use an alternative map ==
==Alternative maps==
This template normally displays the map shown above as '''image''':
The ''AlternativeMap'' parameter in [[Template:Location map]] can be used to display the following alternative map image:
*<tt>{{{{PAGENAME}}|image}}</tt>.
[[File:Chad relief ___location map.jpg|400x400px|thumb|left|AlternativeMap = Chad relief ___location map.jpg]]
The ''AlternativeMap'' parameter in [[Template:Location map]] can be used to display {{#if:{{{{PAGENAME}}|image2}}|one of the following alternativeimages|the mapfollowing image}}:
{{clear}}
*<tt>{{{{PAGENAME}}|image1}}</tt>
{{#if:{{{{PAGENAME}}|image2}}|
*<tt>{{{{PAGENAME}}|image2}}</tt>
}}
Further instructions and examples can be found at [[Template:Location map#Using Alternative Map]].
 
[[Category:Location map by country templates|Chad]]