Mısallar

redaktorlaw
{{convert|2|km|mi}} → 2 kilometr (1.2 mi)
{{convert|7|mi|km}} → 7 milya (11 km)
{{convert|2|km|mi|2|abbr=on}} → 2 km (1.24 mi)
{{convert|7|mi|km|2|abbr=on}} → 7 mi (11.27 km)
{{convert|2|to|5|km|mi}} → 2 to 5 kilometr (1.2 to 3.1 mi)
{{convert|2|-|5|km|mi}} → 2–5 kilometr (1.2–3.1 mi)
{{convert|2|-|5|km|mi|2|abbr=on}} → 2–5 km (1.24–3.11 mi)
{{convert|2|and|5|km|mi|sigfig=3|abbr=off}} → 2 and 5 kilometr (1.24 and 3.11 milya)


Shablon parametrleri

redaktorlaw
{{Convert}} andozasi uchun andoza parametrlari

Converts measurements to other units.

Úlgi parametrleri

This template prefers inline formatting of parameters.

ParametrSıpatlamasıTipiStatusı
Value1

The value to convert.

Santalap etiledi
From unit2

The unit for the provided value.

Usınılǵan mániler
km2 m2 cm2 mm2 ha sqmi acre sqyd sqft sqin km m cm mm mi yd ft in kg g mg lb oz m/s km/h mph K C F m3 cm3 mm3 L mL cuft cuin U.S.gal U.S.oz psi mpgU.S. $/lb $/kg
Mısalı
km
Qatartalap etiledi
To units3

The units to convert into. Separate units by a space for multiple outputs. In an output unit, use + for a multiplication space.

Usınılǵan mániler
km2 m2 cm2 mm2 ha sqmi acre sqyd sqft sqin km m cm mm mi yd ft in kg g mg lb oz m/s km/h mph K C F m3 cm3 mm3 L mL cuft cuin U.S.gal U.S.oz psi mpgU.S. $/lb $/kg
Mısalı
mi nmi
Qatarusınılǵan
Precision or suffix4

Significant digits after decimal dot or, if negative, exponent of ten.

San(shárt emes)
Link unitslk

Indication of what units to apply wikilinks to. Use “on” for all, “in” for the input unit, “out” for the output units, or “off” for none of the units. For more fine-grained control over which units to link, use the template multiple times.

Usınılǵan mániler
in out on off
Standart
off
Mısalı
on
Qatar(shárt emes)
Abbreviationabbr

Display for the units: “on” to display all units using their unit symbols, “off” to display all units in full words, “in” to display the unit symbol for the input unit, “out” to display the unit symbols for the output units, “unit” to display unit symbols for both input and output units when using scientific notation, “values” for no units at all (neither unit symbols nor full words of units).

Usınılǵan mániler
in off none on out unit values ~
Standart
out
Mısalı
on, unit, in, out, off
Qatarusınılǵan
Spellingsp

Spelling of units. Use “us” to display unit names using U.S. spelling.

Mısalı
us
Qatar(shárt emes)
Adjectiveadj

Whether to use adjectival form. Use “on” for singular unit name appended by a hyphen, “mid” to put conversion at end, or “off” (default) for no adjectival form.

Usınılǵan mániler
mid on pre ri0 ri1 ri2 ri3 off
Standart
off
Mısalı
on
Unbalanced wikitext(shárt emes)
Conversiondisp

Display conversion result: “or”: after ‘or’, “x”: with custom prefix and suffix, “b”: in parentheses, “table”/“tablecen”, “output only”: alone, “output number only”: alone and without unit, “unit”: not at all but input unit; if the value is a number it is used as precision.

Usınılǵan mániler
b sqbr br comma or number output number only out output only preunit table tablecen unit unit2 x
Mısalı
b
Qatar(shárt emes)
Orderingorder

“flip” returns converted value first, input value second.

Usınılǵan mániler
flip out
Mısalı
flip
Qatar(shárt emes)
Significant figuressigfig

Indicates the number of significant figures to be used in rounding.

San(shárt emes)
Rounding outputround

The type of rounding. “5” rounds the output number to nearest multiple of 5, “25” to nearest multiple of 25, “each” rounds each number in a range.

San(shárt emes)
Thousands separatorcomma

Sets or suppresses the use of thousands separators in the numbers. “off”: no separator; “gaps”: use space instead of comma as thousands separator; “5”: only add thousands separator when the integral part of the number uses 5 positions or more (10,000 or more; if using comma as thousands separator, 1234 would produce '1234', 12345 would produce '12,345').

Standart
on
Mısalı
off
Boolean(shárt emes)
Sort keysortable

“on” generates a hidden sort key

Mısalı
on
Boolean(shárt emes)
Spell numbers?spell

If used, spells input or input and output numbers in words, optionally capitalizing the first

Usınılǵan mániler
in In on On
Mısalı
'in', 'In', 'on', or 'On'
Qatar(shárt emes)
Singular?sing

If 'yes', uses singular form of units (deprecated)

Mısalı
yes
Booleangónergen
Fraction?frac

fraction as rounding unit

San(shárt emes)
Currency symbol$

sets currency symbol in both units

Mısalı
$=€ will show " €10 per mile (€6.2/km)"
Qatar(shárt emes)
Mach altitude (ft)altitude_ft

Mach (speed) depends on altitide

Usınılǵan mániler
10000
San(shárt emes)
Mach altitude (m)altitude_m

Mach (speed) depends on altitude

San(shárt emes)
WD propertyinput

Reads the property value of the item (article), then converts it

Mısalı
{{convert|input=P2046}} (P2046=area)
Qatar(shárt emes)