Template:Building levy reinforcement rate:修订间差异

(建立内容为“<includeonly>{{icon|levy}} {{green|+{{#switch:{{{1}}} | normal = {{#expr: 0.05 + 0.05 * {{{2|0}}} }} | high = {{#expr: 0.1 + 0.1 * {{{2|0}}} }} | #default = <span…”的新页面)
 
无编辑摘要
 
(未显示同一用户的4个中间版本)
第1行: 第1行:
<includeonly>{{icon|levy}} {{green|+{{#switch:{{{1}}}
<includeonly> 征召兵补员速率:{{icon|levies}}{{green|+{{#switch:{{{1}}}
| normal = {{#expr: 0.05 + 0.05 * {{{2|0}}} }}
| normal = {{#expr: 5 + 5 * {{{2|0}}} }}%
| high = {{#expr: 0.1 + 0.1 * {{{2|0}}} }}
| high = {{#expr: 10 + 10 * {{{2|0}}} }}%
| #default = <span style="color: red; font-size: 11px;">(unrecognized string “{{{1}}} ” for [[Template:Building levy reinforcement rate]])</span>[[Category:页面有未识别的建筑征召兵补员速率字符串]]
| #default = {{#expr: 100 * {{{1|0}}} }}%
}}}} 征召兵补员速率</includeonly><noinclude>{{template doc}}[[Category:建筑模板]]</noinclude>
}}}}</includeonly><noinclude>{{template doc}}[[Category:建筑模板]]</noinclude>

2023年5月31日 (三) 18:55的最新版本

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

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

参数[编辑源代码]

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

用法[编辑源代码]

语法:
{{Building levy reinforcement rate|normal|5}}或者{{Building levy reinforcement rate|0.75}}

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

举例:
{{Building levy reinforcement rate|normal|5}}

将生成

征召兵补员速率:+30%

举例:
{{Building levy reinforcement rate|0.75}}

将生成

征召兵补员速率:+75%

建筑征召兵补员速率增益列表[编辑源代码]

等级 normal good
1 征召兵补员速率:+10% 征召兵补员速率:+20%
2 征召兵补员速率:+15% 征召兵补员速率:+30%
3 征召兵补员速率:+20% 征召兵补员速率:+40%
4 征召兵补员速率:+25% 征召兵补员速率:+50%
5 征召兵补员速率:+30% 征召兵补员速率:+60%
6 征召兵补员速率:+35% 征召兵补员速率:+70%
7 征召兵补员速率:+40% 征召兵补员速率:+80%
8 征召兵补员速率:+45% 征召兵补员速率:+90%

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

分类:建筑模板

参考资料[编辑源代码]

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