Template:CartoS: Difference between revisions

From MC Public Wiki
Jump to navigation Jump to search
(Created page with "[http://redditpublic.com/carto/survival/s{{#ifexpr:{{{r|10}}}<10|0}}{{{r}}}/carto/index.html#/{{{x}}}/{{{y|64}}}/{{{z}}}/{{{zoom|-2}}}/0/{{{night|0}}} {{{x}}}, {{{z}}}]<noincl...")
 
No edit summary
Line 1: Line 1:
[http://redditpublic.com/carto/survival/s{{#ifexpr:{{{r|10}}}<10|0}}{{{r}}}/carto/index.html#/{{{x}}}/{{{y|64}}}/{{{z}}}/{{{zoom|-2}}}/0/{{{night|0}}} {{{x}}}, {{{z}}}]<noinclude>
[http://redditpublic.com/carto/survival/s{{#ifexpr:{{{r|10}}}<10|0}}{{{r}}}/carto/index.html#/{{{x}}}/{{{y|64}}}/{{{z}}}/{{{zoom|-2}}}/0/{{{night|0}}} {{{text|{{{x}}}, {{{z}}}}}}]<noinclude>


== Usage ==
== Usage ==
Line 10: Line 10:


Optional parameters:
Optional parameters:
* '''text''' - defaults to "x, z" (with the actual coordinates)
* '''y''' - defaults to 64
* '''y''' - defaults to 64
* '''zoom''' - valid values: min, -9, -8, -7, -6, -5, -4, -3, -2, -1, max. defaults to -2
* '''zoom''' - valid values: min, -9, -8, -7, -6, -5, -4, -3, -2, -1, max. defaults to -2

Revision as of 13:27, 2 April 2012

{{{x}}}, {{{z}}}

Usage

Link coordinates to a cartograph for a specific revision of the Survival server. Example: {{CartoS|r=12|x=25|z=-525}} becomes 25, -525

Required parameters:

Optional parameters:

  • text - defaults to "x, z" (with the actual coordinates)
  • y - defaults to 64
  • zoom - valid values: min, -9, -8, -7, -6, -5, -4, -3, -2, -1, max. defaults to -2
  • night - 0 for day, 1 for night. defaults to 0