「テンプレート:Infobox animal」の版間の差分
ナビゲーションに移動
検索に移動
FlameArche (トーク | 投稿記録) 細 (カテゴリ変更) |
Margotbean (トーク | 投稿記録) |
||
(3人の利用者による、間の11版が非表示) | |||
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|}}}| | + | |colspan="2" style="text-align: center; padding-bottom: 15px;"|{{#if:{{{image}}}|[[File:{{{image|}}}|link=]]}}{{#if:{{{image2|}}}| [[File:{{{image2|}}}|link=]]|}}{{#if:{{{image3|}}}| [[File:{{{image3|}}}|link=]]|}}{{#if:{{{image4|}}}| [[File:{{{image4|}}}|link=]]|}} |
|- | |- | ||
− | |colspan=2|{{#if:{{{ | + | |colspan="2" id="infoboxdetail" style="text-align: center;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}} |
+ | |- | ||
+ | |colspan="2" id="infoboxsection" style="text-align: center;"|情報 | ||
|- | |- | ||
|id="infoboxsection"|建物 | |id="infoboxsection"|建物 | ||
− | |id="infoboxdetail"|{{#if:{{{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|なし}}}|なし}} |
|- | |- | ||
− | + | |}</div>{{InfoboxSEO}}</includeonly><noinclude>{{Englishdoc}}</noinclude> | |
− | |} | ||
− | </div> | ||
− | |||
− | |||
− | </includeonly> | ||
− | <noinclude>{{ |
2023年1月9日 (月) 00:20時点における最新版
このテンプレートの詳細については、英語のドキュメントページを参照してください。
使用法
このテンプレートは、関連するページに以下を入力することによって使用できます。
{{Infobox animal}}
結果は...
Infobox animal | |
[[File:|link=]] | |
情報 | |
建物 | なし |
購入金額 | なし |
産物 | なし |