Module:Location map/info/doc
< Module:Location map | info
Jump to navigation
Jump to search
This is the documentation page for Module:Location map/info
This Lua module is used on many 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
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 India"
"
- {{Location map}} and Module:Location map