“Template:Infobox building”的版本间的差异
跳到导航
跳到搜索
(创建页面,内容为“<includeonly><div id="infoboxborder"> {| class="location" id="infoboxtable" |colspan=2 id="infoboxheader"|{{{name|}}} |- |colspan=2 |File:{{{image|}}}|center|{{#if...”) |
|||
第5行: | 第5行: | ||
|colspan=2 |[[File:{{{image|}}}|center|{{#if:{{{width|}}}|{{{width|}}}|}}]] | |colspan=2 |[[File:{{{image|}}}|center|{{#if:{{{width|}}}|{{{width|}}}|}}]] | ||
|- | |- | ||
− | |id="infoboxsection"| | + | |id="infoboxsection"| 建造成本: |
|id="infoboxdetail"|{{{cost|}}} | |id="infoboxdetail"|{{{cost|}}} | ||
|- | |- | ||
− | |id="infoboxsection"| | + | |id="infoboxsection"| 建筑材料: |
|id="infoboxdetail"|{{{materials|}}} | |id="infoboxdetail"|{{{materials|}}} | ||
{{#if:{{{animals|}}}| | {{#if:{{{animals|}}}| | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}} | + | {{!}}id="infoboxsection"{{!}} 动物: |
{{!}}id="infoboxdetail"{{!}}{{{animals|}}}|}} | {{!}}id="infoboxdetail"{{!}}{{{animals|}}}|}} | ||
{{#if:{{{capacity|}}}| | {{#if:{{{capacity|}}}| | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}} | + | {{!}}id="infoboxsection"{{!}} 容量: |
{{!}}id="infoboxdetail"{{!}}{{{capacity|}}}|}} | {{!}}id="infoboxdetail"{{!}}{{{capacity|}}}|}} | ||
|- | |- | ||
− | |id="infoboxsection"| | + | |id="infoboxsection"| 尺寸: |
|id="infoboxdetail"|[[File:Marker{{{size|}}}.png|{{{size|}}}|center]] | |id="infoboxdetail"|[[File:Marker{{{size|}}}.png|{{{size|}}}|center]] | ||
|- | |- |
2017年3月25日 (六) 08:26的版本
有关此模板的详细信息,请参阅英语语言文档页。
用法
可以通过在相关页面上输入以下内容来使用此模板。
{{Infobox building}}
结果是...
[[File:|center|]] | ||
建造成本: | ||
建筑材料: |
| |
尺寸: | [[File:Marker.png | center]] |
Error: {{#seo:}} must contain at least one non-empty attribute.