Difference between revisions of "Template:Earth coordinates"

From Pandorabox
Jump to navigation Jump to search
(Added includeonly/onlyinclude tags and example code)
Line 1: Line 1:
[https://pandorabox.io/map/#!/map/0/12/{{{x}}}/{{{z}}} '''X''': {{{x}}} '''Y''': {{{y}}} '''Z''': {{{z}}}]
+
=== 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]]
 +
 
 +
=== Example ===
 +
 
 +
Use following code:
 +
<pre>{{Earth_coordinates |x=123 |y=234 |z=345}}</pre>
 +
 
 +
To get following link:
 +
 
 +
{{Earth_coordinates |x=123 |y=234 |z=345}}
 +
 
 +
<includeonly><onlyinclude>[https://pandorabox.io/map/#!/map/0/12/{{{x}}}/{{{z}}} '''X''': {{{x}}} '''Y''': {{{y}}} '''Z''': {{{z}}}]</onlyinclude></includeonly>

Revision as of 16:19, 18 December 2020

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

Example

Use following code:

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

To get following link:

X: 123 Y: 234 Z: 345