ಟೆಂಪ್ಲೇಟು:Convert/flip4
33×66×98×130 feet (೧೦×೨೦×೩೦×೪೦ m)
The converters Template:Convert/4 and Template:Convert/flip4 will convert 4 amounts at once, allowing a mix of different range words or any text between the 4 amounts. However, all 4 amounts are treated as the same unit type. The output unit must be specified, or put blank "| |" for the default output unit. Convert/flip4 will reverse, or flip, the output to show the results on the left-hand side and inputs on the right-hand side.
Usage
[ಬದಲಾಯಿಸಿ]- {{convert/4 |5|by|6|by|7|or even|8|m|ft}}
- {{convert/4 |5|x|6|x|7|x|8|m|ft}}
- {{convert/4 |5|-|6|-|7|-|11|m|ft}}
- {{convert/4 |7|to|8| by |4+1/2|to|4+3/4|km|mi|abbr=on}}
- {{convert/flip4 |5|by|6|by|7|x|8|m|ft}}
The template has the same options as Template:Convert, and so it allows abbreviation abbr=in or abbr=out or abbr=off, wikilinks lk=in or lk=out, and adjective mode adj=on. The separator can also be a semicolon: disp=semi, disp=semicolon, disp=or, disp=comma & 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 a mixture of "by" & "x" or "to" in some conversions:
- {{convert/4 |5|by|6|by|7|to|8|m|ft}} gives: ೫ by ೬ by ೭ to ೮ metres (16 by 20 by 23 to 26 ft)
- {{convert/4 |5|x|6|x|7|x|8|m|ft}} gives: ೫×೬×೭×೮ metres (16×20×23×26 ft)
- {{convert/4 |6|to|7|to|8|to|9|km|mi|abbr=on}} gives: ೬ to ೭ to ೮ to ೯ km (3.7 to 4.3 to 5.0 to 5.6 mi)
- {{convert/4 |6|to|7|to|8|to|9|km|mi|adj=on}} gives: ೬-to-೭-to-೮-to-೯-kilometre (3.7-to-4.3-to-5.0-to-5.6 mi)
- {{convert/4 |10|-|20|-|30|-|40|°C|F|disp=or}} gives: ೧೦–೨೦–೩೦–೪೦ °C or 50–68–86–104 °F
- {{convert/4 |11|-|22|-|33|-|44|°C|F|disp=semi}} gives: ೧೧–೨೨–೩೩–೪೪ °C; 52–72–91–111 °F
- {{convert/4 |40|-|50|-|60|-|70|°F|C|lk=on }} gives: ೪೦–೫೦–೬೦–೭೦ °F (4–10–16–21 °C)
- {{convert/4 |45|-|55|or|65|-|69|°F|C|lk=out}} gives: ೪೫–೫೫ or ೬೫–೬೯ °F (7–13 or 18–21 °C)
- {{convert/4 |5+1/2|x|6+1/3|or|7+1/4|x|8+1/5|m|ft}} gives: ೫ 1⁄2×೬ 1⁄3 or ೭ 1⁄4×೮ 1⁄5 metres (18×21 or 24×27 ft)
- {{convert/flip4 |5+1/2|x|6+1/3|or|7+1/4|x|8+1/5|m|ft}} gives: 18×21 or 24×27 feet (೫ 1⁄2×೬ 1⁄3 or ೭ 1⁄4×೮ 1⁄5 m)
The range-words are: to, by, and, or, -, +/-, x, xx & comma, but any text can be inserted between numbers. Display types: disp=comma, disp=semi, disp=or, disp=s, disp=2 (or disp=out), disp=# (or disp=number) and disp=b. The results are identical to using Template:Convert for each amount individually.
See also
[ಬದಲಾಯಿಸಿ]- Template:Convert – using option "disp=flip"
- Template:Convert/2 – convert 2 amounts with any separator text
- Template:Convert/3 – convert 3 amounts with any separator text
- Template:Convert/4 – convert 4 amounts with any separator 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