Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Size/doc: Difference between revisions

Template page
No edit summary
sort
Line 17: Line 17:


<includeonly>
<includeonly>
[[Category:Formatting templates]]
[[Category:Formatting templates|{{PAGENAME}}]]
[[Category:Helper templates]]
[[Category:Helper templates|{{PAGENAME}}]]
[[Category:Image description templates]]
[[Category:Image description templates|{{PAGENAME}}]]


<!--interwikis here-->
<!--interwikis here-->


</includeonly>
</includeonly>

Revision as of 22:16, 20 March 2010

{{Size}}, {{Dim}}, {{Dimensions}}
To display a 2D size (width × height) both in centimeters and inches, etc. (such as in the "Dimensions" field of a Painting template).
{{Size|1|2|3|4}}
  1. Unit of input (must be one of: cm, m, mm, km, in, ft, yd, mi).
  2. Width (in the declared unit, with "." as decimal separator).
  3. Height (in the declared unit, with "." as decimal separator).
  4. Conversion precision (optional number of decimal digits, default: 2).
Examples
{{Size|cm|123|456}}
123 cm (48.4 in) × 456 cm (15 ft)
{{Size|km|12.1234|98.1234|1}}
12.1 km (13258.3 yd) × 98.1 km (61 miles) × 1 km (1093.6 yd)


Cookies help us deliver our services. By using our services, you agree to our use of cookies.