「Template:Infobox fish」修訂間的差異
跳至導覽
跳至搜尋
Margotbean(討論 | 貢獻) (default any weather) |
Margotbean(討論 | 貢獻) (time optional and defaults to "any") |
||
行 10: | 行 10: | ||
|- | |- | ||
|id="infoboxsection"|发现点 | |id="infoboxsection"|发现点 | ||
− | |id="infoboxdetail"|{{#if:{{{location|}}}|{{{location|不适用}}}|不适用}} | + | |id="infoboxdetail"|{{#if:{{{location|}}}|{{{location|不适用}}}|不适用}}<!-- |
− | |- | + | -->{{#if:{{{time|}}}|<nowiki /> |
− | + | {{!}}- | |
− | + | {{!}}id="infoboxsection"{{!}} 时间 | |
+ | {{!}}id="infoboxdetail"{{!}}{{#switch:{{lc:{{{time|}}}}} | ||
+ | |any | all = 随时 | ||
+ | |#default={{{time|}}} }} | ||
+ | |}}<!-- | ||
-->{{#if:{{{season|}}} |<nowiki /> | -->{{#if:{{{season|}}} |<nowiki /> | ||
{{!}}- | {{!}}- |
於 2018年10月21日 (日) 20:44 的修訂
有關此模板的詳細信息,請參閱英語語言文檔頁。
用法
可以通過在相關頁面上輸入以下內容來使用此模板。
{{Infobox fish}}
結果是...
Infobox fish | ||||||||||
信息 | ||||||||||
發現點 | 不適用 | |||||||||
天氣 | 任何天氣 | |||||||||
難度 | 不適用 | |||||||||
恢復效果 | Template:Edibility | |||||||||
|
錯誤:{{#seo:}} 必須至少包含一個有內容的屬性。