Template:Height: Difference between revisions
Till Kraemer (talk | contribs) No edit summary |
Till Kraemer (talk | contribs) Code from the German Größe template added. |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{#if:{{{centimeter|{{{centimeters|{{{centimetre|{{{centimetres|{{{cm|}}}}}}}}}}}}}}}|1|0}}{{#if:{{{meter|{{{meters|{{{metre|{{{metres|{{{m|}}}}}}}}}}}}}}}|1|0}}{{#if:{{{foot|{{{feet|{{{ft|}}}}}}}}}|1|0}}{{#if:{{{inch|{{{inches|{{{in|}}}}}}}}}|1|0}} | <includeonly>{{#switch:{{#if:{{{centimeter|{{{centimeters|{{{centimetre|{{{centimetres|{{{cm|}}}}}}}}}}}}}}}|1|0}}{{#if:{{{meter|{{{meters|{{{metre|{{{metres|{{{m|}}}}}}}}}}}}}}}|1|0}}{{#if:{{{foot|{{{feet|{{{ft|}}}}}}}}}|1|0}}{{#if:{{{inch|{{{inches|{{{in|}}}}}}}}}|1|0}}|1000=[[:Category:Height {{convert|{{{centimeter|{{{centimeters|{{{centimetre|{{{centimetres|{{{cm|}}}}}}}}}}}}}}}|cm|cm|frac={{#ifeq:{{{precision}}}|0|{{{frac|2}}}}}|abbr={{#switch:{{{abbr}}}|no=off|mos=def|#default=on}}|0|disp=out}}|{{convert|{{{centimeter|{{{centimeters|{{{centimetre|{{{centimetres|{{{cm|}}}}}}}}}}}}}}}|cm|cm|frac={{#ifeq:{{{precision}}}|0|{{{frac|2}}}}}|abbr={{#switch:{{{abbr}}}|no=off|mos=def|#default=on}}|0|disp=out}}]] ({{convert|{{{centimeter|{{{centimeters|{{{centimetre|{{{centimetres|{{{cm|}}}}}}}}}}}}}}}|cm|ftin|frac={{#ifeq:{{{precision}}}|0|{{{frac|2}}}}}|abbr={{#switch:{{{abbr}}}|no=off|mos=def|#default=on}}|0|disp=out}})[[Category:Height {{convert|{{{centimeter|{{{centimeters|{{{centimetre|{{{centimetres|{{{cm|}}}}}}}}}}}}}}}|cm|cm|frac={{#ifeq:{{{precision}}}|0|{{{frac|2}}}}}|abbr={{#switch:{{{abbr}}}|no=off|mos=def|#default=on}}|0|disp=out}}]]|0100={{convert|{{{meter|{{{meters|{{{metre|{{{metres|{{{m}}}}}}}}}}}}}}}|m|ftin|frac={{#ifeq:{{{precision}}}|0||{{{frac|2}}}}}|abbr={{#switch:{{{abbr}}}|no=off|mos=def|#default=on}}|{{{precision|1}}}}}|0011=[[:Category:Height {{convert|{{{foot|{{{feet|{{{ft|}}}}}}}}}|ft|{{{inch|{{{inches|{{{in|}}}}}}}}}|in|cm|0|disp=out}}|{{convert|{{{foot|{{{feet|{{{ft|}}}}}}}}}|ft|{{{inch|{{{inches|{{{in|}}}}}}}}}|in|cm|0|disp=out}}]] ({{convert|{{{foot|{{{feet|{{{ft|}}}}}}}}}|ft|{{{inch|{{{inches|{{{in|}}}}}}}}}|in|ftin|0|disp=out}}) [[Category:Height {{convert|{{{foot|{{{feet|{{{ft|}}}}}}}}}|ft|{{{inch|{{{inches|{{{in|}}}}}}}}}|in|cm|0|disp=out}}]]|0010={{convert|{{{foot|{{{feet|{{{ft|}}}}}}}}}|ft|0|in|cm|abbr={{#switch:{{{abbr}}}|no=off|mos=def|#default=on}}|0|order=flip}}|0001={{convert|0|ft|{{{inch|{{{inches|{{{in|}}}}}}}}}|in|cm|abbr={{#switch:{{{abbr}}}|no=off|mos=def|#default=on}}|0|order=flip}}|0000=|#default={{Error|Error: please specify height using only one type of units}}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using height with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Height]] with unknown parameter "_VALUE_"|ignoreblank=y| abbr | centimeter | centimeters | centimetre | centimetres | cm | feet | foot | frac | ft | in | inch | inches | m | meter | meters | metre | metres | out | precision | {{#ifeq:{{{1}}}|0|1|_NULLPARAMETER_}}}}{{#ifeq:{{{1}}}|0|{{main other|[[Category:Pages using height with 1 equal 0]]}} | ||
|1000={{convert|{{{centimeter|{{{centimeters|{{{centimetre|{{{centimetres|{{{cm|}}}}}}}}}}}}}}}|cm| | }}</includeonly><noinclude> | ||
| | * <code><nowiki>{{Height|cm=180}}</nowiki></code> (ergibt ''180 cm (5 ft 11 in)'') | ||
| | |||
| | |||
|0000= | |||
|#default={{Error|Error: please specify height using only one type of units}} | |||
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using height with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Height]] with unknown parameter "_VALUE_"|ignoreblank=y| abbr | centimeter | centimeters | centimetre | centimetres | cm | feet | foot | frac | ft | in | inch | inches | m | meter | meters | metre | metres | out | precision | |||
}}{{#ifeq:{{{1}}}|0|{{main other|[[Category:Pages using height with 1 equal 0]]}} | |||
}}</includeonly> | |||
* <code><nowiki>{{Height|cm=180}}</nowiki></code> ( | |||
* <code><nowiki>{{Height|ft=5|in=11}}</nowiki></code> ( | * <code><nowiki>{{Height|ft=5|in=11}}</nowiki></code> (ergibt auch ''180 cm (5 ft 11 in)'') | ||
{{Wikipedia}} | {{Wikipedia}} |
Revision as of 18:22, 1 November 2023
{{Height|cm=180}}
(ergibt 180 cm (5 ft 11 in))
{{Height|ft=5|in=11}}
(ergibt auch 180 cm (5 ft 11 in))
This Template uses material from Wikipedia: Height, which is released under the Creative Commons Attribution-Share-Alike License 3.0. |