Template:Building cost/doc

< Template:Building cost
自由之民讨论 | 贡献2022年3月18日 (五) 14:43的版本 (文本替换 - 替换“{{template doc page viewed directly}}</noinclude>”为“{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]]”)
这是 Template:Building cost模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。

此模板用于在CK3维基中规范化生成建筑的金钱花费,从而更容易在游戏更新时编辑它们的格式和数值[1]

参数

1
第一个参数是建筑花费的分类。没有默认值,总是必须输入。目前支持以下数值:
  • cheap
  • normal
  • expensive
  • main
  • tribal
2
第二个参数是建筑的等级。没有默认值,总是必须输入。目前,仅支持1至8的数值。注意,游戏内 main 和 tribal 对应的最高等级只有5级和2级。

用法

语法:
{{building cost|cheap|4}}

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

举例:
{{building cost|cheap|4}}

将生成

4金钱

建筑花费列表

等级 cheap normal expensive main tribal
1 1金钱 1金钱 1金钱 1金钱 1金钱
2 2金钱 2金钱 2金钱 2金钱 2金钱
3 3金钱 3金钱 3金钱 3金钱 -
4 4金钱 4金钱 4金钱 4金钱 -
5 5金钱 5金钱 5金钱 5金钱 -
6 6金钱 6金钱 6金钱 - -
7 7金钱 7金钱 7金钱 - -
8 8金钱 8金钱 8金钱 - -

另见

参考资料

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