Mal:Konverter: Forskjell mellom sideversjoner
Utseende
Slettet innhold Innhold lagt til
m robot: automatisk teksterstatning: (-\[\[([Bb]ilde|[Ii]mage)\: +[[Fil:) |
m →Conversions: Fikset lenker til pekersider |
||
Linje 462: | Linje 462: | ||
| style="text-align: center;" | → || [[square kilometre]] || sqkm || km² || square kilometer |
| style="text-align: center;" | → || [[square kilometre]] || sqkm || km² || square kilometer |
||
|- style="font-size: 90%; background-color: #FFFFFF;" |
|- style="font-size: 90%; background-color: #FFFFFF;" |
||
| style="text-align: center;" | '''[[United States customary units|Customary]]''' || [[acre]] || acre || acre || |
| style="text-align: center;" | '''[[United States customary units|Customary]]''' || [[acre]] || acre || acre || |
||
|- style="font-size: 90%; background-color: #FFFFFF;" |
|- style="font-size: 90%; background-color: #FFFFFF;" |
||
| style="text-align: center;" | → || [[square foot]] ||sqft || sq ft || |
| style="text-align: center;" | → || [[square foot]] ||sqft || sq ft || |
||
Linje 490: | Linje 490: | ||
| style="text-align: center;" | → || [[yard]] || yd || yd || |
| style="text-align: center;" | → || [[yard]] || yd || yd || |
||
|- style="font-size: 90%; background-color: #FFFFFF;" |
|- style="font-size: 90%; background-color: #FFFFFF;" |
||
| style="text-align: center;" | → || [[mile]] || mi || mi || |
| style="text-align: center;" | → || [[mile]] || mi || mi || |
||
|- style="font-size: 90%; background-color: #FFFFFF;" |
|- style="font-size: 90%; background-color: #FFFFFF;" |
||
| style="text-align: center;" | → || [[nautical mile]] || nmi || nmi || |
| style="text-align: center;" | → || [[nautical mile]] || nmi || nmi || |
Sideversjonen fra 15. mai 2010 kl. 18:08
Advarsel! Denne malen gjør bruk av svært kompliserte parametere. Du bør ikke redigere den med mindre du vet akkurat hva du gjør, og er forberedt på å gjøre opp igjen eventuell skade. Den skal derimot ikke være vanskelig i bruk. |
Purpose
To show quantities in a primary and secondary display, such as 32 metres (105 ft), or 18 °C (64,4 °F).
Usage
{{convert|original_value|original_unit|conversion_unit|round_to}}
Tricks
In order to... | |
---|---|
Use U.S. spelling | attach |sp=us .
|
Make units wikilinked | attach |lk=on . The manual of style suggests that you only link the first instance.
|
Use the singular for grammar | attach |sing=on . (ex: "The 190 foot (58 m) bridge" as opposed to "feet")
|
Abbreviate all units | attach |abbr=on .
|
Rounding
The number given for rounding rounds off the result to the power of 1/10 the rounding number. For instance, if the result is 8621 and the round number is '-2', the result will be 8700. If the result is '234.0283043' and the round number is '0', the result will be 234.
Conversions
The abbreviations to the right of the units are the abbreviations you should enter when using the template. Though they are not correct abbreviations, the correct abbreviation will be displayed when you use {{convert}}.
Units supported by {{convert}} | ||||
---|---|---|---|---|
system | unit | abbreviation used in coding | abbreviation printed | US spelling |sp=us
|
Area | ||||
SI | square metre | sqm | m² | square meter |
→ | square kilometre | sqkm | km² | square kilometer |
Customary | acre | acre | acre | |
→ | square foot | sqft | sq ft | |
→ | square yard | sqyd | sq yd | |
→ | square mile | sqmi | sq mi | |
→ | square nautical mile | sqnmi | sq nmi | |
old metric | hectare | ha | ha | |
Length | ||||
SI | millimetre | mm | mm | millimeter |
→ | centimetre | cm | cm | centimeter |
→ | metre | m | m | meter |
→ | kilometre | km | km | kilometer |
Customary | inch | in | in | |
→ | foot | ft | ft | |
→ | yard | yd | yd | |
→ | mile | mi | mi | |
→ | nautical mile | nmi | nmi | |
Other | astronomical unit | AU | AU | |
Speed | ||||
SI | metres per second | m:s | m/s | meter per second |
→ | kilometres per hour | km:h | km/h | kilometer per hour |
Accepted non-SI | knot | knot | kt | |
Customary | feet per second | ft:s | ft/s | |
→ | miles per hour | mi:h | mph | |
Temperature | ||||
SI | kelvin | K | K | |
→ | degrees Celsius | °C | °C | |
Customary | degrees Rankine | °R | °R | |
→ | degrees Fahrenheit | °F | °F |
Example/monitor page
Monitor quality or look at examples at Template:Convert/check