Template:Building box/doc:修订间差异

(创建页面,内容为“<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"
! Parameter
! 参数
! Description
! 描述
! Required
! 要求
! Default
! 默认
|-
|-
| file || Use this file path for the building image. || Required || 
| file || 建筑图片的文件路径 || 必要 || 
|-
|-
| desc || The in-game description of the building. || Required ||
| desc || 游戏内的建筑描述 || 必要 ||
|-
|-
| buildtime || The construction time of the building and its upgrades (uses values for [[Template:Construction time]]) || Optional || (empty)
| buildtime || 建筑的建造和升级时间(使用模板{{t|Construction time}}中的值)|| 可选 || (空)
|}
|}



2020年12月17日 (四) 17:56的版本

[模板https://www.parawikis.com/wiki/Template:Template_doc_page_viewed_directly?action=raw读取失败:HTTP 502] 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 建筑的建造和升级时间(使用模板[模板https://www.parawikis.com/wiki/Template:Tlx?action=raw读取失败:HTTP 502]中的值) 可选  (空)

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