Template:CartoC: Difference between revisions
Jump to navigation
Jump to search
(updating CartoC Template to reflect current revision) |
(template now reflect new revision as 23) |
||
Line 1: | Line 1: | ||
<includeonly>[http://{{#switch:{{{ | <includeonly>[http://{{#switch:{{{ | ||
| | |23=redditpublic.com/carto/creative/current/index.html | ||
|22=redditpublic.com/carto/creative/c22/ | |||
|21=buttscicl.es/minecraft/cartographs/creativeRev21Carto/ | |21=buttscicl.es/minecraft/cartographs/creativeRev21Carto/ | ||
|20=buttscicl.es/minecraft/cartographs/creativeRev20Carto/ | |20=buttscicl.es/minecraft/cartographs/creativeRev20Carto/ | ||
|#default=redditpublic.com/carto/creative/c{{#ifexpr:{{{r|10}}}<10|0}}{{{r}}}/carto/index.html | |#default=redditpublic.com/carto/creative/c{{#ifexpr:{{{r|10}}}<10|0}}{{{r}}}/carto/index.html | ||
}}#/{{{x}}}/{{{y|64}}}/{{{z}}}/{{{zoom|-2}}}/0/{{{night|0}}} {{{text|{{{x}}}, {{{z}}}}}}]</includeonly><noinclude>{{documentation}}<!-- note: please make sure there is NOT a trailing newline after the noinclude, else page formatting will get messed up --></noinclude> | }}#/{{{x}}}/{{{y|64}}}/{{{z}}}/{{{zoom|-2}}}/0/{{{night|0}}} {{{text|{{{x}}}, {{{z}}}}}}]</includeonly><noinclude>{{documentation}}<!-- note: please make sure there is NOT a trailing newline after the noinclude, else page formatting will get messed up --></noinclude> |
Revision as of 16:10, 2 November 2012
This template links coordinates to a cartograph for a specific revision of the Creative server.
Required Parameters
- r
- map revision; see minecraft-overviewer for a list of revs with cartos
- x
- east/west coordinate. -x is west, +x is east
- z
- north/south coordinate. -z is north, +z is south
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
Examples
{{CartoC|r=7|x=-250|z=-350}}
→ [http://{{#switch:{{{
|23=redditpublic.com/carto/creative/current/index.html |22=redditpublic.com/carto/creative/c22/ |21=buttscicl.es/minecraft/cartographs/creativeRev21Carto/ |20=buttscicl.es/minecraft/cartographs/creativeRev20Carto/ |#default=redditpublic.com/carto/creative/c07/carto/index.html }}#/-250/64/-350/-2/0/0 -250, -350]
{{CartoC|r=7|x=0|z=0|zoom=-6|night=1|text=rev 7 by night}}
→ [http://{{#switch:{{{
|23=redditpublic.com/carto/creative/current/index.html |22=redditpublic.com/carto/creative/c22/ |21=buttscicl.es/minecraft/cartographs/creativeRev21Carto/ |20=buttscicl.es/minecraft/cartographs/creativeRev20Carto/ |#default=redditpublic.com/carto/creative/c07/carto/index.html }}#/0/64/0/-6/0/1 rev 7 by night]
The above documentation is transcluded from Template:CartoC/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |