As part of the Unified Community Platform project, your wiki will be migrated to the new platform in the next few weeks. Read more here.

Template:Location

From Wynncraft Wiki
Jump to: navigation, search
Template-info.png Documentation

Description[edit source]

A location and co-ordinate template, for quickly and easily placing Wynncraft co-ordinates onto a page in a style that matches the rest of the site.

Usage[edit source]

{{Location
| locationLabel =
| location =
| x =
| y =
| z =
| mapZoom =
| mapLabel =
}}


Argument Description Default Value
locationLabel The label used for the location header (Used for translation purposes) Location
location The location name to be displayed
x The X coordinate to be displayed
y The Y coordinate to be displayed
z The Z coordinate to be displayed
mapZoom displays a link to the Wynncraft online map with the specified zoom value
  • Possible Values: max, 1, 2, 3, 4, 5.
  • Requires x and z values to also be set for the map link to work.
mapLabel The label used for the map hyperlink (Used for translation purposes) Wynncraft Map


Examples[edit source]

{{Location
|location=Almuj
}}

Produces:

 Location   Almuj   X     Y     Z     Wynncraft Map 
{{Location
|x=978
|y=70
|z=-1927
}}

Produces:

 X   978  Y   70  Z   -1927  Wynncraft Map 
{{Location
|x=978
|y=70
|z=-1927
|mapZoom=max
}}

Produces:

 X   978  Y   70  Z   -1927  Wynncraft Map 
{{Location
|location=Almuj
|x=978
|z=-1927
}}

Produces:

 Location   Almuj   X   978  Y     Z   -1927  Wynncraft Map 
{{Location
|location=Almuj
|x=978
|z=-1927
|mapZoom=2
}}

Produces:

 Location   Almuj   X   978  Y     Z   -1927  Wynncraft Map 
{{Location|
location=Almuj
|locationlabel=Emplacement
|x=978
|z=-1927
|mapZoom=2
|mapLabel=Wynncraft Carte
}}

Produces:

 Emplacement   Almuj   X   978  Y     Z   -1927  Wynncraft Carte