“Template:Infobox fish”的版本间的差异
跳到导航
跳到搜索
Margotbean(讨论 | 贡献) |
Margotbean(讨论 | 贡献) |
||
第52行: | 第52行: | ||
{{!}} id="infoboxsection" {{!}} 长度(英寸) | {{!}} id="infoboxsection" {{!}} 长度(英寸) | ||
{{!}} id="infoboxdetail" {{!}} {{#switch:{{uc:{{CONTENTLANG}}}} | {{!}} id="infoboxdetail" {{!}} {{#switch:{{uc:{{CONTENTLANG}}}} | ||
− | |EN = {{{size|}}} | + | |EN = {{#replace:{{{size|}}}|-|–}} |
|#default= {{#if:{{#pos:{{{size|}}}|-}} | |#default= {{#if:{{#pos:{{{size|}}}|-}} | ||
|{{#expr:{{#explode:{{{size|}}}|-|0}}*2.54 round 0}}–{{#expr:{{#explode:{{{size|}}}|-|-1}}*2.54 round 0}} | |{{#expr:{{#explode:{{{size|}}}|-|0}}*2.54 round 0}}–{{#expr:{{#explode:{{{size|}}}|-|-1}}*2.54 round 0}} |