Template:Convert/text3/doc

From Simple English Wikipedia, the free encyclopedia

The Template:Convert/text3 allows insertion of free-form text into a conversion of 3 amounts, with the output amounts gathered together at the end of the text. The free-form text among the output amounts can be set by "out=" or "out2=" or "out3=" to specify text after each of the 3 output numbers (the default output text is just "×").

Usage[change source]

  • {{convert/text3|20|long, |10|wide, and|5|ft|m|high}}                → 20 feet long, 10 ft wide, and 5 ft high (6.1 × 3.0 × 1.5 m)
  • {{convert/text3|20|long, |10|wide, and|5|ft|m|high|out3=tall}} → 20 feet long, 10 ft wide, and 5 ft high (6.1 × 3.0 × 1.5 m tall)
  • {{convert/text3|20|long, |9 |wide, and|5|ft|m|high|frac=10}}    → 20 feet long, 9 ft wide, and 5 ft high (6+110 × 2+710 × 1+12 m)
  • {{convert/text3|360|wide, |500|long, and|70|ft|m|high}} → 360 feet wide, 500 ft long, and 70 ft high (110 × 150 × 21 m)

See also[change source]