Template:Height: Difference between revisions

From Star Trek: Theurgy Wiki

mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{{1}}}ft {{{2}}}in / {{#expr:((({{{1}}}*12)+{{{2}}})*0.0254)round2}}m</includeonly>
<includeonly>{{{1}}}ft {{{2|0}}}in / {{#expr:((({{{1}}}*12)+{{{2|0}}})*0.0254)round2}}m</includeonly>
<noinclude>
<noinclude>
===Usage instructions===
===Usage instructions===
This formats a Paste the following code into the wiki, filling all known fields:
This displays an imperial height in both Imperial and Metric. Paste the following code into the wiki, filling in all fields:
<pre><nowiki>{{Height|feet|inches}}</nowiki></pre>
<pre><nowiki>{{Height|feet|inches}}</nowiki></pre>



Revision as of 15:56, 5 June 2016


Usage instructions

This displays an imperial height in both Imperial and Metric. Paste the following code into the wiki, filling in all fields:

{{Height|feet|inches}}

Examples:

{{Height|5|5}}: 5ft 5in / 1.65m

Data fields

  • feet
  • inches