Template:Height:修订间差异
外观
删除的内容 添加的内容
enwiki>Frietjes |
zhwiki>Dabao qian // Edit via Wikiplus |
||
| 第1行: | 第1行: | ||
{{#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}} |
{{#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}}{{#if:{{{chi|}}}|1|0}}{{#if:{{{cun|}}}|1|0}} |
||
| |
|100000={{convert|{{{centimeter|{{{centimeters|{{{centimetre|{{{centimetres|{{{cm|}}}}}}}}}}}}}}}|cm|ftin|frac={{#ifeq:{{{precision}}}|0|1|{{{frac|2}}}}}|abbr={{#switch:{{{abbr}}}|yes=on|mos=def|#default=off}}|lk={{#ifeq:{{{wiki|}}}|yes|on|off}}|{{{precision|1}}} }} |
||
| |
|010000={{convert|{{{meter|{{{meters|{{{metre|{{{metres|{{{m}}}}}}}}}}}}}}}|m|ftin|frac={{#ifeq:{{{precision}}}|0|1|{{{frac|2}}}}}|abbr={{#switch:{{{abbr}}}|yes=on|mos=def|#default=off}}|lk={{#ifeq:{{{wiki|}}}|yes|on|off}}|{{{precision|1}}} }} |
||
| |
|001100={{convert|{{{foot|{{{feet|{{{ft|}}}}}}}}}|ft|{{{inch|{{{inches|{{{in|}}}}}}}}}|in|m|abbr={{#switch:{{{abbr}}}|yes=on|mos=def|#default=off}}|lk={{#ifeq:{{{wiki|}}}|yes|on|off}}|{{#if:{{{precision|}}}|{{{precision}}}|2}} }} |
||
| |
|001000={{convert|{{{foot|{{{feet|{{{ft|}}}}}}}}}|ft|0|in|m|abbr={{#switch:{{{abbr}}}|yes=on|mos=def|#default=off}}|lk={{#ifeq:{{{wiki|}}}|yes|on|off}}|{{#if:{{{precision|}}}|{{{precision}}}|2}} }} |
||
| |
|000100={{convert|0|ft|{{{inch|{{{inches|{{{in|}}}}}}}}}|in|m|abbr={{#switch:{{{abbr}}}|yes=on|mos=def|#default=off}}|lk={{#ifeq:{{{wiki|}}}|yes|on|off}}|{{#if:{{{precision|}}}|{{{precision}}}|2}} }} |
||
|000011={{convert|{{{chi|}}}|chi|{{{cun|}}}|cun|m|abbr={{#switch:{{{abbr}}}|yes=on|mos=def|#default=off}}|lk={{#ifeq:{{{wiki|}}}|yes|on|off}}|{{#if:{{{precision|}}}|{{{precision}}}|2}} }} |
|||
|0000= |
|||
|000010={{convert|{{{chi|}}}|chi|0|cun|m|abbr={{#switch:{{{abbr}}}|yes=on|mos=def|#default=off}}|lk={{#ifeq:{{{wiki|}}}|yes|on|off}}|{{#if:{{{precision|}}}|{{{precision}}}|2}} }} |
|||
|#default={{Error|Error: please specify height using only one type of units}} |
|||
|000001={{convert|0|chi|{{{cun|}}}|cun|m|abbr={{#switch:{{{abbr}}}|yes=on|mos=def|#default=off}}|lk={{#ifeq:{{{wiki|}}}|yes|on|off}}|{{#if:{{{precision|}}}|{{{precision}}}|2}} }} |
|||
}}{{#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 | wiki | {{#ifeq:{{{1}}}|0|1|_NULLPARAMETER_}} |
|||
|000000= |
|||
}}{{#ifeq:{{{1}}}|0|{{main other|[[Category:Pages using height with 1 equal 0]]}} |
|||
|#default={{Error|错误:请仅指定公制、仅指定英制或仅指定市制单位}} |
|||
}}<noinclude> |
}}<noinclude> |
||
{{Documentation}} |
{{Documentation}} |
||