Template:Coords: Difference between revisions
Jump to navigation
Jump to search
m (Close thine attributes) |
(Coords template now optionally accepts a location/map as a 3rd parameter.) |
||
Line 1: | Line 1: | ||
<includeonly><span class="bg3wiki-coordinates"> | <includeonly>{{#if: {{{3|}}} |[[{{{3}}}]] }}<span class="bg3wiki-coordinates">X: {{{1}}} Y: {{{2}}}</span></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.]] | ||
The {{InfoBlob|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. | |||
Result: {{coords|25|-10}} | <h2>Usage Example 1: Basic Coordinates</h2> | ||
</noinclude> | <pre><nowiki>{{Coords|25|-10}}</nowiki></pre> | ||
Result:<br>{{coords|25|-10}} | |||
<h2>Usage Example 2: Coordinates & Location</h2> | |||
<pre><nowiki>{{Coords|25|-10|Ravaged Beach}}</nowiki></pre> | |||
Result:<br>{{coords|25|-10|Ravaged Beach}}</noinclude> |
Revision as of 00:18, 30 August 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