Template:Coords: Difference between revisions
Jump to navigation
Jump to search
Ravaged Beach X: 25 Y: -10
m (Move category inside noinclude) |
(add templatedata) |
||
Line 16: | Line 16: | ||
Result:<br>{{coords|25|-10|Ravaged Beach}} | Result:<br>{{coords|25|-10|Ravaged Beach}} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]<templatedata> | ||
{ | |||
"params": { | |||
"1": { | |||
"description": "An X coordinate, as seen on the Minimap.", | |||
"example": "-312", | |||
"required": true | |||
}, | |||
"2": { | |||
"description": "A Y coordinate, as seen on the minimap.", | |||
"example": "750", | |||
"required": true | |||
}, | |||
"3": { | |||
"description": "The name of a Location", | |||
"example": "Ravaged Beach", | |||
"type": "wiki-page-name" | |||
} | |||
}, | |||
"description": "Formats a pair of X, Y coords and an optional Location.", | |||
"paramOrder": [ | |||
"1", | |||
"2", | |||
"3" | |||
], | |||
"format": "inline" | |||
} | |||
</templatedata></noinclude> |
Revision as of 02:28, 8 September 2023
The Coords template is for generating a preformatted coordinates block for a character, item, point of interest, or anything else noteworthy. Coordinates can be found in-game at the bottom of the minimap (see example).
This template accepts three parameters. In order, the X coordinate, the Y coordinate, and (optionally) the map/location.
Usage Example 1: Basic Coordinates
{{Coords|25|-10}}
Result:
X: 25 Y: -10
Usage Example 2: Coordinates & Location
{{Coords|25|-10|Ravaged Beach}}Result:
Ravaged Beach X: 25 Y: -10
Formats a pair of X, Y coords and an optional Location.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | An X coordinate, as seen on the Minimap.
| Unknown | required |
2 | 2 | A Y coordinate, as seen on the minimap.
| Unknown | required |
3 | 3 | The name of a Location
| Page name | optional |