Template:Building stationed maa damage mult:修订间差异

(建立内容为“<includeonly>{{Building maa bonuses|{{{1}}}|{{{2}}}|damage|maa}}</includeonly><noinclude>{{template doc}}Category:建筑模板</noinclude>”的新页面)
 
无编辑摘要
第1行: 第1行:
<includeonly>{{Building maa bonuses|{{{1}}}|{{{2}}}|damage|maa}}</includeonly><noinclude>{{template doc}}[[Category:建筑模板]]</noinclude>
<includeonly>{{Building maa bonuses|{{#switch:{{{1}}}
| low = low
| normal
| high
| very high
| #default = custom
|{{{2}}}|damage|maa}}</includeonly><noinclude>{{template doc}}[[Category:建筑模板]]</noinclude>

2023年6月1日 (四) 19:36的版本

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

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

参数

1
第一个参数是数值的等级或者具体数值。没有默认值,总是必须输入。数值的等级目前支持以下数值:
  • low
  • normal
  • high
  • very high
2
如果第一个参数为数值的等级,则第二个参数是建筑的等级。目前,仅支持1至8的数值。
如果第一个参数为具体数值,无此参数。

用法

语法:
{{building stationed maa damage mult|normal|2}}或者{{building stationed maa damage mult|0.75}}

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

举例:
{{building stationed maa damage mult|normal|2}}

将生成

{{Building maa bonuses|custom

举例:
{{Building stationed maa damage mult|0.75}}

将生成

{{Building maa bonuses|maa

驻扎兵士增益列表

等级 low normal high very high
1 low custom custom custom
2 low custom custom custom
3 low custom custom custom
4 low custom custom custom
5 low custom custom custom
6 low custom custom custom
7 low custom custom custom
8 low custom custom custom

其他建筑模板

分类:建筑模板

参考资料

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