「テンプレート:Infobox building」の版間の差分
ナビゲーションに移動
検索に移動
細 (カテゴリ追加) |
Margotbean (トーク | 投稿記録) (allow for description template to populate the description field) |
||
1行目: | 1行目: | ||
<includeonly><div id="infoboxborder"> | <includeonly><div id="infoboxborder"> | ||
{| class="location" id="infoboxtable" | {| class="location" id="infoboxtable" | ||
− | |colspan=2 id="infoboxheader"|{{{name|}}} | + | |colspan=2 id="infoboxheader"|{{{name|{{PAGENAME}}}}} |
|- | |- | ||
− | |colspan="2" | + | |colspan="2" style="padding-bottom: {{#ifeq:{{Description|{{PAGENAME}}}}| |0|5px}};"|[[File:{{{image|}}}|center|{{#if:{{{width|}}}|{{{width|}}}|}}]] |
+ | |- | ||
+ | |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日 (月) 20:39時点における版
このテンプレートの詳細については、英語のドキュメントページを参照してください。
使用法
このテンプレートは、関連するページに以下を入力することによって使用できます。
{{Infobox building}}
結果は...
Infobox building | ||
[[File:|center|]] | ||
情報 | ||
建築費用: | ||
建築材料: | ||
大きさ: | [[File:Marker.png | center]] |
Error: {{#seo:}} must contain at least one non-empty attribute.