সাঁচ:Unit length
অৱয়ব
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}}: ১,০০০ মি (৩,২৮১ ফুট)
- {{Unit length|m|1000|-2}}: ১,০০০ মি (৩,৩০০ ফুট)
- {{Unit length|mi|1000|3}}: ১,০০০ মাইল (১,৬০৯.৩৪৪ কিমি)
The above documentation is transcluded from সাঁচ:Unit length/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |