「テンプレート:Infobox animal」の版間の差分
ナビゲーションに移動
検索に移動
Margotbean (トーク | 投稿記録) |
Margotbean (トーク | 投稿記録) (add purchase price) |
||
10行目: | 10行目: | ||
|- | |- | ||
|id="infoboxsection"|建物 | |id="infoboxsection"|建物 | ||
− | |id="infoboxdetail"|{{#if:{{{building|}}}|{{{building| | + | |id="infoboxdetail"|{{#if:{{{building|}}}|{{{building|なし}}}|なし}} |
+ | |- | ||
+ | |id="infoboxsection"|購入金額 | ||
+ | |id="infoboxdetail"|{{#iferror:{{price|{{{buyprice|なし}}}}}|なし|{{price|{{{buyprice|}}} }} }} | ||
|- | |- | ||
|id="infoboxsection"|産物 | |id="infoboxsection"|産物 | ||
− | |id="infoboxdetail"|{{#if:{{{produce|}}}|{{{produce| | + | |id="infoboxdetail"|{{#if:{{{produce|}}}|{{{produce|なし}}}|なし}} |
|- | |- | ||
|} | |} |
2019年11月5日 (火) 15:04時点における版
このテンプレートの詳細については、英語のドキュメントページを参照してください。
使用法
このテンプレートは、関連するページに以下を入力することによって使用できます。
{{Infobox animal}}
結果は...
Infobox animal | |
[[File:|link=]] | |
情報 | |
建物 | なし |
購入金額 | なし |
産物 | なし |
Error: {{#seo:}} must contain at least one non-empty attribute.