Template:CartoC: Difference between revisions

From MC Public Wiki
Jump to navigation Jump to search
No edit summary
(removed link to the current folder in http://wiki.nerd.nu/carto/creative/current/ as its not actually 'current' its from 2013 :-()
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[http://{{#ifeq:{{{r}}}|20
<includeonly>[http://{{#switch:{{{r}}}
  |buttscicl.es/minecraft/cartographs/creativeRev20Carto/
|#default=wiki.nerd.nu/carto/creative/c{{#ifexpr:{{{r|10}}}<10|0}}{{{r}}}/carto/index.html
  |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}}}}}}]<noinclude>
 
== Usage ==
Link coordinates to a cartograph for a specific revision of the [[Creative]] server. Example: <code><nowiki>{{CartoC|r=7|x=-250|z=-350}}</nowiki></code> becomes {{CartoC|r=7|x=-250|z=-350}}
 
Required parameters:
* '''r''' - map revision; see [[minecraft-overviewer]] for a list of revs with cartos
* '''x'''
* '''z'''
 
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
 
[[Category:Templates]]
<!-- note: please make sure there is NOT a trailing newline character after the noinclude, else page formatting will get messed up -->
</noinclude>

Latest revision as of 02:19, 27 February 2016

Documentation icon Template documentation[view] [edit] [history] [purge]

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}}-250, -350
  • {{CartoC|r=7|x=0|z=0|zoom=-6|night=1|text=rev 7 by night}}rev 7 by night