Module:Coordinates/doc

Note: The code which this module's main function outputs is directly parsed and/or manipulated by Module:Location map and other functions of this module itself (  and  ). If the structure of the output changes (for example, to use the  and   tags), please update the aforementioned scripts as well.

Using the module with coordinsert
When using the Coord template inside another template, like an infobox, there may be parameters (like ) which should be added automatically. To do so, do something like this:

Do not add more vertical bars  than necessary.

Using the module with coord2text to extract latitude or longitude
Developers maintaining legacy code may need to extract latitude or longitude to use a parameters in other code, or a mathematical expression. The module's "coord2text" function can be used to extract data from the Coord template. To extract the latitude from a Coord template, use:

&rarr;

To extract the longitude, use:

&rarr;

Modules using this module directly

 * Module:HS listed building row