Template:Measurements: Difference between revisions
Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
(New template to put the measurements in inches and centimeters) |
No edit summary |
||
| Line 3: | Line 3: | ||
|{{{1}}}-{{{2}}}-{{{3}}} in ({{#expr:{{{1|}}}*2.54 round 0}}-{{#expr:{{{2|}}}*2.54 round 0}}-{{#expr:{{{3|}}}*2.54 round 0}} cm) | |{{{1}}}-{{{2}}}-{{{3}}} in ({{#expr:{{{1|}}}*2.54 round 0}}-{{#expr:{{{2|}}}*2.54 round 0}}-{{#expr:{{{3|}}}*2.54 round 0}} cm) | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{documentation}} | |||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||
Revision as of 01:55, 18 February 2023
[edit]
Template documentation
- This documentation is transcluded from Template:Measurements/doc. (edit | history)
Instructions
- The template is intended for conversion of measurements specified in either centimeters, or in inches. Centimeters are converted to inches, and inches are converted to centimeters.
- As this template is intended for use in infoboxes, the units on both sides of the conversion are always abbreviated.
- By default, the template uses inches. To use centimeters, write "cm" in the fourth parameter.
Code
| Code | Result |
|---|---|
| {{Measurements|42|27|41}} | 42-27-41 in (107-69-104 cm) |
| {{Measurements|107|69|104|cm}} | 42-27-41 in (107-69-104 cm) |