Template:Height: Difference between revisions

Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
m (Protected "Template:Height" [edit=sysop:move=sysop])
No edit summary
Line 1: Line 1:
{{#if:{{{inch|{{{inches|{{{in|}}}}}}}}}{{{foot|{{{feet|{{{ft|}}}}}}}}} |{{#if:
{{#if:{{{inch|{{{inches|{{{in|}}}}}}}}}{{{foot|{{{feet|{{{ft|}}}}}}}}} |{{#if:
{{{meter|{{{meters|{{{metre|{{{metres|{{{m|}}}}}}}}}}}}}}}|<font color="red">Error: please specify only English or Metric units</font>|{{#expr:((({{{inch|{{{inches|{{{in|0}}}}}}}}} + {{{foot|{{{feet|{{{ft|0}}}}}}}}} * 12) - ({{{inch|{{{inches|{{{in|0}}}}}}}}} + {{{foot|{{{feet|{{{ft|0}}}}}}}}} * 12) mod 12) / 12) round 0}}&nbsp;ft&nbsp;{{#expr:({{{inch| {{{inches|{{{in|0}}}}}}}}} + {{{foot|{{{feet|{{{ft|0}}}}}}}}} * 12) mod 12}}&nbsp;in ({{#expr:(({{{inch|{{{inches|{{{in|0}}}}}}}}} + {{{foot|{{{feet|{{{ft|0}}}}}}}}} * 12) * 0.0254) round 2}}&nbsp;m)}}|{{#if:{{{meter|{{{meters|{{{metre|{{{metres|{{{m|}}}}}}}}}}}}}}} |{{{meter|{{{meters| {{{metre|{{{metres|{{{m|0}}}}}}}}}}}}}}}&nbsp;m ({{#expr: (({{{meter|{{{meters|{{{metre|{{{metres| {{{m|0}}}}}}}}}}}}}}} / 0.0254 - 6 ) / 12 ) round 0}}&nbsp;ft&nbsp;{{#expr:({{{meter| {{{meters|{{{metre|{{{metres|{{{m|0}}}}}}}}}}}}}}} / 0.0254 - ((({{{meter|{{{meters| {{{metre|{{{metres|{{{m|0}}}}}}}}}}}}}}} / 0.0254 - 6) / 12) round 0) * 12) round 0}}&nbsp;in)}}}}
{{{meter|{{{meters|{{{metre|{{{metres|{{{m|}}}}}}}}}}}}}}}|<font color="red">Error: please specify only English or Metric units</font>|{{#expr:((({{{inch|{{{inches|{{{in|0}}}}}}}}} + {{{foot|{{{feet|{{{ft|0}}}}}}}}} * 12) - ({{{inch|{{{inches|{{{in|0}}}}}}}}} + {{{foot|{{{feet|{{{ft|0}}}}}}}}} * 12) mod 12) / 12) round 0}}&nbsp;ft&nbsp;{{#expr:({{{inch| {{{inches|{{{in|0}}}}}}}}} + {{{foot|{{{feet|{{{ft|0}}}}}}}}} * 12) mod 12}}&nbsp;in ({{#expr:(({{{inch|{{{inches|{{{in|0}}}}}}}}} + {{{foot|{{{feet|{{{ft|0}}}}}}}}} * 12) * 0.0254) round 2}}&nbsp;m)}}|{{#if:{{{meter|{{{meters|{{{metre|{{{metres|{{{m|}}}}}}}}}}}}}}} |{{{meter|{{{meters| {{{metre|{{{metres|{{{m|0}}}}}}}}}}}}}}}&nbsp;m ({{#expr: (({{{meter|{{{meters|{{{metre|{{{metres| {{{m|0}}}}}}}}}}}}}}} / 0.0254 - 6 ) / 12 ) round 0}}&nbsp;ft&nbsp;{{#expr:({{{meter| {{{meters|{{{metre|{{{metres|{{{m|0}}}}}}}}}}}}}}} / 0.0254 - ((({{{meter|{{{meters| {{{metre|{{{metres|{{{m|0}}}}}}}}}}}}}}} / 0.0254 - 6) / 12) round 0) * 12) round 0}}&nbsp;in)}}}}<noinclude>
<noinclude>
Instructions, borrowed from http://en.wikipedia.org/wiki/Template_talk:Height (hence the examples using sports):
Instructions, borrowed from http://en.wikipedia.org/wiki/Template_talk:Height (hence the examples using sports):
{| border="1"
{| border="1"

Revision as of 03:33, 19 November 2007

Instructions, borrowed from http://en.wikipedia.org/wiki/Template_talk:Height (hence the examples using sports):

For articles of non-metric interest, e.g. an American basketball player
{{height|ft=6|in=1}} 6 ft 1 in (1.85 m)
{{height|ft=7}} 7 ft 0 in (2.13 m)
{{height|feet=5|inches=11}} 5 ft 11 in (1.8 m)
For how high off the ground the hoop is:
{{height|ft=10}} 10 ft 0 in (3.05 m)
For articles of metric interest, e.g. an Uruguayan football (soccer) player
{{height|metres=2}} 2 m (6 ft 7 in)
{{height|meters=1.85}} 1.85 m (6 ft 1 in)
{{height|m=1.7}} 1.7 m (5 ft 7 in)
{{height|meter=1.6}} 1.6 m (5 ft 3 in)
{{height|metre=1.683}} 1.683 m (5 ft 6 in)
When attempting to specify two non-compatible units:
{{height|m=6|ft=2}} Error: please specify only English or Metric units

Template:GFDL2