“Template:Infobox fish”的版本间的差异
跳到导航
跳到搜索
Margotbean(讨论 | 贡献) |
Margotbean(讨论 | 贡献) (tired) |
||
第48行: | 第48行: | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}}[[鱼#钓鱼游戏{{!}}<span style="color: white;">运动</span>]]: | {{!}}id="infoboxsection"{{!}}[[鱼#钓鱼游戏{{!}}<span style="color: white;">运动</span>]]: | ||
− | {{!}}id="infoboxdetail"{{!}}{{{behavior|}}} |}}<!--{{#if:{{{size|}}} | + | {{!}}id="infoboxdetail"{{!}}{{{behavior|}}} |}}<!-- |
− | | | + | -->{{#if:{{{size|}}}|<nowiki /> |
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection" | + | {{!}}id="infoboxsection"{{!}} 大小(厘米) |
− | {{!}}id="infoboxdetail" | + | {{!}}id="infoboxdetail"{{!}}{{#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}} | ||
|{{#expr:{{{size|}}}*2.54 round 0}} | |{{#expr:{{{size|}}}*2.54 round 0}} | ||
第77行: | 第77行: | ||
|og:image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}} | |og:image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}} | ||
}}</includeonly><noinclude>{{englishdoc}}</noinclude> | }}</includeonly><noinclude>{{englishdoc}}</noinclude> | ||
+ | |||
+ | |||
+ | <noinclude> | ||
+ | {{Infobox fish | ||
+ | |image = Crab.png | ||
+ | |eng = Crab | ||
+ | |location = 海洋 | ||
+ | |season = 全部 | ||
+ | |price = 100 | ||
+ | |description= 长着两个强壮螯的海生甲壳纲生物。 | ||
+ | |hideprice = silver,gold | ||
+ | }}</noinclude> |
2018年10月20日 (六) 02:41的版本
有关此模板的详细信息,请参阅英语语言文档页。
用法
可以通过在相关页面上输入以下内容来使用此模板。
{{Infobox fish}}
结果是...
Infobox fish | ||||||||||
信息 | ||||||||||
发现点 | 不适用 | |||||||||
时间 | 不适用 | |||||||||
季节 | 不适用 | |||||||||
天气 | 不适用 | |||||||||
难度 | 不适用 | |||||||||
恢复效果 | Template:Edibility | |||||||||
|
Error: {{#seo:}} must contain at least one non-empty attribute.
Infobox fish | ||||||||||||||||||||||
长着两个强壮螯的海生甲壳纲生物。 | ||||||||||||||||||||||
信息 | ||||||||||||||||||||||
发现点 | 海洋 | |||||||||||||||||||||
时间 | 不适用 | |||||||||||||||||||||
季节 | 全部 | |||||||||||||||||||||
天气 | 不适用 | |||||||||||||||||||||
难度 | 不适用 | |||||||||||||||||||||
恢复效果 | Template:Edibility | |||||||||||||||||||||
|
Error: {{#seo:}} must contain at least one non-empty attribute.