Template:Building box/doc

< Template:Building box
咯咯炀讨论 | 贡献2020年11月14日 (六) 19:40的版本 (创建页面,内容为“<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW T…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
这是 Template:Building box模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。

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

Parameter Description Required Default
file Use this file path for the building image. Required
desc The in-game description of the building. Required
buildtime The construction time of the building and its upgrades (uses values for Template:Construction time) Optional (empty)

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

Building royal hunting grounds.png Dedicated archery ranges allow the common folk to train with bows, and experienced archers to hone their skills.
建造时间
2 年

See also