Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:Coords"

From Paragon Wiki Archive
Jump to: navigation, search
(updating to use {{nobr}}. also trying to add support for x=|y=|z=; also updating documentation some)
(+doc)
 
Line 1: Line 1:
 
{{nobr|({{{x|{{{1}}}}}}, {{{y|{{{2}}}}}}, {{{z|{{{3}}}}}})}}<noinclude>
 
{{nobr|({{{x|{{{1}}}}}}, {{{y|{{{2}}}}}}, {{{z|{{{3}}}}}})}}<noinclude>
==Overview==
+
{{documentation}}</noinclude>
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==
+
;<nowiki>{{coords|10.0|20.0|30.0}}</nowiki>
+
:{{coords|10.0|20.0|30.0}}
+
 
+
;<nowiki>{{coords|x=10.0|y=20.0|z=30.0}}</nowiki>
+
:{{coords|x=10.0|y=20.0|z=30.0}}
+
 
+
[[Category:Standardized Text Templates]]</noinclude>
+

Latest revision as of 17:36, 11 December 2008

({{{1}}}, {{{2}}}, {{{3}}})

[edit] [purge] Documentation

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)
{{coords|x=10.0|y=20.0|z=30.0}}
(10.0, 20.0, 30.0)

See also