12,658
editsMake sure a space is added between location and coords.
m (Move category inside noinclude) |
(Make sure a space is added between location and coords.) |
||
(8 intermediate revisions by 4 users not shown) | |||
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.]] | ||
Line 6: | Line 6: | ||
This template accepts three parameters. In order, the X coordinate, the Y coordinate, and (optionally) the map/location. | This template accepts three parameters. In order, the X coordinate, the Y coordinate, and (optionally) the map/location. | ||
< | == Examples == | ||
{{Template demo | |||
| <nowiki>{{Coords|25|-10}}</nowiki> | |||
| <nowiki>{{Coords|25|-10|Ravaged Beach}}</nowiki> | |||
}} | |||
== Template data == | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"description": "An X coordinate, as seen on the Minimap.", | |||
"example": "-312", | |||
[[Category:Templates]]</noinclude> | "type": "number", | ||
"required": true | |||
}, | |||
"2": { | |||
"description": "A Y coordinate, as seen on the minimap.", | |||
"example": "750", | |||
"type": "number", | |||
"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> | |||
[[Category:Templates]] | |||
</noinclude> |