(创建页面,内容为“<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW T…”) |
|||
第7行: | 第7行: | ||
== Parameters == | == Parameters == | ||
{| class="wikitable" | {| class="wikitable" | ||
! | ! 参数 | ||
! | ! 描述 | ||
! | ! 要求 | ||
! | ! 默认 | ||
|- | |- | ||
| file || | | file || 建筑图片的文件路径 || 必要 || | ||
|- | |- | ||
| desc || | | desc || 游戏内的建筑描述 || 必要 || | ||
|- | |- | ||
| buildtime || | | buildtime || 建筑的建造和升级时间(使用模板{{t|Construction time}}中的值)|| 可选 || (空) | ||
|} | |} | ||
2020年12月17日 (四) 17:56的版本
This template can be used to add an introductory infobox for a building. It shows the icon of the building alongside its in-game description. The icon's width is constant, defined by the template. The description is automatically quoted.
Use this template to standardise the display of buildings in their respective pages.
Parameters
参数 | 描述 | 要求 | 默认 |
---|---|---|---|
file | 建筑图片的文件路径 | 必要 | |
desc | 游戏内的建筑描述 | 必要 | |
buildtime | 建筑的建造和升级时间(使用模板 {{Construction time}} 中的值) |
可选 | (空) |
Example
==== Archery Grounds ==== {{Building box | file=Building royal hunting grounds.png | desc=Dedicated archery ranges allow the common folk to train with bows, and experienced archers to hone their skills. | buildtime=quick }}
Archery Grounds
Dedicated archery ranges allow the common folk to train with bows, and experienced archers to hone their skills.
|