ഫലകം:Convert/2
10×20 metres (30×70 അടി)
The converters Template:Convert/2 and Template:Convert/flip2 will convert 2 amounts at once, allowing any range words/text between the 2 amounts. However, both amounts are treated as the same unit type. The output unit must be specified, or put blank "| |" for the default output unit. Convert/flip2 will reverse, or flip, the output to show the results on the left-hand side and inputs on the right-hand side.
- Usage: {{convert/2 |5|by|6|m|ft}}
- {{convert/2 |5|x|6|m|ft}}
- {{convert/2 |5.5|up to|6|m|ft}}
- {{convert/2 |15|rarely|20|km|mi|abbr=on}}
- {{convert/flip2 |5|x|6|m|ft}}
The template has the most of the options Template:Convert has, including abbreviation abbr=in or abbr=out or abbr=off, wikilinks lk=on, lk=in or lk=out, and adjective mode adj=on. The separator can also be a semicolon: disp=semi, disp=or, disp=comma, disp=x & disp=b (default parentheses). Using optional parameter "warn=yes" will warn when the separator is an unusual word (other than: to, by, and, or, -, +/-, x, xx or comma).
- Examples
The following examples show various separator text, with p=2 to round the precision to 2 decimal places:
- {{convert/2 |5|by|6|m|ft}} → 5 by 6 metres (16 by 20 അടി)
- {{convert/2 |5|x|6|m|ft|p=2}} → 5×6 metres (16.40×19.69 അടി)
- {{convert/2 |7,550|rarely|7,600|km|mi}} → 7,550 rarely 7,600 kilometres (4,690* rarely 4,700 മൈ*)
- {{convert/2 |7|to|8|km|mi|abbr=on}} → 7 to 8 km (4.3 to 5.0 മൈ)
- {{convert/2 |7|to|8|km|mi|adj=on}} → 7-to-8-kilometre (4.3-to-5.0 മൈ)
- {{convert/2 |10|-|20|°C|F|disp=or}} → 10–20 °C or 50–70 °F
- {{convert/2 |11|-|22|°C|F|disp=semi}} → 11–22 °C; 52–72 °F
- {{convert/2 |10|–|15|°F|C}} → 10 – 15 °F (−12.2 – −9.4 °C)
- {{convert/2 |105|-|106|°F|C|lk=on }} → 105–106 °F (40.6–41.1 °C)
- {{convert/2 |45|-|55|°F|C|disp=x| in winter (|)}} – 45–55 °F in winter (7–13 °C)
- {{convert/2 |700|-|700.5|lb|kg}} – 700–700.5 pounds (317.51–317.74 കി.ഗ്രാം)
- {{convert/2 |5+1/2|wide by|6+1/3|m|ft}} – 5 1⁄2 wide by 6 1⁄3 metres (18* wide by 21 അടി*)
- {{convert/flip2 |5+1/2|by|6+1/3|m|ft}} – 18 by 21 അടി (5 1⁄2 by 6 1⁄3 മീ)
The range-words are: to, by, and, or, -, +/-, x, xx & comma. Display types: disp=comma, disp=semi, disp=or, disp=s, disp=2 (or disp=out), disp=# (or disp=number), disp=x and disp=b.
See also
തിരുത്തുക- Template:Convert/3 – convert 3 amounts with any separator text
- Template:Convert/4 – convert 4 amounts with any separator text
- Template:Convert/text2 - for converting 2 amounts with free-form text
- Template:Convert/text3 - for converting 3 amounts with free-form text
- Template:Convert/flip2 – converting & flipping 2 amounts with any text
- Template:Convert/flip3 – converting & flipping 3 amounts with any text
- Template:Convert/flip4 – converting & flipping 4 amounts with any text
മുകളിൽ കാണുന്ന വിവരണം ഫലകം:Convert/2/doc എന്ന ഉപതാളിൽ നിന്ന് ഉൾപ്പെടുത്തിയിട്ടുള്ളതാണ്. (തിരുത്തുക | നാൾവഴി) താങ്കൾക്ക് പരീക്ഷണങ്ങൾ ഫലകത്തിന്റെ എഴുത്തുകളരി (നിർമ്മിക്കുക) താളിലോ testcases (നിർമ്മിക്കുക) താളിലോ നടത്താവുന്നതാണ്. ദയവായി വർഗ്ഗങ്ങളും ബഹുഭാഷാകണ്ണികളും /വിവരണം ഉപതാളിൽ മാത്രം ഇടുക. ഈ ഫലകത്തിന്റെ ഉപതാളുകൾ. |