Difference between revisions of "Template:Location map/Info"
Jump to navigation
Jump to search
The
imported>Jackmcbarn (categorize maps with skew and other such params) |
imported>Jackmcbarn (don't miscategorize bad uses of this template) |
||
| Line 1: | Line 1: | ||
| − | <includeonly><div id="contentSub"><span class="subpages">< [[Template:Location map]]</span></div><!-- | + | <includeonly>{{#ifexist:Template:{{BASEPAGENAME}}|{{#if:{{{{BASEPAGENAME}}|skew}}{{{{BASEPAGENAME}}|lat_skew}}{{{{BASEPAGENAME}}|crosses180}}|[[Category:Location maps using skew|~]]}}|{{error|Error: [[Template:{{BASEPAGENAME}}]] doesn't exist}}}}<div id="contentSub"><span class="subpages">< [[Template:Location map]]</span></div><!-- |
Automatically add {{pp-template}} to protected templates. | Automatically add {{pp-template}} to protected templates. | ||
-->{{template other | -->{{template other | ||
| Line 81: | Line 81: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
| − | | | + | |}</includeonly><noinclude> |
<!--categories and interwikis should be placed in /doc, not here--> | <!--categories and interwikis should be placed in /doc, not here--> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 18:46, 23 April 2014
Template:Location map 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
<noinclude>{{Location map/Info}}</noinclude>
- On a documentation sub-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
- Module:Location map/info, used for location map data modules such as "Module:Location map/data/Belgium"
- {{Location map}} and Module:Location map
| The above documentation is transcluded from Template:Location map/Info/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |