Description[]
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. It also provides a link to the official Wynncraft map at the provided coordinates. The map link will show if the following rules are met:
x
is between -2400 and 1600z
is between 0 and -5900mapZoom
is not 0
Usage[]
{{Location
| locationLabel =
| location =
| x =
| y =
| z =
| mapZoom =
| mapRadius =
| 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
|
Specifies the map link zoom level
|
2 |
mapRadius
|
The radius of the hightlight provided when the Wynncraft Map link is clicked. | 4 |
mapLabel
|
The label used for the map hyperlink (Used for translation purposes) | Wynncraft Map |
Examples[]
{{Location |location=Almuj }}
Produces:
Location | Almuj |
{{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 |mapRadius=30 }}
Produces:
X | 978 | Y | 70 | Z | -1927 | Wynncraft Map |
{{Location |location=Almuj |x=978 |z=-1927 }}
Produces:
Location | Almuj | X | 978 | Z | -1927 | Wynncraft Map |
{{Location |location=Almuj |x=978 |z=-1927 |mapZoom=0 }}
Produces:
Location | Almuj | X | 978 | Z | -1927 |
{{Location |location=Almuj |locationLabel=Emplacement |x=978 |z=-1927 |mapZoom=2 |mapLabel=Wynncraft Carte }}
Produces:
Emplacement | Almuj | X | 978 | Z | -1927 | Wynncraft Carte |
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.