Difference between revisions of "Template:Location map/Info/doc"

From blackwiki
Jump to navigation Jump to search
imported>DixonDBot
m (Migrating 39 interwiki links, now provided by Wikidata on d:Q5607175)
Line 21: Line 21:
  
 
=== See also ===
 
=== See also ===
* [[Template:Location map]]
+
* {{tl|Location map}}
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->

Revision as of 09:17, 30 December 2015

This template displays values for the map templates such as {{Location map Spain}}. These templates are used by {{Location map}} to obtain values such as the file name and the border coordinates of each location map.

Usage

On a template page
<noinclude>{{Location map/Info}}</noinclude>
On a documentation sup-page
{{Location map/Info}}

The name parameter

The {{Location map}} family of templates uses the value assigned to name to generate alt text. It is used to construct the sentence "label is located in name". Assign a value to <name> that fits in the sentence. For example:

Chicago is located in the United States. So |name=the United states.
Santo Domingo is located in the Dominican Republic. So |name=the Dominican Republic.

See also