Template:Building monthly piety:修订间差异

无编辑摘要
无编辑摘要
第11行: 第11行:
| super poor = {{#expr: (0.1 + 0.15 * {{{2|0}}})/2}}
| super poor = {{#expr: (0.1 + 0.15 * {{{2|0}}})/2}}
| #default = <span style="color: red; font-size: 11px;">(unrecognized string “{{{1}}}” for [[Template:Building development growth factor]])</span>[[Category:页面有未识别的虔诚字符串]]}}
| #default = <span style="color: red; font-size: 11px;">(unrecognized string “{{{1}}}” for [[Template:Building development growth factor]])</span>[[Category:页面有未识别的虔诚字符串]]}}
}}/月{{#ifeq:{{{roundingnote|}}}|yes|<ref name="TooltipRoundsDownBuildingScriptingValue">游戏内提示条显示的是向下取整的数值。如+0.25显示为+0.2。参见{{cite file|game\common\script_values\00_building_values.txt}}。</ref>|}}</includeonly><noinclude>{{template doc}}[[Category:建筑模板]]</noinclude>
}}/月|}}{{#ifeq:{{{roundingnote|}}}|yes|<ref name="TooltipRoundsDownBuildingScriptingValue">游戏内提示条显示的是向下取整的数值。如+0.25显示为+0.2。参见{{cite file|game\common\script_values\00_building_values.txt}}。</ref></includeonly><noinclude>{{template doc}}[[Category:建筑模板]]</noinclude>

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

[阅读] [编辑]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 /月|}}{{#ifeq:|yes|[1]

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

将生成

虔诚:+(unrecognized string “3.3” for Template:Building development growth factor) /月|}}{{#ifeq:|yes|[1]

建筑虔诚数值列表

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

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

/月|}}{{#ifeq:|yes|[1]

虔诚:+0.35

/月|}}{{#ifeq:|yes|[1]

虔诚:+0.5

/月|}}{{#ifeq:|yes|[1]

虔诚:+0.7

/月|}}{{#ifeq:|yes|[1]

虔诚:+2

/月|}}{{#ifeq:|yes|[1]

虔诚:+3

/月|}}{{#ifeq:|yes|[1]

虔诚:+5

/月|}}{{#ifeq:|yes|[1]

虔诚:+0.0625

/月|}}{{#ifeq:|yes|[1]

虔诚:+0.125

/月|}}{{#ifeq:|yes|[1]

2 虔诚:+0.4

/月|}}{{#ifeq:|yes|[1]

虔诚:+0.55

/月|}}{{#ifeq:|yes|[1]

虔诚:+0.8

/月|}}{{#ifeq:|yes|[1]

虔诚:+1.15

/月|}}{{#ifeq:|yes|[1]

虔诚:+3.5

/月|}}{{#ifeq:|yes|[1]

虔诚:+5

/月|}}{{#ifeq:|yes|[1]

虔诚:+8

/月|}}{{#ifeq:|yes|[1]

虔诚:+0.1

/月|}}{{#ifeq:|yes|[1]

虔诚:+0.2

/月|}}{{#ifeq:|yes|[1]

3 虔诚:+0.55

/月|}}{{#ifeq:|yes|[1]

虔诚:+0.75

/月|}}{{#ifeq:|yes|[1]

虔诚:+1.1

/月|}}{{#ifeq:|yes|[1]

虔诚:+1.6

/月|}}{{#ifeq:|yes|[1]

虔诚:+5

/月|}}{{#ifeq:|yes|[1]

虔诚:+7

/月|}}{{#ifeq:|yes|[1]

虔诚:+11

/月|}}{{#ifeq:|yes|[1]

虔诚:+0.1375

/月|}}{{#ifeq:|yes|[1]

虔诚:+0.275

/月|}}{{#ifeq:|yes|[1]

4 虔诚:+0.7

/月|}}{{#ifeq:|yes|[1]

虔诚:+0.95

/月|}}{{#ifeq:|yes|[1]

虔诚:+1.4

/月|}}{{#ifeq:|yes|[1]

虔诚:+2.05

/月|}}{{#ifeq:|yes|[1]

虔诚:+6.5

/月|}}{{#ifeq:|yes|[1]

虔诚:+9

/月|}}{{#ifeq:|yes|[1]

虔诚:+14

/月|}}{{#ifeq:|yes|[1]

虔诚:+0.175

/月|}}{{#ifeq:|yes|[1]

虔诚:+0.35

/月|}}{{#ifeq:|yes|[1]

5 虔诚:+0.85

/月|}}{{#ifeq:|yes|[1]

虔诚:+1.15

/月|}}{{#ifeq:|yes|[1]

虔诚:+1.7

/月|}}{{#ifeq:|yes|[1]

虔诚:+2.5

/月|}}{{#ifeq:|yes|[1]

虔诚:+8

/月|}}{{#ifeq:|yes|[1]

虔诚:+11

/月|}}{{#ifeq:|yes|[1]

虔诚:+17

/月|}}{{#ifeq:|yes|[1]

虔诚:+0.2125

/月|}}{{#ifeq:|yes|[1]

虔诚:+0.425

/月|}}{{#ifeq:|yes|[1]

6 虔诚:+1

/月|}}{{#ifeq:|yes|[1]

虔诚:+1.35

/月|}}{{#ifeq:|yes|[1]

虔诚:+2

/月|}}{{#ifeq:|yes|[1]

虔诚:+2.95

/月|}}{{#ifeq:|yes|[1]

虔诚:+9.5

/月|}}{{#ifeq:|yes|[1]

虔诚:+13

/月|}}{{#ifeq:|yes|[1]

虔诚:+20

/月|}}{{#ifeq:|yes|[1]

虔诚:+0.25

/月|}}{{#ifeq:|yes|[1]

虔诚:+0.5

/月|}}{{#ifeq:|yes|[1]

7 虔诚:+1.15

/月|}}{{#ifeq:|yes|[1]

虔诚:+1.55

/月|}}{{#ifeq:|yes|[1]

虔诚:+2.3

/月|}}{{#ifeq:|yes|[1]

虔诚:+3.4

/月|}}{{#ifeq:|yes|[1]

虔诚:+11

/月|}}{{#ifeq:|yes|[1]

虔诚:+15

/月|}}{{#ifeq:|yes|[1]

虔诚:+23

/月|}}{{#ifeq:|yes|[1]

虔诚:+0.2875

/月|}}{{#ifeq:|yes|[1]

虔诚:+0.575

/月|}}{{#ifeq:|yes|[1]

8 虔诚:+1.3

/月|}}{{#ifeq:|yes|[1]

虔诚:+1.75

/月|}}{{#ifeq:|yes|[1]

虔诚:+2.6

/月|}}{{#ifeq:|yes|[1]

虔诚:+3.85

/月|}}{{#ifeq:|yes|[1]

虔诚:+12.5

/月|}}{{#ifeq:|yes|[1]

虔诚:+17

/月|}}{{#ifeq:|yes|[1]

虔诚:+26

/月|}}{{#ifeq:|yes|[1]

虔诚:+0.325

/月|}}{{#ifeq:|yes|[1]

虔诚:+0.65

/月|}}{{#ifeq:|yes|[1]

其他建筑模板

分类:建筑模板

参考资料

  1. 1.00 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 1.23 1.24 1.25 1.26 1.27 1.28 1.29 1.30 1.31 1.32 1.33 1.34 1.35 1.36 1.37 1.38 1.39 1.40 1.41 1.42 1.43 1.44 1.45 1.46 1.47 1.48 1.49 1.50 1.51 1.52 1.53 1.54 1.55 1.56 1.57 1.58 1.59 1.60 1.61 1.62 1.63 1.64 1.65 1.66 1.67 1.68 1.69 1.70 1.71 1.72 1.73 游戏内提示条显示的是向下取整的数值。如+0.25显示为+0.2。参见game\common\script_values\00_building_values.txt