Module:Location map/info/doc
Appearance
This is a documentation subpage for Module:Location map/info. It may contain usage information, categories and other content that is not part of the original module page. |
This Lua module is used on approximately 6,500 pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages, or in your own module sandbox. Consider discussing changes on the talk page before implementing them. |
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
[edit]This module is automatically used as documentation for map data modules and should not normally be called manually.
The name
parameter
[edit]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
[edit]- Template:Location map/Info, used for location map data templates such as "Template:Location map India"
"
- {{Location map}} and Module:Location map