Template:Coords: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
(Make sure a space is added between location and coords.) |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#if: {{{3|}}} | [[{{{3}}}]] }}<span class="bg3wiki-coordinates">X: {{{1}}} Y: {{{2}}}</span></onlyinclude></includeonly><noinclude>__NOTOC__ | <includeonly><onlyinclude>{{#if: {{{3|}}} | [[{{{3}}}]] <nowiki></nowiki> }}<span class="bg3wiki-coordinates">X: {{{1}}} Y: {{{2}}}</span></onlyinclude></includeonly><noinclude>__NOTOC__ | ||
[[File:Minimap Example.png|thumb|An example of a minimap. The coordinates {{coords|-456|-22}} can be seen near the bottom.]] | [[File:Minimap Example.png|thumb|An example of a minimap. The coordinates {{coords|-456|-22}} can be seen near the bottom.]] | ||
Latest revision as of 16:46, 19 November 2024
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.
Examples
Markup | Renders as |
---|---|
{{Coords|25|-10}} | X: 25 Y: -10 |
{{Coords|25|-10|Ravaged Beach}} | Ravaged Beach X: 25 Y: -10 |
Template data
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.
| Number | required |
2 | 2 | A Y coordinate, as seen on the minimap.
| Number | required |
3 | 3 | The name of a Location
| Page name | optional |