Template:Height: Difference between revisions
From Star Trek: Theurgy Wiki
SummerDawn (talk | contribs) mNo edit summary |
Auctor Lucan (talk | contribs) No edit summary |
||
(5 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> | <includeonly>{{{1}}}ft {{{2|0}}}in / {{#expr:((({{{1}}}*12)+{{{2|0}}})*0.0254)round2}}m</includeonly> | ||
<noinclude> | <noinclude> | ||
===Usage instructions=== | ===Usage instructions=== | ||
This | 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> | ||
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