Template:Convert/doc/range separator list: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>DePiep
No edit summary
meta>DePiep
No edit summary
Line 8: Line 8:
|-
|-
|<code>{{!xt|1=&#124;disp=2}}</code> || {{hidden sort key|02}} || '''Deprecated'''. Use {{xt|1=&#x7c;disp=output only}} ||
|<code>{{!xt|1=&#124;disp=2}}</code> || {{hidden sort key|02}} || '''Deprecated'''. Use {{xt|1=&#x7c;disp=output only}} ||
 
&nbsp;<


{| class="wikitable sortable collapsible {{{state|uncollapsed}}}" style="width:100%;"
{| class="wikitable sortable collapsible {{{state|uncollapsed}}}" style="width:100%;"
Line 64: Line 64:
|-
|-
| <code>x</code>
| <code>x</code>
| <code><nowiki>{{convert|3|x|6|ft}}</nowiki></code> || {{convert|3|x|6|ft}} || uses "<code> ×&amp;nbsp;</code>" (starts with a space)
| <code><nowiki>{{convert|3|x|6|ft}}</nowiki></code> || {{convert|3|x|6|ft}} ||  
uses "<code> ×&amp;nbsp;</code>" (starts with a space)
|-
|-
| <code>xx</code>
| <code>xx</code>

Revision as of 18:47, 5 November 2014

|- ! style="border-right:none" | Option ! =.. ! Description ! Note |- ||abbr=in || Template:Hidden sort key || Use symbol for first (left-hand side) unit || Symbol |- ||disp=2 || Template:Hidden sort key || Deprecated. Use |disp=output only ||  <

Separator Convert Output Notes
- {{convert|3|-|6|ft}} 3–6 feet (0.91–1.83 m) input is a hyphen; output uses en dashes
 (en dash) {{convert|3|–|6|ft}} 3–6 feet (0.91–1.83 m)
and {{convert|3|and|6|ft}} 3 and 6 feet (0.91 and 1.83 m)
and(-) {{convert|3|and(-)|6|ft}} 3 and 6 feet (0.91–1.83 m)
or {{convert|3|or|6|ft}} 3 or 6 feet (0.91 or 1.83 m)
to {{convert|3|to|6|ft}} 3 to 6 feet (0.91 to 1.83 m)
to(-) {{convert|3|to(-)|6|ft}} 3 to 6 feet (0.91–1.83 m)
to about {{convert|3|to about|6|ft}} 3 to about 6 feet (0.91 to about 1.83 m)
+/- {{convert|3|+/-|6|ft}} 3 ± 6 feet (0.91 ± 1.83 m) uses "&nbsp;±&nbsp;"
± {{convert|3|±|6|ft}} 3 ± 6 feet (0.91 ± 1.83 m) input can also use ±
+ {{convert|3|+|6|ft}} 3 + 6 feet (0.91 + 1.83 m)
, {{convert|3|,|6|ft}} 3, 6 feet (0.91, 1.83 m) uses ",&nbsp;"
, and {{convert|3|, and|6|ft}} 3, and 6 feet (0.91, and 1.83 m)
, or {{convert|3|, or|6|ft}} 3, or 6 feet (0.91, or 1.83 m)
by {{convert|3|by|6|ft}} 3 by 6 feet (0.91 by 1.83 m)
x {{convert|3|x|6|ft}} 3 by 6 feet (0.91 m × 1.83 m)

uses " ×&nbsp;" (starts with a space)

xx {{convert|3|xx|6|ft}} 3 × 6 feet (0.91 × 1.83 m) uses "&nbsp;×&nbsp;"

Deprecated. Use |x| instead.

* {{convert|3|*|6||ft}} 3×6 feet (0.91×1.83 m) uses "×"

Deprecated. Use |x| instead.

later more

The following ranges provide different output when units are abbreviated.

Convert Output
{{convert|3|and(-)|6|ft|abbr=on}} 3 and 6 ft (0.91–1.83 m)
{{convert|3|to(-)|6|ft|abbr=on}} 3 to 6 ft (0.91–1.83 m)
{{convert|3|x|6|ft|abbr=on}} 3 ft × 6 ft (0.91 m × 1.83 m)

Ranges can use more than two values.

Convert Output
{{convert|3|x|4|x|24|in}} 3 by 4 by 24 inches (76 mm × 102 mm × 610 mm)
{{convert|3|x|4|to|6+1/2|x|8+3/4|in}} 3 by 4 to 6+12 by 8+34 inches (76 mm × 102 mm to 165 mm × 222 mm)

Ranges can be specified in the first parameter.

Convert Output
{{convert|3.2-7.5|ha}} 3.2–7.5 hectares (7.9–18.5 acres)
{{convert|3x4x24|in}} 3 by 4 by 24 inches (76 mm × 102 mm × 610 mm)