Difference between revisions of "Template:Coordinates"
Jump to navigation
Jump to search
(Blanked the page) Tag: Blanking |
(Select map layer and add zoom parameter) |
||
| Line 1: | Line 1: | ||
| + | === 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}} | ||
| + | |||
| + | [[Category:Template]] | ||
| + | |||
| + | <includeonly><onlyinclude><code>[https://pandorabox.io/map/#!/map/{{#ifexpr:{{{y}}} < 5000 | 0 | {{#ifexpr:{{{y}}} < 6000 | 1 | {{#ifexpr:{{{y}}} < 11000 | 2 | 3 }} }} }}/{{{zoom|12}}}/{{{x}}}/{{{z}}} '''X''': {{{x}}} '''Y''': {{{y}}} '''Z''': {{{z}}}]</code></onlyinclude></includeonly> | ||
Revision as of 19:17, 16 January 2021
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: