మూస:Unit length/doc: కూర్పుల మధ్య తేడాలు
Jump to navigation
Jump to search
Content deleted Content added
Tlustulimu (చర్చ | రచనలు) చి interwiki |
దిద్దుబాటు సారాంశం లేదు |
||
పంక్తి 25: | పంక్తి 25: | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> |
||
[[Category:Geobox unit|length]] |
[[Category:Geobox unit|length]] |
||
[[as:Unit length]] |
|||
[[eo:Ŝablono:Alteco]] |
[[eo:Ŝablono:Alteco]] |
||
</includeonly> |
</includeonly> |
09:16, 27 ఏప్రిల్ 2012 నాటి కూర్పు
This is a documentation subpage for మూస:Unit length. It may contain usage information, categories and other content that is not part of the original మూస page. |
Usage
This template displays length (or height, it is aliased as {{Unit height}}) measurement units used within various Category:Geobox templates, automatically converting between metric/imperial values. The input must be unformatted numeric values (i.e. without commas, the commas are automatically added to output).
It can display and convert following units:
- m to ft (metres to feet) and vice-versa
- km to mi (kilometres to miles) and vice-versa
- mm to in (milimetres to inches) and vice-versa
The template has 3 unnamed parameters: {{Unit area| unit| value| round}}
. Their meaning is as follows:
- unit … unit (
m, ft, km, mi, mm, in
) of thevalue
parameter, it will get displayed first - value … numerical value
- round … number of decimal digits (negative numbers can be used for rounded figures); if not specified 0 is assumed
Examples
- {{Unit length||1000}}:
- {{Unit length|m|1000}}: 1,000 m (3,281 ft)
- {{Unit length|m|1000|-2}}: 1,000 m (3,300 ft)
- {{Unit length|mi|1000|3}}: 1,000 mi (1,609.344 km)