Template:Convert/doc/parameter list
From Zoophilia Wiki
< Template:Convert | doc
Option | Description |
---|---|
|abbr=in |
Use symbol for first (left-hand side) unit |
|abbr=off
|
Use name for all units |
|abbr=none
| |
|abbr=on |
Use symbol for all units |
|abbr=out |
Use symbol for right-hand side unit (default) |
|abbr=values |
Show only input and output numbers, not units |
|adj=1 |
Unit name is singular when value is 1 or less, but not zero |
|adj=j |
Join value and unit name using " " instead of a space |
|adj=mid |
Same as adj=on with user-specified text after input unit
|
|adj=on |
Unit name is singular and hyphenated (adjective) |
|adj=pre |
User-specified text before input unit |
|adj=ri0 |
Round input with precision 0 |
|adj=ri1 |
Round input with precision 1 |
|adj=ri2 |
Round input with precision 2 |
|adj=ri3 |
Round input with precision 3 |
|disp=b |
Join input and output using " (...)" (default) |
|disp=sqbr |
Join input and output using " [...]" |
|disp=br |
Join input and output using "<br/>" |
|disp=comma |
Join input and output using ", " |
|disp=or |
Join input and output using " or " |
|disp=nocomma |
No comma in input or output numbers |
|disp=number
|
Display output value only |
|disp=output number only
| |
|disp=out
|
Display only output value and name/symbol |
|disp=output only
| |
|disp=preunit |
User-specified text before input and output units |
|disp=table |
Output is suitable for a table cell with align="right" |
|disp=tablecen |
Output is suitable for a table cell with align="center" |
|disp=unit |
Display input name/symbol only (not output; not input value) |
|disp=unit2
|
Display output name/symbol only (not input; not output value) |
|disp=x|... |
Join input and output using user-specified text |
|comma=5 |
Only use comma for thousands separator if 5 or more digits |
|comma=gaps |
Use gaps (space), not comma, for thousands separator |
|comma=gaps5 |
Use gaps (space), but only if 5 or more digits |
|adj=nocomma
|
No thousands separator (comma) in input and output numbers |
|frac=N |
Show imperial number in fractions, denominator=N |
|lk=in |
Link left-hand side unit name or symbol |
|lk=on |
Link all unit names or symbols (but not twice for the same unit) |
|lk=out |
Link right-hand side unit name or symbol |
|order=flip |
Inverts order of input, output measurements (conversion first) |
|round=5 |
Rounds calculation to the nearest multiple of 5 |
|round=25 |
Rounds calculation to the nearest multiple of 25 |
|round=each |
In a range, each value is rounded by the default rounding |
|sigfig=N |
Round output value to N significant figures (N is a positive integer) |
|sortable=in
|
Output numeric hidden sort field for use in a sortable table (based on input) |
|sortable=on
| |
|sortable=out |
Output numeric hidden sort field for use in a sortable table (based on output) |
|sp=us |
Use U.S. spelling (like "meter" instead of default "metre") |
|spell=in |
Spell input value in words |
|spell=In |
Spell input value in words with first letter uppercase |
|spell=on |
Spell input and output values in words |
|spell=On |
Spell input and output values in words with first letter uppercase |
|debug=yes |
Debugging only. In a sortable table: show the normally hidden sort key |
|abbr=mos |
Deprecated. Use |x| or |by| |
|abbr=comma |
Deprecated. Use |adj=nocomma |
|adj=flip |
Deprecated. Use |order=flip |
|disp=flip |
Deprecated. Use |order=flip |
|disp=flip5 |
Deprecated. Use |order=flip |round=5 |
|disp=5 |
Deprecated. Use |round=5 |
|disp=2 |
Deprecated. Use |disp=output only |
|disp=u2 |
Deprecated. Use |disp=unit2 |
|near=5 |
Deprecated. Use |round=5 |