「Template:Infobox fish」修訂間的差異
跳至導覽
跳至搜尋
Margotbean(對話 | 貢獻) |
Margotbean(對話 | 貢獻) |
||
第9行: | 第9行: | ||
|colspan=2 id="infoboxsection" style="text-align:center;"|信息 | |colspan=2 id="infoboxsection" style="text-align:center;"|信息 | ||
|- | |- | ||
− | |id="infoboxsection"|发现点 | + | |id="infoboxsection"|发现点 |
|id="infoboxdetail"|{{#if:{{{location|}}}|{{{location|不适用}}}|不适用}} | |id="infoboxdetail"|{{#if:{{{location|}}}|{{{location|不适用}}}|不适用}} | ||
|- | |- | ||
− | |id="infoboxsection"|时间 | + | |id="infoboxsection"|时间 |
|id="infoboxdetail"|{{#if:{{{time|}}}|{{{time|不适用}}}|不适用}} | |id="infoboxdetail"|{{#if:{{{time|}}}|{{{time|不适用}}}|不适用}} | ||
|- | |- | ||
− | |id="infoboxsection"|季节 | + | |id="infoboxsection"|季节 |
<!--|id="infoboxdetail"|{{#if:{{{season|}}}|{{{season|不适用}}}|不适用}}--> | <!--|id="infoboxdetail"|{{#if:{{{season|}}}|{{{season|不适用}}}|不适用}}--> | ||
|id="infoboxdetail"|{{#if:{{{season|}}} | |id="infoboxdetail"|{{#if:{{{season|}}} | ||
第31行: | 第31行: | ||
}} | }} | ||
|- | |- | ||
− | |id="infoboxsection"|天气 | + | |id="infoboxsection"|天气 |
|id="infoboxdetail"|{{#if:{{{weather|}}} | |id="infoboxdetail"|{{#if:{{{weather|}}} | ||
| {{#arraydefine:weather|{{{weather|}}}|/}} | | {{#arraydefine:weather|{{{weather|}}}|/}} | ||
第43行: | 第43行: | ||
}} | }} | ||
|- | |- | ||
− | |id="infoboxsection"|难度 | + | |id="infoboxsection"|难度 |
|id="infoboxdetail"|{{#if:{{{difficulty|}}}|{{{difficulty|不适用}}}|不适用}}<!-- | |id="infoboxdetail"|{{#if:{{{difficulty|}}}|{{{difficulty|不适用}}}|不适用}}<!-- | ||
-->{{#if:{{{behavior|}}} |<nowiki /> | -->{{#if:{{{behavior|}}} |<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}}[[鱼#钓鱼游戏{{!}}<span style="color: white;">运动 | + | {{!}}id="infoboxsection"{{!}}[[鱼#钓鱼游戏{{!}}<span style="color: white;">运动</span>]]: |
{{!}}id="infoboxdetail"{{!}}{{{behavior|}}} |}} | {{!}}id="infoboxdetail"{{!}}{{{behavior|}}} |}} | ||
|- | |- | ||
− | |id="infoboxsection"|大小(厘米) | + | |id="infoboxsection"|大小(厘米) |
|id="infoboxdetail"|{{#if:{{#pos:{{{size|}}}|-}} | |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}} | ||
第56行: | 第56行: | ||
}} | }} | ||
|- | |- | ||
− | |id="infoboxsection"|恢复效果 | + | |id="infoboxsection"|恢复效果 |
|id="infoboxdetail"|{{#iferror: {{Edibility|{{{edibility|}}}|quality={{{healq|true}}}}} | 非食用 | {{Edibility|{{{edibility|0}}}|quality={{{healq|true}}}|iridium={{{iridium|}}}}}}} | |id="infoboxdetail"|{{#iferror: {{Edibility|{{{edibility|}}}|quality={{{healq|true}}}}} | 非食用 | {{Edibility|{{{edibility|0}}}|quality={{{healq|true}}}|iridium={{{iridium|}}}}}}} | ||
|- | |- | ||
第63行: | 第63行: | ||
{|style="margin: -2px 0 0 0 !important; padding: 0 !important; width: 100% !important;" | {|style="margin: -2px 0 0 0 !important; padding: 0 !important; width: 100% !important;" | ||
|- | |- | ||
− | |id="infoboxsection" style="width: 30%;"|基本售价 | + | |id="infoboxsection" style="width: 30%;"|基本售价 |
− | |id="infoboxsection" class="no-wrap" style="width: 30%;"|[[File:Fisher.png|24px|link=]] [[技能#钓鱼|<span style="color: white;">渔夫</span>]] | + | |id="infoboxsection" class="no-wrap" style="width: 30%;"|[[File:Fisher.png|24px|link=]] [[技能#钓鱼|<span style="color: white;">渔夫</span>]]<br />''(售价+25%)'' |
− | |id="infoboxsection" class="no-wrap" style="width: 30%;"|[[File:Angler Icon.png|24px|link=]] [[技能#钓鱼|<span style="color: white;">垂钓者</span>]] | + | |id="infoboxsection" class="no-wrap" style="width: 30%;"|[[File:Angler Icon.png|24px|link=]] [[技能#钓鱼|<span style="color: white;">垂钓者</span>]]<br />''(售价+50%)'' |
|- | |- | ||
|id="infoboxdetail"| {{#if:{{{price|}}} | {{Qualityprice|{{{eng|}}}|{{{price|0}}}|{{#if:{{{iridium|}}}|iridium|}}|hide={{{hideprice|}}}}} | {{#if:{{{sellprice|}}} | {{Qualityprice|{{{eng|}}}|{{{sellprice|0}}}|{{#if:{{{iridium|}}}|iridium|}}|hide={{{hideprice|}}}}} |}} }} | |id="infoboxdetail"| {{#if:{{{price|}}} | {{Qualityprice|{{{eng|}}}|{{{price|0}}}|{{#if:{{{iridium|}}}|iridium|}}|hide={{{hideprice|}}}}} | {{#if:{{{sellprice|}}} | {{Qualityprice|{{{eng|}}}|{{{sellprice|0}}}|{{#if:{{{iridium|}}}|iridium|}}|hide={{{hideprice|}}}}} |}} }} |
於 2018年10月20日 (六) 02:11 的修訂
有關此模板的詳細信息,請參閱英語語言文檔頁。
用法
可以通過在相關頁面上輸入以下內容來使用此模板。
{{Infobox fish}}
結果是...
Infobox fish | |
信息 | |
發現點 | 不適用 |
時間 | 不適用 |
季節 | 不適用 |
天氣 | 不適用 |
難度 | 不適用 |
大小(厘米) | 表達式錯誤:未預料的*操作符。 |
恢復效果 | Template:Edibility |
售價 |
基本售價 | 漁夫 (售價+25%) |
垂釣者 (售價+50%) |
錯誤:{{#seo:}} 必須至少包含一個有內容的屬性。