Template:Building monthly piety:修订间差异

无编辑摘要
无编辑摘要
第1行: 第1行:
<includeonly>虔诚:{{icon|piety}}{{green|+{{#switch:{{{1}}}
<includeonly>虔诚:{{icon|piety}}{{green|+{{#switch:{{{1}}}
| custom = {{{2|0}}}%
| custom = {{{2|0}}}
| poor = {{#expr: 0.1 + 0.15 * {{{2|0}}} }}
| poor = {{#expr: 0.1 + 0.15 * {{{2|0}}} }}
| normal = {{#expr: 0.15 + 0.2 * {{{2|0}}} }}
| normal = {{#expr: 0.15 + 0.2 * {{{2|0}}} }}

2023年5月23日 (二) 20:27的版本

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

    此模板用于在CK3维基中规范化生成建筑提供每月虔诚,从而更容易在游戏更新时编辑它们的格式和数值。

参数

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

用法

语法:
{{Building monthly_piety|normal|5}}或者{{Building monthly_piety|400}}

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

使用默认等级数值举例:
{{Building monthly_piety|normal|5}}

将生成

虔诚: +1.15

自定义数值举例:
{{Building monthly_piety|3.3}}

将生成

虔诚: +(unrecognized string “3.3” for Template:Building development growth factor)

建筑虔诚数值列表

游戏建筑文件中借用赋税building_tax_tier的数值。

等级 poor normal good excellent copper mine silver mine special mine extra poor super poor
1 虔诚: +0.25

虔诚: +0.35

虔诚: +0.5

虔诚: +0.7

虔诚: +2

虔诚: +3

虔诚: +5

虔诚: +0.0625

虔诚: +0.125

2 虔诚: +0.4

虔诚: +0.55

虔诚: +0.8

虔诚: +1.15

虔诚: +3.5

虔诚: +5

虔诚: +8

虔诚: +0.1

虔诚: +0.2

3 虔诚: +0.55

虔诚: +0.75

虔诚: +1.1

虔诚: +1.6

虔诚: +5

虔诚: +7

虔诚: +11

虔诚: +0.1375

虔诚: +0.275

4 虔诚: +0.7

虔诚: +0.95

虔诚: +1.4

虔诚: +2.05

虔诚: +6.5

虔诚: +9

虔诚: +14

虔诚: +0.175

虔诚: +0.35

5 虔诚: +0.85

虔诚: +1.15

虔诚: +1.7

虔诚: +2.5

虔诚: +8

虔诚: +11

虔诚: +17

虔诚: +0.2125

虔诚: +0.425

6 虔诚: +1

虔诚: +1.35

虔诚: +2

虔诚: +2.95

虔诚: +9.5

虔诚: +13

虔诚: +20

虔诚: +0.25

虔诚: +0.5

7 虔诚: +1.15

虔诚: +1.55

虔诚: +2.3

虔诚: +3.4

虔诚: +11

虔诚: +15

虔诚: +23

虔诚: +0.2875

虔诚: +0.575

8 虔诚: +1.3

虔诚: +1.75

虔诚: +2.6

虔诚: +3.85

虔诚: +12.5

虔诚: +17

虔诚: +26

虔诚: +0.325

虔诚: +0.65

其他建筑模板

分类:建筑模板

参考资料