Plantilla:Convert/doc/range separator list

De Viquidites
Range separators in {{convert}}
Separator Convert Result Notes
- {{convert|3|-|6|ft}} 3–6 peus (0,91–1,83 m) Input can be hyphen (-) or en dash (–), output uses en dashes
 –(en dash) {{convert|3|–|6|ft}} 3–6 peus (0,91–1,83 m)
and {{convert|3|and|6|ft}} 3 i 6 peus (0,91 i 1,83 m)
& {{convert|3|&|6|ft}} 3 i 6 peus (0,91 i 1,83 m) Same as and
and(-) {{convert|3|and(-)|6|ft}} 3 i 6 peus (0,91–1,83 m) |abbr=on alters the punctuation
and(-)|abbr=on {{convert|3|and(-)|6|ft|abbr=on}} 3 i 6 ft (0,91–1,83 m)
or {{convert|3|or|6|ft}} 3 o 6 peus (0,91 o 1,83 m)
to {{convert|3|to|6|ft}} 3 a 6 peus (0,91 a 1,83 m)
to(-) {{convert|3|to(-)|6|ft}} 3 a 6 peus (0,91–1,83 m) |abbr=on alters the punctuation
to(-)|abbr=on {{convert|3|to(-)|6|ft|abbr=on}} 3 a 6 ft (0,91–1,83 m)
to about {{convert|3|to about|6|ft}} 3 a aprox. 6 peus (0,91 a aprox. 1,83 m)
+/- {{convert|3|+/-|6|ft}} 3 ± 6 peus (0,91 ± 1,83 m)
± ± {{convert|3|±|6|ft}} 3 ± 6 peus (0,91 ± 1,83 m)
+ {{convert|3|+|6|ft}} 3 + 6 peus (0,91 + 1,83 m)
, {{convert|3|,|6|ft}} 3, 6 peus (0,91, 1,83 m)
, and {{convert|3|, and|6|ft}} 3, i 6 peus (0,91, i 1,83 m)
, or {{convert|3|, or|6|ft}} 3, o 6 peus (0,91, o 1,83 m)
by {{convert|3|by|6|ft}} 3 per 6 peus (0,91 per 1,83 m)
x {{convert|3|x|6|ft}} 3 per 6 peus (0,91 × 1,83 m) Scientific notation.
|abbr=on alters the punctuation
× × {{convert|3|×|6|ft}} 3 per 6 peus (0,91 × 1,83 m)
x|abbr=on {{convert|3|x|6|ft|abbr=on}} 3 × 6 ft (0,91 × 1,83 m)
xx |xx| is deprecated. Use |x| instead
* |*| is deprecated. Use |x| instead
to- |to-| is deprecated. Use |to(-)| instead
& |&| is deprecated. Use |and| instead
abbr=mos |abbr=mos is deprecated. Use |x| or |by| instead


[crea] Informació de la plantilla

Later more[modifica el codi]

The following ranges provide different output when units are abbreviated.

Convert Output
{{convert|3|and(-)|6|ft|abbr=on}} 3 i 6 ft (0,91–1,83 m)
{{convert|3|to(-)|6|ft|abbr=on}} 3 a 6 ft (0,91–1,83 m)
{{convert|3|x|6|ft|abbr=on}} 3 × 6 ft (0,91 × 1,83 m)

Ranges can use more than two values.

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

Ranges can be specified in the first parameter.

Convert Output
{{convert|3,2-7,5|ha}} 3,2–7,5 hectàrees (7,9–18,5 acres)
{{convert|3x4x24|in}} 3 per 4 per 24 polzades (76 × 102 × 610 mm)
From module
convert/text
range_words = { '+/-', 'to(-)', 'xx', 'x', '*', 'to', 'or', 'by', '–', '-' }

So: