<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://twentyonewiki.info/index.php?action=history&amp;feed=atom&amp;title=Template%3ALocation_map_data_documentation</id>
	<title>Template:Location map data documentation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://twentyonewiki.info/index.php?action=history&amp;feed=atom&amp;title=Template%3ALocation_map_data_documentation"/>
	<link rel="alternate" type="text/html" href="https://twentyonewiki.info/index.php?title=Template:Location_map_data_documentation&amp;action=history"/>
	<updated>2026-04-13T02:43:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://twentyonewiki.info/index.php?title=Template:Location_map_data_documentation&amp;diff=7496&amp;oldid=prev</id>
		<title>Buburka Rinderbuy: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://twentyonewiki.info/index.php?title=Template:Location_map_data_documentation&amp;diff=7496&amp;oldid=prev"/>
		<updated>2024-07-02T05:10:47Z</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 01:10, 2 July 2024&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key twenizlx_mw1497-mw20_:diff::1.12:old-7495:rev-7496 --&gt;
&lt;/table&gt;</summary>
		<author><name>Buburka Rinderbuy</name></author>
	</entry>
	<entry>
		<id>https://twentyonewiki.info/index.php?title=Template:Location_map_data_documentation&amp;diff=7495&amp;oldid=prev</id>
		<title>Module:Location map/data/Earth&gt;Steel1943: Undid revision 1207849615 by Steel1943 (talk) revert self - turns out the functionality is somewhat redundant to the &quot;name&quot; parameter, so reverting for now</title>
		<link rel="alternate" type="text/html" href="https://twentyonewiki.info/index.php?title=Template:Location_map_data_documentation&amp;diff=7495&amp;oldid=prev"/>
		<updated>2024-02-15T22:09:40Z</updated>

		<summary type="html">&lt;p&gt;Undid revision 1207849615 by &lt;a href=&quot;/index.php/Special:Contributions/Steel1943&quot; title=&quot;Special:Contributions/Steel1943&quot;&gt;Steel1943&lt;/a&gt; (&lt;a href=&quot;/index.php?title=User_talk:Steel1943&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:Steel1943 (page does not exist)&quot;&gt;talk&lt;/a&gt;) revert self - turns out the functionality is somewhat redundant to the &amp;quot;name&amp;quot; parameter, so reverting for now&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;__NOEDITSECTION__{{#invoke:Location map/info|main}}&lt;br /&gt;
{{{image|}}}&lt;br /&gt;
&lt;br /&gt;
'''{{#titleparts:{{FULLPAGENAME}}|3}}''' is a location map definition used to overlay markers and labels on {{{projection|an [[equirectangular projection]]}}} map of {{{name|[[{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|name}}]]}}}. The markers are placed by [[latitude]] and [[longitude]] coordinates on the default map or a similar map image.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
These definitions are used by the following templates when invoked with parameter &amp;quot;{{#titleparts:{{FULLPAGENAME}}|1|3}}&amp;quot;:&lt;br /&gt;
* {{tlx|Location map | {{#titleparts:{{FULLPAGENAME}}|1|3}}&amp;amp;nbsp;| ...}}&lt;br /&gt;
* {{tlx|Location map many | {{#titleparts:{{FULLPAGENAME}}|1|3}}&amp;amp;nbsp;| ...}}&lt;br /&gt;
* {{tlx|Location map+ | {{#titleparts:{{FULLPAGENAME}}|1|3}}&amp;amp;nbsp;| ...}}&lt;br /&gt;
* {{tlx|Location map~ | {{#titleparts:{{FULLPAGENAME}}|1|3}}&amp;amp;nbsp;| ...}}&lt;br /&gt;
&lt;br /&gt;
== Map definition ==&lt;br /&gt;
* &amp;lt;code&amp;gt;'''name''' = {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|name}}&amp;lt;/code&amp;gt;&lt;br /&gt;
*: Name used in the default map caption&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;'''image''' = [[:File:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image}}|{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image}}]]&amp;lt;/code&amp;gt;&lt;br /&gt;
*: The default map image, without &amp;quot;Image:&amp;quot; or &amp;quot;File:&amp;quot;&lt;br /&gt;
{{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image1}}|&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;'''image1''' = [[:File:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image1}}|{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image1}}]]&amp;lt;/code&amp;gt;&lt;br /&gt;
*: An alternative map image, usually a relief map, which can be displayed via the ''relief'' or ''AlternativeMap'' parameters&lt;br /&gt;
}}{{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image2}}|&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;'''image2''' = [[:File:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image2}}|{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image2}}]]&amp;lt;/code&amp;gt;{{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image3}}|&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;'''image3''' = [[:File:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image3}}|{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image3}}]]&amp;lt;/code&amp;gt;&lt;br /&gt;
}}{{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image4}}|&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;'''image4''' = [[:File:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image4}}|{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image4}}]]&amp;lt;/code&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
*: Alternative map image{{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image3}}|s}} which can be displayed via the ''AlternativeMap'' parameter&lt;br /&gt;
&lt;br /&gt;
}}{{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|top}}{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|bottom}}{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|left}}{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|right}}|&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;'''top''' = {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|top}}&amp;lt;/code&amp;gt;&lt;br /&gt;
*: [[Latitude]] at top edge of map, in [[decimal degrees]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;'''bottom''' = {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|bottom}}&amp;lt;/code&amp;gt;&lt;br /&gt;
*: Latitude at bottom edge of map, in decimal degrees&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;'''left''' = {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|left}}&amp;lt;/code&amp;gt;&lt;br /&gt;
*: [[Longitude]] at left edge of map, in decimal degrees&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;'''right''' = {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|right}}&amp;lt;/code&amp;gt;&lt;br /&gt;
*: Longitude at right edge of map, in decimal degrees&lt;br /&gt;
}}{{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|x}}{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|y}}|&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;'''x''' = {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|x}}&amp;lt;/code&amp;gt;&lt;br /&gt;
*: An expression to calculate a location on the map via its [[longitude]]; evaluates as 0 along the left edge and 100 along the right edge&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;'''y''' = {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|y}}&amp;lt;/code&amp;gt;&lt;br /&gt;
*: An expression to calculate a location on the map via its [[latitude]]; evaluates as 0 along the top edge and 100 along the bottom edge&lt;br /&gt;
}}{{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|mark}}|&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;'''mark''' = [[:File:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|mark}}|{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|mark}}]] ([[File:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|mark}}|{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|mark}}|8px]])&amp;lt;/code&amp;gt;&lt;br /&gt;
*: The default mark image to display with this map. This can be overridden by the &amp;lt;code&amp;gt;mark&amp;lt;/code&amp;gt; parameter in [[Template:Location map]], which would otherwise default to [[:File:Red pog.svg|Red pog.svg]] ([[File:Red pog.svg|8px]]).&lt;br /&gt;
}}{{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|marksize}}|&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;'''marksize''' = {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|marksize}}&amp;lt;/code&amp;gt;&lt;br /&gt;
*: The default mark size (in [[pixel]]s) for the mark image displayed with this map (should not include &amp;lt;code&amp;gt;px&amp;lt;/code&amp;gt;, for example &amp;lt;code&amp;gt;marksize={{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|marksize}}&amp;lt;/code&amp;gt;, not &amp;lt;code&amp;gt;marksize={{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|marksize}}px&amp;lt;/code&amp;gt;). This can be overridden by the &amp;lt;code&amp;gt;marksize&amp;lt;/code&amp;gt; parameter in [[Template:Location map]], which would otherwise default to 8.&lt;br /&gt;
}}&lt;br /&gt;
{{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image1}}{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image2}}|&lt;br /&gt;
== Alternative map ==&lt;br /&gt;
The {{tl|Location map}}, {{tl|Location map many}}, and {{tl|Location map+}} templates have parameters to specify an alternative map image. {{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image1}}&lt;br /&gt;
| The map displayed as '''image1''' can be used with the ''relief'' or ''AlternativeMap'' parameters.&lt;br /&gt;
}} {{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image2}}&lt;br /&gt;
| The map{{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image3}}|s}} displayed as '''image2''' {{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image3}}|/ '''image3'''}} {{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image4}}|/ '''image4'''}} can be used with the ''AlternativeMap'' parameter.&lt;br /&gt;
}} Examples may be found below or in the following:&lt;br /&gt;
{{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|image1}}|&lt;br /&gt;
* [[Template:Location map#Relief parameter]]&lt;br /&gt;
* [[Template:Location map+/relief]]&lt;br /&gt;
}}&lt;br /&gt;
* [[Template:Location map#AlternativeMap parameter]]&lt;br /&gt;
* [[Template:Location map+/AlternativeMap]]&lt;br /&gt;
}}&lt;br /&gt;
{{#if:{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|top}}{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|bottom}}{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|left}}{{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|right}}|&lt;br /&gt;
== Precision ==&lt;br /&gt;
{{#if:{{{precision|}}}|{{{precision}}}|&lt;br /&gt;
[[Longitude]]: from West to East this map definition covers {{#expr: ( {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|right}} - {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|left}} + 360 ) fmod 360 round 4}} degrees.&lt;br /&gt;
* At an image width of 200 [[pixel]]s, that is {{#expr: ( {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|right}} - {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|left}} + 360 ) fmod 360 / 200 round 4}} degrees per pixel.&lt;br /&gt;
* At an image width of 1000 pixels, that is {{#expr: ( {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|right}} - {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|left}} + 360 ) fmod 360 / 1000 round 4}} degrees per pixel.&lt;br /&gt;
&lt;br /&gt;
[[Latitude]]: from North to South this map definition covers {{#expr: {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|top}} - {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|bottom}} round 4}} degrees.&lt;br /&gt;
* At an image height of 200 pixels, that is {{#expr: ( {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|top}} - {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|bottom}} ) / 200 round 4}} degrees per pixel.&lt;br /&gt;
* At an image height of 1000 pixels, that is {{#expr: ( {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|top}} - {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|bottom}} ) / 1000 round 4}} degrees per pixel.&lt;br /&gt;
}}}}&lt;br /&gt;
{{#if:{{{examples|}}}|&lt;br /&gt;
== Examples using location map templates ==&lt;br /&gt;
&lt;br /&gt;
{{{examples}}}&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
{{{see also|}}}&lt;br /&gt;
&lt;br /&gt;
=== Location map templates ===&lt;br /&gt;
* [[Template:Location map]], to display one mark and label using latitude and longitude&lt;br /&gt;
* [[Template:Location map many]], to display up to nine marks and labels&lt;br /&gt;
* [[Template:Location map+]], to display an unlimited number of marks and labels&lt;br /&gt;
&lt;br /&gt;
=== Creating new map definitions ===&lt;br /&gt;
* [[Template:Location map/Creating a new map definition]]&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{Documentation}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Module:Location map/data/Earth&gt;Steel1943</name></author>
	</entry>
</feed>