ਫਰਮਾ:Convert/doc/range separator list

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਅਜ਼ਾਦ ਗਿਆਨਕੋਸ਼ ਤੋਂ
Jump to navigation Jump to search
Range separators in {{convert}}
Separator Convert Result Notes
- {{convert|3|-|6|ft}} 3–6 ਫ਼ੁੱਟ (0.91–1.83 ਮੀ) Input can be hyphen (-) or en dash (–), output uses en dash
ਫਰਮਾ:Hidden sort key – (en dash) {{convert|3|–|6|ft}} 3–6 ਫ਼ੁੱਟ (0.91–1.83 ਮੀ)
and {{convert|3|and|6|ft}} 3 and 6 ਫ਼ੁੱਟ (0.91 and 1.83 ਮੀ)
ਫਰਮਾ:Hidden sort key& {{convert|3|&|6|ft}} 3 &[convert: unknown unit] Same as and
and(-) {{convert|3|and(-)|6|ft}} 3 and 6 ਫ਼ੁੱਟ (0.91–1.83 ਮੀ) |abbr=on abbreviates the first unit
and(-)|abbr=on {{convert|3|and(-)|6|ft|abbr=on}} 3 and 6 ਫ਼ੁੱਟ (0.91–1.83 ਮੀ)
or {{convert|3|or|6|ft}} 3 or 6 ਫ਼ੁੱਟ (0.91 or 1.83 ਮੀ)
to {{convert|3|to|6|ft}} 3 to 6 ਫ਼ੁੱਟ (0.91 to 1.83 ਮੀ)
to(-) {{convert|3|to(-)|6|ft}} 3 to 6 ਫ਼ੁੱਟ (0.91–1.83 ਮੀ) |abbr=on abbreviates the first unit
to(-)|abbr=on {{convert|3|to(-)|6|ft|abbr=on}} 3 to 6 ਫ਼ੁੱਟ (0.91–1.83 ਮੀ)
to about {{convert|3|to about|6|ft}} 3 to about 6 ਫ਼ੁੱਟ (0.91 to about 1.83 ਮੀ)
+/- {{convert|3|+/-|6|ft}} 3 ± 6 ਫ਼ੁੱਟ (0.91 ± 1.83 ਮੀ)
ਫਰਮਾ:Hidden sort key± ± {{convert|3|±|6|ft}} 3 ± 6 ਫ਼ੁੱਟ (0.91 ± 1.83 ਮੀ)
+ {{convert|3|+|6|ft}} 3 + 6 ਫ਼ੁੱਟ (0.91 + 1.83 ਮੀ)
, {{convert|3|,|6|ft}} 3, 6 ਫ਼ੁੱਟ (0.91, 1.83 ਮੀ)
, and {{convert|3|, and|6|ft}} 3, and 6 ਫ਼ੁੱਟ (0.91, and 1.83 ਮੀ)
, or {{convert|3|, or|6|ft}} 3, or 6 ਫ਼ੁੱਟ (0.91, or 1.83 ਮੀ)
by {{convert|3|by|6|ft}} 3 by 6 ਫ਼ੁੱਟ (0.91 by 1.83 ਮੀ)
x {{convert|3|x|6|ft}} 3 by 6 ਫ਼ੁੱਟ (0.91 ਮੀ × 1.83 ਮੀ) Scientific notation.
|abbr=on abbreviates the first unit
× × {{convert|3|×|6|ft}} 3 by 6 ਫ਼ੁੱਟ (0.91 ਮੀ × 1.83 ਮੀ)
x|abbr=on {{convert|3|x|6|ft|abbr=on}} 3 ਫ਼ੁੱਟ × 6 ਫ਼ੁੱਟ (0.91 ਮੀ × 1.83 ਮੀ)
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
Template documentation[create]

Later more[ਸੋਧੋ]

The following ranges provide different output when units are abbreviated.

Convert Output
{{convert|3|and(-)|6|ft|abbr=on}} 3 and 6 ਫ਼ੁੱਟ (0.91–1.83 ਮੀ)
{{convert|3|to(-)|6|ft|abbr=on}} 3 to 6 ਫ਼ੁੱਟ (0.91–1.83 ਮੀ)
{{convert|3|x|6|ft|abbr=on}} 3 ਫ਼ੁੱਟ × 6 ਫ਼ੁੱਟ (0.91 ਮੀ × 1.83 ਮੀ)

Ranges can use more than two values.

Convert Output
{{convert|3|x|4|x|24|in}} 3 by 4 by 24 ਇੰਚ (76 mਮੀ × 102 mਮੀ × 610 mਮੀ)
{{convert|3|x|4|to|6+1/2|x|8+3/4|in}} 3 by 4 to 6 12 by 8 34 ਇੰਚ (76 mਮੀ × 102 mਮੀ to 165 mਮੀ × 222 mਮੀ)

Ranges can be specified in the first parameter.

Convert Output
{{convert|3.2-7.5|ha}} 3.2–7.5 ਹੈਕਟੇਅਰs (7.9–18.5 ਏਕੜs)
{{convert|3x4x24|in}} 3 by 4 by 24 ਇੰਚ (76 mਮੀ × 102 mਮੀ × 610 mਮੀ)
From module
convert/text
range_words = { '+/-', 'to(-)', 'xx', 'x', '*', 'to', 'or', 'by', '–' , '-' }

So: