Template:Coords/doc: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Zombie Man (historical)
m (typo again)
(badge template too (exploration etc))
Line 3: Line 3:
==Usage==
==Usage==
This template uses {{tl|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.
This template uses {{tl|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.
==Examples==
==Examples==
;<nowiki>{{coords|10.0|20.0|30.0}}</nowiki>
;<nowiki>{{coords|10.0|20.0|30.0}}</nowiki>
:{{coords|10.0|20.0|30.0}}
:{{coords|10.0|20.0|30.0}}
;<nowiki>{{coords|x=10.0|y=20.0|z=30.0}}</nowiki>
;<nowiki>{{coords|x=10.0|y=20.0|z=30.0}}</nowiki>
:{{coords|x=10.0|y=20.0|z=30.0}}
:{{coords|x=10.0|y=20.0|z=30.0}}
==See also==


<includeonly><!--
<includeonly><!--
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
[[Category:Contact Templates|{{PAGENAME}}]][[Category: Mission Templates|{{PAGENAME}}]]
[[Category:Badge Templates]]
[[Category:Contact Templates]]
[[Category:Mission Templates]]
</includeonly>
</includeonly>

Revision as of 03:07, 17 May 2022

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.

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]