Changes
Jump to navigation
Jump to search
Module:Location map/info/doc (view source)
Revision as of 08:21, 5 August 2018
, 08:21, 5 August 2018update intro, correct "United states" to "United States", add See also links, add category
<!-- 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 ==
This module is automatically used as documentation for map data modules and should not normally be called manually.
====The <code>name</code> parameter====
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 States}}.
: 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||
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:Location map modules]]
}}</includeonly>
'''{{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 ==
This module is automatically used as documentation for map data modules and should not normally be called manually.
====The <code>name</code> parameter====
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 States}}.
: 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||
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:Location map modules]]
}}</includeonly>