Template:Measurements: Difference between revisions

Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
No edit summary
mNo edit summary
 
Line 1: Line 1:
<includeonly>{{#ifeq:{{{4|}}}|cm
<includeonly>{{#ifeq:{{{4|}}}|cm
|{{#expr:{{{1|}}}/2.54 round 0}}-{{#expr:{{{2|}}}/2.54 round 0}}-{{#expr:{{{3|}}}/2.54 round 0}} in ({{{1}}}-{{{2}}}-{{{3}}} cm)
|{{#expr:{{{1|}}}/2.54 round 0}}-{{#expr:{{{2|}}}/2.54 round 0}}-{{#expr:{{{3|}}}/2.54 round 0}}in ({{{1}}}-{{{2}}}-{{{3}}}cm)
|{{{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}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 16:37, 18 April 2025

[edit] Template documentation

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-41in (107-69-104cm)
{{Measurements|107|69|104|cm}} 42-27-41in (107-69-104cm)