Template:Location map/Info/doc

Template:Location map/Info displays values stored in location map data templates with names such as "Template:Location map Belgium". 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

<syntaxhighlight lang="wikitext">

Location map of Template loop detected: Template:Location map/Info
name Template loop detected: Template:Location map/Info
border
coordinates
Template loop detected: Template:Location map/Info
Template loop detected: Template:Location map/Info ←↕→ Template loop detected: Template:Location map/Info Expression error: Unexpected < operator.
Template loop detected: Template:Location map/Info
map center Expression error: Unexpected < operator.
x Template loop detected: Template:Location map/Info
y Template loop detected: Template:Location map/Info
image [[:Image:Template loop detected: Template:Location map/Info|Template loop detected: Template:Location map/Info]]
[[image:Template loop detected: Template:Location map/Info|400x400px|Location map/Info]]
image1 [[:Image:Template loop detected: Template:Location map/Info|Template loop detected: Template:Location map/Info]]
[[image:Template loop detected: Template:Location map/Info|400x400px|Location map/Info]]
image2 [[:Image:Template loop detected: Template:Location map/Info|Template loop detected: Template:Location map/Info]]
[[image:Template loop detected: Template:Location map/Info|400x400px|Location map/Info]]
skew Template loop detected: Template:Location map/Info
lat_skew Template loop detected: Template:Location map/Info
mark [[:File:Template loop detected: Template:Location map/Info|Template loop detected: Template:Location map/Info]]
marksize Template loop detected: Template:Location map/Info

</syntaxhighlight>

On a documentation sub-page

<syntaxhighlight lang="wikitext">

Location map of Template loop detected: Template:Location map/Info
name Template loop detected: Template:Location map/Info
border
coordinates
Template loop detected: Template:Location map/Info
Template loop detected: Template:Location map/Info ←↕→ Template loop detected: Template:Location map/Info Expression error: Unexpected < operator.
Template loop detected: Template:Location map/Info
map center Expression error: Unexpected < operator.
x Template loop detected: Template:Location map/Info
y Template loop detected: Template:Location map/Info
image [[:Image:Template loop detected: Template:Location map/Info|Template loop detected: Template:Location map/Info]]
[[image:Template loop detected: Template:Location map/Info|400x400px|Location map/Info]]
image1 [[:Image:Template loop detected: Template:Location map/Info|Template loop detected: Template:Location map/Info]]
[[image:Template loop detected: Template:Location map/Info|400x400px|Location map/Info]]
image2 [[:Image:Template loop detected: Template:Location map/Info|Template loop detected: Template:Location map/Info]]
[[image:Template loop detected: Template:Location map/Info|400x400px|Location map/Info]]
skew Template loop detected: Template:Location map/Info
lat_skew Template loop detected: Template:Location map/Info
mark [[:File:Template loop detected: Template:Location map/Info|Template loop detected: Template:Location map/Info]]
marksize Template loop detected: Template:Location map/Info

</syntaxhighlight>

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