Template:Building mercenary hire cost mult/doc:修订间差异

无编辑摘要
第16行: 第16行:
== 用法 ==
== 用法 ==
;语法:
;语法:
:<code><nowiki>{{building mercenary hire cost|normal|5}}</nowiki></code>
:<code><nowiki>{{Building mercenary hire cost mult|normal|5}}</nowiki></code>


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


;举例:
;举例:
:<code><nowiki>{{building mercenary hire cost|normal|5}}</nowiki></code> 
:<code><nowiki>{{building mercenary hire cost mult|normal|5}}</nowiki></code> 


 将生成
 将生成


{{building mercenary hire cost|normal|5}}
{{building mercenary hire cost mult|normal|5}}


;举例:
;举例:
:<code><nowiki>{{building mercenary hire cost|custom|5.5}}</nowiki></code> 
:<code><nowiki>{{building mercenary hire cost mult|custom|5.5}}</nowiki></code> 


 将生成
 将生成


{{building mercenary hire cost|custom|5.5}}
{{building mercenary hire cost mult|custom|5.5}}


== 建筑雇佣兵雇佣花费增益列表 ==
== 建筑雇佣兵雇佣花费增益列表 ==
第42行: 第42行:
|-
|-
| 1
| 1
| {{Building mercenary hire cost|normal|1}}
| {{Building mercenary hire cost mult|normal|1}}
| {{Building mercenary hire cost|good|1}}
| {{Building mercenary hire cost mult|good|1}}
|-
|-
| 2
| 2
| {{Building mercenary hire cost|normal|2}}
| {{Building mercenary hire cost mult|normal|2}}
| {{Building mercenary hire cost|good|2}}
| {{Building mercenary hire cost mult|good|2}}
|-
|-
| 3
| 3
| {{Building mercenary hire cost|normal|3}}
| {{Building mercenary hire cost mult|normal|3}}
| {{Building mercenary hire cost|good|3}}
| {{Building mercenary hire cost mult|good|3}}
|-
|-
| 4
| 4
| {{Building mercenary hire cost|normal|4}}
| {{Building mercenary hire cost mult|normal|4}}
| {{Building mercenary hire cost|good|4}}
| {{Building mercenary hire cost mult|good|4}}
|-
|-
| 5
| 5
| {{Building mercenary hire cost|normal|5}}
| {{Building mercenary hire cost mult|normal|5}}
| {{Building mercenary hire cost|good|5}}
| {{Building mercenary hire cost mult|good|5}}
|-
|-
| 6
| 6
| {{Building mercenary hire cost|normal|6}}
| {{Building mercenary hire cost mult|normal|6}}
| {{Building mercenary hire cost|good|6}}
| {{Building mercenary hire cost mult|good|6}}
|-
|-
| 7
| 7
| {{Building mercenary hire cost|normal|7}}
| {{Building mercenary hire cost mult|normal|7}}
| {{Building mercenary hire cost|good|7}}
| {{Building mercenary hire cost mult|good|7}}
|-
|-
| 8
| 8
| {{Building mercenary hire cost|normal|8}}
| {{Building mercenary hire cost mult|normal|8}}
| {{Building mercenary hire cost|good|8}}
| {{Building mercenary hire cost mult|good|8}}
|}
|}



2023年5月26日 (五) 00:05的版本

[模板https://www.parawikis.com/wiki/Template:Template_doc_page_viewed_directly?action=raw读取失败:HTTP 502]     此模板用于在CK3维基中规范化生成建筑雇佣兵雇佣花费增益,从而更容易在游戏更新时编辑它们的格式和数值[1]

参数

1
第一个参数是建筑雇佣兵雇佣花费增益的分类。没有默认值,总是必须输入。目前支持以下数值:
  • normal
  • good
  • custom
2
如果第一个参数是custom,此参数输入自定义数值。
如果第一个参数不是,此参数输入建筑的等级。
没有默认值,总是必须输入。

用法

语法:
{{Building mercenary hire cost mult|normal|5}}

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

举例:
{{building mercenary hire cost mult|normal|5}}

将生成

雇佣兵雇佣花费:−4%

举例:
{{building mercenary hire cost mult|custom|5.5}}

将生成

雇佣兵雇佣花费:表达式错误:无法识别的词语“abscustom”。%

建筑雇佣兵雇佣花费增益列表

等级 normal good
1 雇佣兵雇佣花费:−0.8% 雇佣兵雇佣花费:−1.6%
2 雇佣兵雇佣花费:−1.6% 雇佣兵雇佣花费:−2.4%
3 雇佣兵雇佣花费:−2.4% 雇佣兵雇佣花费:−3.2%
4 雇佣兵雇佣花费:−3.2% 雇佣兵雇佣花费:−4%
5 雇佣兵雇佣花费:−4% 雇佣兵雇佣花费:−4.8%
6 雇佣兵雇佣花费:−4.8% 雇佣兵雇佣花费:−5.6%
7 雇佣兵雇佣花费:−5.6% 雇佣兵雇佣花费:−6.4%
8 雇佣兵雇佣花费:−6.4% 雇佣兵雇佣花费:−7.2%

其他建筑模板

分类:建筑模板

参考资料

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