「Template:Infobox fish」修訂間的差異

出自Stardew Valley Wiki
跳至導覽 跳至搜尋
(add behavior, allow suppression of quality for edibility and price)
(allow for description template to populate the description field)
行 1: 行 1:
 
<includeonly><div id="infoboxborder">
 
<includeonly><div id="infoboxborder">
 
{| id="infoboxtable"
 
{| id="infoboxtable"
|colspan=2 id="infoboxheader"|{{{name|{{PAGENAME}}}}}
+
|colspan="2" id="infoboxheader"|{{{name|{{PAGENAME}}}}}
 
|-
 
|-
|colspan=2|{{#if: {{{image}}}|[[File:{{{image|{{{name|{{PAGENAME}}}}}.png}}}|center|link=]]}}
+
|colspan="2" style="padding-bottim: 5px;"|{{#if: {{{image}}}|[[File:{{{image|{{{name|{{PAGENAME}}}}}.png}}}|center|link=]]}}
 
|-
 
|-
|colspan=2 align="center" id="infoboxdetail"|{{{description|}}}
+
|colspan="2" id="infoboxdetail" style="text-align: center;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}}
 
|-
 
|-
 
|colspan=2 id="infoboxsection" style="text-align:center;"|信息
 
|colspan=2 id="infoboxsection" style="text-align:center;"|信息

於 2018年10月1日 (一) 19:16 的修訂

有關此模板的詳細信息,請參閱英語語言文檔頁

用法

可以通過在相關頁面上輸入以下內容來使用此模板。

{{Infobox fish}}

結果是...

Infobox fish
信息
發現點: 不適用
時間: 不適用
季節: 不適用
天氣: 不適用
難度: 不適用
大小: 不適用
恢復效果: Template:Edibility
售價
基本售價: Fisher.png 漁夫:
(售價+25%)
Angler Icon.png 垂釣者:
(售價+50%)
錯誤:{{#seo:}} 必須至少包含一個有內容的屬性。