Шаблон:Convert/old/units
{{convert/{{{d}}}|{{{1}}}|||||||s=|r={{{r}}} |u=u |n=unit |t=metre |o=ft |b=1 |j=0-0}}
The Template:Convert/units acts as a placeholder unit-code for conversions which require another unit, without risk of using the same unit-code twice and getting a template-loop error.
- For a list of units, see: Template:Convert/list_of_units
When using {{convert/units
}}, it can function as either the 1st or 2nd unit-code, as unit name "units" (symbol: u) but is equivalent in value to "m" (for metres/meters). Examples:
- {convert|20|ft|units} → 20 фут ([convert: unknown unit])
- {convert|20|units|ft} → 20 units[convert: unknown unit]
- {convert|20|units|ft|disp=u2} → [convert: unknown unit]
- {convert|20|ft|units} → 20 фут ([convert: unknown unit])
- {convert|20|units|km2} → 20 units[convert: unknown unit]
- {convert|20|km2|units} → 20 square килоmetres ([convert: unknown unit])
When used with "disp=u2" then using "units" can show the symbol or unit name of another unit when acting as the output unit (an input unit is shown by "disp=unit"). There is no restriction as to the unit type dimension, and it can be mixed with any other units, although some results will be nonsense calculations.