Template:Height: Difference between revisions
From Star Trek: Theurgy Wiki
SummerDawn (talk | contribs) (Created page with "<includeonly>{{{1}}}ft {{{2}}}in / {{#expr:((({{{1}}}*12)+{{{2}}})*0.0254)round2}}m</includeonly><noinclude>height</noinclude>") |
Auctor Lucan (talk | contribs) No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{{1}}}ft {{{2}}}in / {{#expr:((({{{1}}}*12)+{{{2}}})*0.0254)round2}}m</includeonly><noinclude>height</noinclude> | <includeonly>{{{1}}}ft {{{2|0}}}in / {{#expr:((({{{1}}}*12)+{{{2|0}}})*0.0254)round2}}m</includeonly> | ||
<noinclude> | |||
===Usage instructions=== | |||
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> | |||
Examples: <pre><nowiki>{{Height|5|5}}</nowiki>: 5ft 5in / 1.65m</pre> | |||
==Data fields== | |||
*feet | |||
*inches | |||
</noinclude> |
Latest revision as of 16:17, 27 January 2022
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