(创建页面,内容为“<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW T…”) |
(→另见) |
||
| (未显示2个用户的6个中间版本) | |||
| 第1行: | 第1行: | ||
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> | <includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]] | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | |||
此模板用于为建筑生成一个介绍框。它将显示建筑的图标以及在游戏内的描述。图标宽度是常数,由模板定义。描述将被自动加上引号。 | |||
使用此模板来规范化生成建筑的介绍框。 | |||
== | == 参数 == | ||
{| class="wikitable" | {| class="wikitable" | ||
! | ! 参数 | ||
! | ! 描述 | ||
! | ! 要求 | ||
! | ! 默认 | ||
|- | |- | ||
| file || | | file || 建筑图片的文件路径 || 必要 || | ||
|- | |- | ||
| desc || | | desc || 游戏内的建筑描述 || 必要 || | ||
|- | |- | ||
| buildtime || | | buildtime || 建筑的建造和升级时间(使用模板{{t|Construction time}}中的值)|| 可选 || (空) | ||
|} | |} | ||
== | == 举例 == | ||
<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 | ||
}} | }} | ||
== | == 另见 == | ||
* [[Template:Quote]] | * [[Template:Quote]] | ||
* [[Template:Construction time]] | * [[Template:Construction time]] | ||
* [[:分类:建筑模板]] | |||
2023年5月22日 (一) 22:48的最新版本
此模板用于为建筑生成一个介绍框。它将显示建筑的图标以及在游戏内的描述。图标宽度是常数,由模板定义。描述将被自动加上引号。
使用此模板来规范化生成建筑的介绍框。
参数 [编辑源代码]
| 参数 | 描述 | 要求 | 默认 |
|---|---|---|---|
| file | 建筑图片的文件路径 | 必要 | |
| desc | 游戏内的建筑描述 | 必要 | |
| buildtime | 建筑的建造和升级时间(使用模板 {{Construction time}}中的值) |
可选 | (空) |
举例 [编辑源代码]
==== 射箭场 ====
{{Building box
| file=Building royal hunting grounds.png
| desc=专门的靶场让普通人也能用弓箭训练,也让有经验的弓箭手能磨练技艺。
| buildtime=quick
}}
将生成:
射箭场[编辑源代码]
专门的靶场让普通人也能用弓箭训练,也让有经验的弓箭手能磨练技艺。
|