Module:Coordinates/doc: Difference between revisions

From Runnina
Jump to navigation Jump to search
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..."
 
Blanked the page
Tag: Blanking
Line 1: Line 1:
{{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|dms2dec}} : Simple function for converting DMS format to decimal degree format.
* {{#invoke:Coordinates|link}} : Export the link used to reach the tools
This module depends on the following other modules:
* [[Module:Math]] (for mathematical operations)
* [[Module:Arguments]] (for parsing arguments)
This module uses TemplateStyles:
* [[Module:Coordinates/styles.css]]
== 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 ==
* [[Module:Location map]]
* [[Module:Coordinates/styles.css]]
== Tracking categories ==
<noinclude>
[[Category:Modules]]
[[Category:Modules that use TemplateStyles]]
</noinclude>

Revision as of 21:39, 8 July 2025