Module:Coordinates/doc

From Runnina
Revision as of 21:32, 8 July 2025 by Administrator (talk | contribs) (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{Template High-risk}} This module is intended to replace the functionality of {{Coord}} and related templates. It provides several methods, including * {{#invoke:Coordinates|main}} : General function formatting and displaying coordinate values. * {{#invoke:Coordinates|dec2dms}} : Simple function for converting decimal degree values to DMS format. * {{#invoke:Coordinates...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is the documentation page for Module:Coordinates


Template:Template High-risk

This module is intended to replace the functionality of Template:Coord and related templates. It provides several methods, including

  • Script error: The function "main" does not exist. : General function formatting and displaying coordinate values.
  • Lua error in Module:Coordinates at line 197: attempt to compare number with nil. : Simple function for converting decimal degree values to DMS format.
  • Lua error in Module:Math at line 172: bad argument #1 to 'upper' (string expected, got nil). : Simple function for converting DMS format to decimal degree format.
  • https://geohack.toolforge.org/geohack.php?pagename=Module:Coordinates/doc&params= : Export the link used to reach the tools

This module depends on the following other modules:

This module uses TemplateStyles:

Tracking templates and uses Wikidata

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

Using the module with coordinsert

Using the module with coordinsert to extract latitude or longitude

Modules using this module directly

Tracking categories