第9行: |
第9行: |
| |colspan="2" id="infoboxsection" style="text-align: center;"|信息 | | |colspan="2" id="infoboxsection" style="text-align: center;"|信息 |
| |- | | |- |
− | |id="infoboxsection"|建造 价格 | + | |id="infoboxsection"|建造 成本: |
| |id="infoboxdetail"|{{{cost|}}} | | |id="infoboxdetail"|{{{cost|}}} |
| |- | | |- |
− | |id="infoboxsection"| 所需 材料 | + | |id="infoboxsection"| 建筑 材料: |
| |id="infoboxdetail"|{{{materials|}}}<!-- | | |id="infoboxdetail"|{{{materials|}}}<!-- |
| -->{{#if:{{{animals|}}}|<nowiki /> | | -->{{#if:{{{animals|}}}|<nowiki /> |
| {{!}}- | | {{!}}- |
− | {{!}}id="infoboxsection"{{!}} 容纳 动物 | + | {{!}}id="infoboxsection"{{!}}动物: |
| {{!}}id="infoboxdetail"{{!}}{{{animals|}}}|}}<!-- | | {{!}}id="infoboxdetail"{{!}}{{{animals|}}}|}}<!-- |
| -->{{#if:{{{capacity|}}}|<nowiki /> | | -->{{#if:{{{capacity|}}}|<nowiki /> |
| {{!}}- | | {{!}}- |
− | {{!}}id="infoboxsection"{{!}} 建筑 容量 | + | {{!}}id="infoboxsection"{{!}}容量: |
| {{!}}id="infoboxdetail"{{!}}{{{capacity|}}}|}} | | {{!}}id="infoboxdetail"{{!}}{{{capacity|}}}|}} |
| |- | | |- |
− | |id="infoboxsection"| 占地面积 | + | |id="infoboxsection"| 尺寸: |
| |id="infoboxdetail" style="text-align: center;"| {{#if:{{{sizehv|}}} |'''{{{sizehv|}}}'''<br />[[File:Marker{{{size|}}}.png|{{{size|}}}|center]] | [[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>[[Category:农场建筑]]{{InfoboxSEO}}</includeonly><noinclude>{{Englishdoc}} | + | |}</div>[[Category:农场建筑]]{{InfoboxSEO}}</includeonly><noinclude>{{Englishdoc}}</noinclude> |
− | | |
− | {{翻译}}
| |
− | | |
− | ==描述==
| |
− | This template is used to provide an infobox for farm buildings.
| |
− | | |
− | ==使用==
| |
− | This template can be used by entering the following onto a relevant page. '''Do not use this on your user page. It is reserved for content pages.'''
| |
− | | |
− | <pre>{{Infobox building
| |
− | |name =
| |
− | |image =
| |
− | |description =
| |
− | |cost =
| |
− | |materials =
| |
− | |animals =
| |
− | |capacity =
| |
− | |size =
| |
− | |sizehv =
| |
− | }}</pre>
| |
− | | |
− | ==参数==
| |
− | <pre>{{Infobox building
| |
− | |name = Location name
| |
− | |image = The image name, minus the File:
| |
− | |description = The building description, if one exists. Automatically populated by Template:Description if omitted.
| |
− | |cost = Cost of building construction (gold)
| |
− | |materials = Materials required for building construction
| |
− | |animals = A list of the animals able to stay in this building, if applicable
| |
− | |capacity = The maximum number of animals storable in this building
| |
− | |size = The size of the building (this requires that you know the name of the image used; some use width x height and some use height x width)
| |
− | |sizehv = The size of the building in format horizontal x vertical (optional)
| |
− | }}</pre></noinclude>
| |