Template:CartoP: Difference between revisions

From MC Public Wiki
Jump to navigation Jump to search
No edit summary
m (updated rev number)
 
(30 intermediate revisions by 7 users not shown)
Line 1: Line 1:
[http://{{#ifeq:{{{r}}}|7
<includeonly>[http://{{#switch:{{{r}}}
  |buttscicl.es/minecraft/cartographs/pveRev7Carto/
|25=nerd.nu/maps/pve/index.html<!-- this is the only line that needs to change when a new revision happens -->
  |redditpublic.com/carto/pve/p0{{{r}}}/carto/
|#default=redditpublic.com/carto/pve/p{{#ifexpr:{{{r|10}}}<10|0}}{{{r}}}/carto/index.html
}}#/{{{x}}}/{{{y|64}}}/{{{z}}}/{{{zoom|-2}}}/0/{{{night|0}}} {{{x}}}, {{{z}}}]<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>
 
== Usage ==
Link coordinates to a cartograph for a specific revision of the [[PvE]] server. Example: {{CartoP|r=6|x=1300|z=-550}}
 
Required parameters:
* '''r''' - map revision; see [[minecraft-overviewer]] for a list of revs with cartos
* '''x'''
* '''z'''
 
Optional parameters:
* '''y'''
* '''zoom''' - valid values: min, -9, -8, -7, -6, -5, -4, -3, -2, -1, max
* '''night''' - 0 for day, 1 for night
 
[[Category:Templates]]</noinclude>

Latest revision as of 17:40, 28 March 2020

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

This template links coordinates to a cartograph for a specific revision of the PvE 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

  • {{CartoP|r=6|x=1500|z=0}}1500, 0
  • {{CartoP|r=5|x=0|z=0|zoom=-6|night=1|text=rev 5 by night}}rev 5 by night