Wiktenauer logo.png

Template:Convert/3

From Wiktenauer
< Template:Convert
Revision as of 02:21, 23 September 2012 by Michael Chidester (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

10×20×30 Template:Convert/LoffAdefDunitSoff (Template:Convert/LoffAdefDoutput number onlySoff×Template:Convert/LoffAdefDoutput number onlySoff×98 ft)

[edit] [history] [purge] Documentation icon Template documentation

The converter Template:Convert/3 will convert 3 amounts at once, allowing a mix of different range words between the 3 amounts. However, all 3 amounts are treated as the same unit type. The output unit must be specified, or put "0" for the default output unit.

Usage

{{convert/3 |5|by|6|by|7|m|ft}}
{{convert/3 |5|x|6|x|7|m|ft}}
{{convert/3 |5|-|6|-|7|m|ft}}
{{convert/3 |7|to|8|by|4.5|km|mi|abbr=on}}

The template has the same parameters as Template:Convert, and so it allows abbreviation abbr=in or abbr=out or abbr=none, 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:

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) and disp=b. The results are identical to using Template:Convert for each amount individually.

See also


pt:Predefinição:Convert/3 simple:Template:Convert/3