Difference between revisions of "Template:Coordinates"

From Pandorabox
Jump to navigation Jump to search
Line 1: Line 1:
 
=== Description ===
 
=== Description ===
  
I created this template and moved it to "Earth coordinates". I want it to do two things: be both human-readable and have a map link. - [[User:6r1d]]
+
Use this template to show inline coordinates on the map. I.e. embed them on some sentence with a distinct style, or, alternatively, embed in some other template.
 
 
Updated to handle all layers dynamically based on y coordinate. Not Earth specific anymore and should be used for all coordinates.
 
  
 
=== Example ===
 
=== Example ===
Line 19: Line 17:
  
 
<pre>{{Coordinates |zoom=8 |x=123 |y=5234 |z=345}}</pre>
 
<pre>{{Coordinates |zoom=8 |x=123 |y=5234 |z=345}}</pre>
 +
 +
== History ==
 +
 +
I created this template and moved it to "Earth coordinates". I want it to do two things: be both human-readable and have a map link. - [[User:6r1d]]
 +
 +
Updated to handle all layers dynamically based on y coordinate. Not Earth specific anymore and should be used for all coordinates.
  
 
{{Coordinates |zoom=8 |x=123 |y=5234 |z=345}}
 
{{Coordinates |zoom=8 |x=123 |y=5234 |z=345}}

Revision as of 19:49, 16 January 2021

Description

Use this template to show inline coordinates on the map. I.e. embed them on some sentence with a distinct style, or, alternatively, embed in some other template.

Example

Use following code:

{{Coordinates |x=123 |y=234 |z=345}}

To get following link:

X: 123 Y: 234 Z: 345


You can also set zoom level to something other than default 12:

{{Coordinates |zoom=8 |x=123 |y=5234 |z=345}}

History

I created this template and moved it to "Earth coordinates". I want it to do two things: be both human-readable and have a map link. - User:6r1d

Updated to handle all layers dynamically based on y coordinate. Not Earth specific anymore and should be used for all coordinates.

X: 123 Y: 5234 Z: 345