「テンプレート:Infobox building」の版間の差分
ナビゲーションに移動
検索に移動
(翻訳) |
Margotbean (トーク | 投稿記録) (allow for 2 images for Gold Clock page) |
||
(5人の利用者による、間の11版が非表示) | |||
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 |[[File:{{{image|}}}|center|{{#if:{{{width|}}}|{{{width|}}}|}}]] | + | |colspan="2" style="padding-bottom: {{#ifeq:{{Description|{{PAGENAME}}}}| |0|5px}}; text-align: center;"|[[File:{{{image|}}}{{#if:{{{image2|}}}||{{!}}center}}|{{#if:{{{width|}}}|{{{width|}}}|}}]]{{#if:{{{image2|}}}| [[File:{{{image2|}}}{{!}}{{#if:{{{width|}}}|{{{width|}}}|}}]]|}} |
+ | |- | ||
+ | |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"|建築費用: | ||
9行目: | 13行目: | ||
|- | |- | ||
|id="infoboxsection"|建築材料: | |id="infoboxsection"|建築材料: | ||
− | |id="infoboxdetail"|{{{materials|}}} | + | |id="infoboxdetail"|{{{materials|}}}<!-- |
− | {{#if:{{{animals|}}}| | + | -->{{#if:{{{animals|}}}|<nowiki /> |
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}}動物: | {{!}}id="infoboxsection"{{!}}動物: | ||
− | {{!}}id="infoboxdetail"{{!}}{{{animals|}}}|}} | + | {{!}}id="infoboxdetail"{{!}}{{{animals|}}}|}}<!-- |
− | {{#if:{{{capacity|}}}| | + | -->{{#if:{{{capacity|}}}|<nowiki /> |
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}} | + | {{!}}id="infoboxsection"{{!}}収容可能数: |
{{!}}id="infoboxdetail"{{!}}{{{capacity|}}}|}} | {{!}}id="infoboxdetail"{{!}}{{{capacity|}}}|}} | ||
|- | |- | ||
|id="infoboxsection"|大きさ: | |id="infoboxsection"|大きさ: | ||
− | |id="infoboxdetail"|[[File:Marker{{{size|}}}.png|{{{size|}}}|center]] | + | |id="infoboxdetail" style="text-align: center;"| {{#if:{{{sizehv|}}} |'''{{{sizehv|}}}'''<br />[[File:Marker{{{size|}}}.png|{{{size|}}}|center]] | [[File:Marker{{{size|}}}.png|{{{size|}}}|center]]}} |
|- | |- | ||
− | + | |}</div>{{InfoboxSEO}}</includeonly><noinclude>{{Englishdoc}}</noinclude> | |
− | | | ||
− | |||
− | |||
− | |||
− | }}</includeonly><noinclude>{{ |
2024年7月21日 (日) 22:33時点における最新版
このテンプレートの詳細については、英語のドキュメントページを参照してください。
使用法
このテンプレートは、関連するページに以下を入力することによって使用できます。
{{Infobox building}}
結果は...
Infobox building | ||
[[File:|center|]] | ||
情報 | ||
建築費用: | ||
建築材料: | ||
大きさ: | [[File:Marker.png | center]] |