Difference between revisions of "Module:Location map/data/Caucasus mountains/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Frietjes
m (Frietjes moved page Template:Location map Caucasus mountains to Module:Location map/data/Caucasus mountains/doc: preserve attribution history after merge with module)
blackwiki>Frietjes
Line 1: Line 1:
{{#switch:{{{1}}}
+
<!-- Place categories where indicated at the bottom of this page; interwikis at Wikidata -->
| name  = Caucasus mountains
+
{{Module:Location map/data/doc
| x    = sin({{{3}}}/92.433-0.4848)*(1292.56-12.1988*{{{2}}})+46.08
+
| see also =  
| y    = cos({{{3}}}/92.433-0.4848)*(1662.65-15.6916*{{{2}}})-960.13
+
* [[Module:Location map/data/Asia]]
| image = Caucasus topo map-blank.svg
+
 
}}<noinclude>{{Location map/Info}}
+
}}<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
[[Category:Maps of Caucasus|{{PAGENAME}}]]
+
<!-- Categories below this line; interwikis at Wikidata -->
 +
[[Category:Maps of Caucasus]]
 
[[Category:Location map templates|Caucasus mountains]]
 
[[Category:Location map templates|Caucasus mountains]]
 
+
}}</includeonly>
</noinclude>
 

Revision as of 15:02, 7 April 2018


Location map of Caucasus mountains
name Caucasus mountains
x sin($2/92.433-0.4848)*(1292.56-12.1988*$1)+46.08
y cos($2/92.433-0.4848)*(1662.65-15.6916*$1)-960.13
image Caucasus topo map-blank.svg
Caucasus topo map-blank.svg


Module:Location map/data/Caucasus mountains is a location map definition used to overlay markers and labels on an equirectangular projection map of Caucasus mountains. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.

Usage

These definitions are used by the following templates when invoked with parameter "Caucasus mountains":

Map definition

  • name = Caucasus mountains
    Name used in the default map caption
  • x = sin($2/92.433-0.4848)*(1292.56-12.1988*$1)+46.08
    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
  • y = cos($2/92.433-0.4848)*(1662.65-15.6916*$1)-960.13
    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



See also

Location map templates

Creating new map definitions