第19行: | 第19行: | ||
|} | |} | ||
== | == 举例 == | ||
<pre>==== | <pre>==== 射箭场 ==== | ||
{{Building box | {{Building box | ||
| file=Building royal hunting grounds.png | | file=Building royal hunting grounds.png | ||
| desc= | | desc= 专门的靶场让普通人也能用弓箭训练,也让有经验的弓箭手能磨练技艺。 | ||
| buildtime=quick | | buildtime=quick | ||
}}</pre> | }}</pre> | ||
==== | 将生成: | ||
==== 射箭场 ==== | |||
{{Building box | {{Building box | ||
| file=Building royal hunting grounds.png | | file=Building royal hunting grounds.png | ||
| desc= | | desc= 专门的靶场让普通人也能用弓箭训练,也让有经验的弓箭手能磨练技艺。 | ||
| buildtime=quick | | buildtime=quick | ||
}} | }} |
2020年12月17日 (四) 17:58的版本
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}} 中的值) |
可选 | (空) |
举例
==== 射箭场 ==== {{Building box | file=Building royal hunting grounds.png | desc=专门的靶场让普通人也能用弓箭训练,也让有经验的弓箭手能磨练技艺。 | buildtime=quick }}
将生成:
射箭场
专门的靶场让普通人也能用弓箭训练,也让有经验的弓箭手能磨练技艺。
|