Template:Coordinates: Difference between revisions
Jump to navigation
Jump to search
>Nicosecci No edit summary |
nicosecci#0 (talk | contribs) mNo edit summary |
||
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[File:Wiki-wordmark.png|20px]] [https://earthmc.net/map/?worldname=earth&mapname=flat&zoom=6&x={{{x}}}&y=64&z={{{z}}} | <includeonly> | ||
[[File:Wiki-wordmark.png|20px|link=https://earthmc.net/map/{{#if:{{{server|}}}|{{{server}}}|nova}}/?worldname=earth&mapname=flat&zoom=6&x={{{x}}}&y=64&z={{{z}}} ]] [https://earthmc.net/map/{{#if:{{{server|}}}|{{{server}}}|nova}}/?worldname=earth&mapname=flat&zoom=6&x={{{x}}}&y=64&z={{{z}}} {{{x}}}, {{{z}}}]</includeonly> | |||
<noinclude> | |||
This template can be used to create links to specific locations on the server dynmap. | |||
== Usage == | |||
Template usage: | |||
<nowiki>{{</nowiki>Coordinates|server=''serverName''|x=''XCoords''|z=''ZCoords''}} | |||
Example: | |||
<nowiki>{{</nowiki>Coordinates|server=aurora|x=4469|z=-10881}} | |||
which gives {{Coordinates|server=aurora|x=4469|z=-10881}} | |||
=== Backward compatibility === | |||
To make sure that old usage of the template does not break, if the ''server'' field is left empty, the link will direct to Nova server map. | |||
Example: | |||
<nowiki>{{</nowiki>Coordinates|x=4099|z=-12418}} | |||
which gives {{Coordinates|x=4099|z=-12418}} | |||
</noinclude> |
Latest revision as of 21:45, 23 March 2023
This template can be used to create links to specific locations on the server dynmap.
Usage
Template usage:
{{Coordinates|server=serverName|x=XCoords|z=ZCoords}}
Example:
{{Coordinates|server=aurora|x=4469|z=-10881}}
which gives 4469, -10881
Backward compatibility
To make sure that old usage of the template does not break, if the server field is left empty, the link will direct to Nova server map. Example:
{{Coordinates|x=4099|z=-12418}}
which gives 4099, -12418