「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 |
錯誤:{{#seo:}} 必須至少包含一個有內容的屬性。