Template:Building construction time:修订间差异

(创建页面,内容为“<includeonly>{{icon|time}} {{#switch:{{lc:{{{1}}}}} | very quick = 1 year | quick = 2 years | standard = 3 years | slow = 5 years | very slow = 6 years | #default =…”)
 
 
(未显示同一用户的4个中间版本)
第1行: 第1行:
<includeonly>{{icon|time}} {{#switch:{{lc:{{{1}}}}}
<includeonly>{{icon|time}} {{#switch:{{lc:{{{1}}}}}
| very quick = 1 year
| very_quick_construction_time
| quick = 2 years
| very quick = 1
| standard = 3 years
| quick_construction_time
| slow = 5 years
| quick = 2
| very slow = 6 years
| standard_construction_time
| #default = <span style="color: red; font-size: 11px;">(unrecognized string “{{{1}}}” for [[Template:Construction time]])</span>[[Category:Pages with unrecognized construction time strings]]
| standard = 3
}}</includeonly><noinclude>{{template doc}}[[Category:模板]][[en:{{FULLPAGENAME}}]]</noinclude>
| slow_construction_time
| slow = 5
| very_slow_construction_time
| very slow = 6
| #default = <span style="color: red; font-size: 11px;">(unrecognized string “{{{1}}}” for [[Template:Construction time]])</span>[[Category: 页面有未识别的建造时间字符串]]
}}</includeonly><noinclude>{{template doc}}[[Category: 建筑 模板]][[en:{{FULLPAGENAME}}]]</noinclude>

2023年5月26日 (五) 01:25的最新版本

[阅读] [编辑]Template-info.png 模板文档

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

参数 [编辑源代码]

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

用法[编辑源代码]

语法:
{{construction time|identifier}}

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

举例:
{{construction time|slow_construction_time}}

将生成

5 年

其他建筑模板[编辑源代码]

分类:建筑模板

参考资料[编辑源代码]

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