Difference between revisions of "Module:Location map/info/doc"
< Module:Location map | info
Jump to navigation
Jump to search
blackwiki>Jackmcbarn (create doc page based on Template:Location map/Info/doc) |
blackwiki>Zyxw (update intro, correct "United states" to "United States", add See also links, add category) |
||
Line 1: | Line 1: | ||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | ||
+ | '''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays values stored in location map data [[Help:Module|modules]] such as [[Module:Location map/data/Belgium]]. These modules are used by [[Module:Location map]] to obtain values such as the file name and the border coordinates of each location map. | ||
− | |||
== Usage == | == Usage == | ||
Line 10: | Line 10: | ||
The {{tl|Location map}} family of templates uses the value assigned to <code>name</code> to generate [[wp:alt|alt text]]. It is used to construct the sentence "<code>label</code> is located in <code>name</code>". Assign a value to <code><name></code> that fits in the sentence. For example: | The {{tl|Location map}} family of templates uses the value assigned to <code>name</code> to generate [[wp:alt|alt text]]. It is used to construct the sentence "<code>label</code> is located in <code>name</code>". Assign a value to <code><name></code> that fits in the sentence. For example: | ||
− | : Chicago is located in <u>the</u> United States</u>. So {{para|name|the United | + | : Chicago is located in <u>the</u> United States</u>. So {{para|name|the United States}}. |
: Santo Domingo is located in <u>the</u> Dominican Republic. So {{para|name|the Dominican Republic}}. | : Santo Domingo is located in <u>the</u> Dominican Republic. So {{para|name|the Dominican Republic}}. | ||
+ | |||
+ | == See also == | ||
+ | * [[Template:Location map/Info]], used for location map data [[Help:Template|templates]] such as "Template:Location map Belgium" | ||
+ | * {{tl|Location map}} and [[Module:Location map]] | ||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | ||
<!-- Categories go here and interwikis go in Wikidata. --> | <!-- Categories go here and interwikis go in Wikidata. --> | ||
− | + | [[Category:Location map modules]] | |
}}</includeonly> | }}</includeonly> |
Revision as of 02:51, 5 August 2018
Module:Location map/info displays values stored in location map data modules such as Module:Location map/data/Belgium. These modules are used by Module:Location map to obtain values such as the file name and the border coordinates of each location map.
Usage
This module is automatically used as documentation for map data modules and should not normally be called manually.
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
- Template:Location map/Info, used for location map data templates such as "Template:Location map Belgium"
- {{Location map}} and Module:Location map