<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.worldchan.net/index.php?action=history&amp;feed=atom&amp;title=Module%3ACoordinates%2Fdoc</id>
	<title>Module:Coordinates/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.worldchan.net/index.php?action=history&amp;feed=atom&amp;title=Module%3ACoordinates%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.worldchan.net/index.php?title=Module:Coordinates/doc&amp;action=history"/>
	<updated>2026-05-06T11:11:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://wiki.worldchan.net/index.php?title=Module:Coordinates/doc&amp;diff=999&amp;oldid=prev</id>
		<title>Sal&#039;goth the Incinerator at 09:44, 25 April 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.worldchan.net/index.php?title=Module:Coordinates/doc&amp;diff=999&amp;oldid=prev"/>
		<updated>2025-04-25T09:44:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:44, 25 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{High-risk}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Module rating|protected}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Tracks and uses Wikidata|P625}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Lua|Module:Math|Module:Arguments}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Lua|Module:Math|Module:Arguments}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Uses TemplateStyles|Module:Coordinates/styles.css}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Uses TemplateStyles|Module:Coordinates/styles.css}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-992:rev-999:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Sal&#039;goth the Incinerator</name></author>
	</entry>
	<entry>
		<id>https://wiki.worldchan.net/index.php?title=Module:Coordinates/doc&amp;diff=992&amp;oldid=prev</id>
		<title>Sal&#039;goth the Incinerator: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.worldchan.net/index.php?title=Module:Coordinates/doc&amp;diff=992&amp;oldid=prev"/>
		<updated>2025-04-25T07:30:59Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:30, 25 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key mediawiki:diff:1.41:old-991:rev-992 --&gt;
&lt;/table&gt;</summary>
		<author><name>Sal&#039;goth the Incinerator</name></author>
	</entry>
	<entry>
		<id>https://wiki.worldchan.net/index.php?title=Module:Coordinates/doc&amp;diff=991&amp;oldid=prev</id>
		<title>wikipedia&gt;Warudo: Added the page to :Category:Module documentation pages</title>
		<link rel="alternate" type="text/html" href="https://wiki.worldchan.net/index.php?title=Module:Coordinates/doc&amp;diff=991&amp;oldid=prev"/>
		<updated>2024-08-29T20:55:47Z</updated>

		<summary type="html">&lt;p&gt;Added the page to &lt;a href=&quot;/index.php?title=Category:Module_documentation_pages&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:Module documentation pages (page does not exist)&quot;&gt;Category:Module documentation pages&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{High-risk}}&lt;br /&gt;
{{Module rating|protected}}&lt;br /&gt;
{{Tracks and uses Wikidata|P625}}&lt;br /&gt;
{{Lua|Module:Math|Module:Arguments}}&lt;br /&gt;
{{Uses TemplateStyles|Module:Coordinates/styles.css}}&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; The code which this module&amp;#039;s main function (&amp;lt;code&amp;gt;coord&amp;lt;/code&amp;gt;) outputs is directly parsed and/or manipulated by [[Module:Location map]] and other functions of this module itself (&amp;lt;code&amp;gt;coord2text&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;coordinsert&amp;lt;/code&amp;gt;). If the structure of the output changes (for example, to use [[:mw:Help:Extension:Kartographer|the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;mapframe&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;maplink&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; tags]]), please update the aforementioned scripts as well.&lt;br /&gt;
&lt;br /&gt;
==Using the module with coordinsert==&lt;br /&gt;
When using the {{tl|Coord}} template inside another template, like an infobox, there may be parameters (like &amp;lt;code&amp;gt;&amp;lt;var&amp;gt;type&amp;lt;/var&amp;gt;:&amp;lt;var&amp;gt;airport&amp;lt;/var&amp;gt;&amp;lt;/code&amp;gt;) which should be added automatically. To do so, do something like this:&lt;br /&gt;
 &amp;lt;code&amp;gt;&amp;amp;#123;&amp;amp;#123;#if:&amp;amp;#123;&amp;amp;#123;&amp;amp;#123;coordinates&amp;amp;#124;&amp;amp;#125;&amp;amp;#125;&amp;amp;#125;&amp;amp;#124;&amp;amp;#123;&amp;amp;#123;#invoke:Coordinates&amp;amp;#124;coordinsert&amp;amp;#124;&amp;amp;#123;&amp;amp;#123;&amp;amp;#123;coordinates&amp;amp;#124;&amp;amp;#125;&amp;amp;#125;&amp;amp;#125;&amp;amp;#124;&amp;lt;var&amp;gt;parameter1:value1&amp;amp;#124;parameter2:value2&amp;amp;#124;parameter3:value3…&amp;lt;/var&amp;gt;&amp;amp;#125;&amp;amp;#125;&amp;amp;#124;&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Do not add more vertical bars &amp;lt;code&amp;gt;&amp;amp;#124;&amp;lt;/code&amp;gt; than necessary. &lt;br /&gt;
&lt;br /&gt;
==Using the module with coord2text to extract latitude or longitude== &lt;br /&gt;
Developers maintaining legacy code may need to extract latitude or longitude to use a parameters in other code, or a mathematical expression. &lt;br /&gt;
The module&amp;#039;s &amp;quot;coord2text&amp;quot; function can be used to extract data from the {{tl|Coord}} template. To extract the latitude from a Coord template, use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:coordinates|coord2text|{{Coord|57|18|22|N|4|27|32|E}}|lat}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &amp;amp;rarr; {{#invoke:coordinates|coord2text|{{Coord|57|18|22|N|4|27|32|E}}|lat}} &lt;br /&gt;
&lt;br /&gt;
To extract the longitude, use: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:coordinates|coord2text|{{Coord|57|18|22|N|4|27|32|E}}|long}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &amp;amp;rarr; {{#invoke:coordinates|coord2text|{{Coord|57|18|22|N|4|27|32|E}}|long}}&lt;br /&gt;
&lt;br /&gt;
== Modules using this module directly ==&lt;br /&gt;
* [[Module:HS listed building row]]&lt;br /&gt;
&lt;br /&gt;
== Tracking categories ==&lt;br /&gt;
* {{clc|Pages with malformed coordinate tags}}&lt;br /&gt;
* {{clc|Coordinates not on Wikidata‎}}&lt;br /&gt;
* {{clc|Coordinates on Wikidata‎}}&lt;br /&gt;
* {{clc|Coordinates on Wikidata set to no value‎}}&lt;br /&gt;
* {{clc|Coordinates on Wikidata set to unknown value‎}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#switch:{{SUBPAGENAME}}|sandbox2|sandbox=|&lt;br /&gt;
[[Category:Modules that add a tracking category]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Module documentation pages]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>wikipedia&gt;Warudo</name></author>
	</entry>
</feed>