“Template:Infobox fish”的版本间的差异
跳到导航
跳到搜索
Margotbean(讨论 | 贡献) (fix size delimiter) |
小 (sync with english template) |
||
第77行: | 第77行: | ||
{{!}}- | {{!}}- | ||
{{!}} id="infoboxsection" {{!}} [[{{#arrayprint:$lang_behaviorlink}}|<span style="color: white;">{{#arrayprint:$lang_behavior}}</span>]]{{Colon}} | {{!}} id="infoboxsection" {{!}} [[{{#arrayprint:$lang_behaviorlink}}|<span style="color: white;">{{#arrayprint:$lang_behavior}}</span>]]{{Colon}} | ||
− | {{!}} id="infoboxdetail" {{!}} {{ParseInputValues|code=behav|{{{behavior|}}}|default=true|translate=true}} | + | {{!}} id="infoboxdetail" {{!}} {{ParseInputValues|code=behav|{{{behavior|}}}|default=true|translate=true|vary_end=true}} |
}}{{#if:{{{fl|}}}|<nowiki /> | }}{{#if:{{{fl|}}}|<nowiki /> | ||
{{!}}- | {{!}}- | ||
第88行: | 第88行: | ||
-->{{#if:{{#arrayprint:$lang_usemetric}} | -->{{#if:{{#arrayprint:$lang_usemetric}} | ||
| {{#if:{{#pos:{{{size|}}}|-}} | | {{#if:{{#pos:{{{size|}}}|-}} | ||
− | | {{#expr:{{#explode:{{{size|}}}|-|0}}*2.54 round 0}} {{#arrayprint:$lang_size_delim}} {{#expr:{{#explode:{{{size|}}}|-|1}}*2.54 round 0}} | + | | {{#expr:{{#explode:{{{size|}}}|-|0}}*2.54 round 0}}{{#arrayprint:$lang_size_delim}}{{#expr:{{#explode:{{{size|}}}|-|1}}*2.54 round 0}} |
| {{#expr:{{{size|}}}*2.54 round 0}}}} | | {{#expr:{{{size|}}}*2.54 round 0}}}} | ||
| {{{size|}}} | | {{{size|}}} |
2020年10月21日 (三) 21:57的版本
有关此模板的详细信息,请参阅英语语言文档页。
用法
可以通过在相关页面上输入以下内容来使用此模板。
{{Infobox fish}}
结果是...
Template:ParseInputValuesTemplate:ParseInputValues
Infobox fish | |
Template:Autoimage | |
Template:Italics | |
信息Template:Infosection price |
Error: {{#seo:}} must contain at least one non-empty attribute.