Template:Building construction time/doc:修订间差异

(创建页面,内容为“<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW T…”)
 
无编辑摘要
第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>
    <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
    <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
This template can be used to standardise construction time for buildings in the CK3 wiki, thus making it easier to edit their formatting and values in the event of game updates. All times are displayed in terms of years.
此模板用于在CK3维基中规范化生成建筑的建造时间,从而更容易在游戏更新时编辑它们的格式和数值<ref>基础数值与每级的增长数值见{{Cite file|Crusader Kings III\game\common\script_values\00_building_values.txt}}中的Construction Time部分</ref>。所有时间以年作为单位显示。
== Parameters ==
== 参数 ==
;1
;1
:The first and only parameter is the identifier for the construction time. It has no default value, and is always required. Only the year value is displayed. The following values are currently supported:
: 唯一的参数是建造时间标识。没有默认值,总是必须输入。仅显示年数。目前支持以下数值:
{| class="wikitable"
{| class="wikitable"
! Identifier
! 标识
! Time (days)
! 时间(天)
! Time (years)
! 时间(年)
|-
|-
| very quick
| very quick
第31行: 第31行:
|}
|}


== Usage ==
== 用法 ==
;Syntax:
; 语法:
:<code><nowiki>{{construction time|identifier}}</nowiki></code>
:<code><nowiki>{{construction time|identifier}}</nowiki></code>


Insert the relevant identifier in the above syntax.
替换上面的语法中的相应修正参数。


;Example:
; 举例:
:<code><nowiki>{{construction time|standard}}</nowiki></code> will generate {{construction time|standard}}.
:<code><nowiki>{{construction time|standard}}</nowiki></code> 


== See also ==
将生成
 
{{construction time|standard}}.
 
== 另见 ==
* [[Template:Building advantage]]
* [[Template:Building advantage]]
* [[Template:Building cost]]
* [[Template:Building cost]]
第46行: 第50行:
* [[Template:Building speed]]
* [[Template:Building speed]]
* [[Template:Building tax]]
* [[Template:Building tax]]
== 参考资料 ==
<references/>

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

这是 Template:Building construction time模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。

此模板用于在CK3维基中规范化生成建筑的建造时间,从而更容易在游戏更新时编辑它们的格式和数值[1]。所有时间以年作为单位显示。

参数 

1
唯一的参数是建造时间标识。没有默认值,总是必须输入。仅显示年数。目前支持以下数值:
标识 时间(天) 时间(年)
very quick 365 1
quick 730 2
standard 1095 3
slow 1825 5
very slow 2190 6

用法

语法:
{{construction time|identifier}}

替换上面的语法中的相应修正参数。

举例:
{{construction time|standard}}

将生成

3 年.

另见

参考资料

  1. 基础数值与每级的增长数值见Crusader Kings III\game\common\script_values\00_building_values.txt中的Construction Time部分