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:33的版本

[阅读] [编辑]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

/月

其他建筑模板

分类:建筑模板

参考资料