Template:Coords/doc

From Homecoming Wiki
< Template:Coords
Revision as of 05:48, 25 May 2022 by Kai Moon (historical) (talk) (multiple locations test)
Jump to navigation Jump to search
This is a documentation subpage for Template:Coords (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Usage

This template uses {{nobr}} to make sure that no line breaks occur in the middle of a coordinates string. It also puts the numbers in parentheses and separates them with commas.

If no numbers are provided, the data is taken from the "Has coordinates" properties of the same page, or the page given as the "page" parameter.

Examples

{{coords|10.0|20.0|30.0}}
(10.0, 20.0, 30.0)[Copy]
{{coords|x=10.0|y=20.0|z=30.0}}
(10.0, 20.0, 30.0)[Copy]
{{coords}}
output based on "Has coordinates" properties defined on the page
{{coords|page=Top Dog Badge}}
(131.0, 319.7, -319.5)[Copy]
{{coords|page=Rail Rider Badge|n=3}}
(2226.0, -213.1, 1111.0)[Copy]