无编辑摘要 |
无编辑摘要 |
||
第10行: | 第10行: | ||
| extra poor = {{#expr: (0.1 + 0.15 * {{{2|0}}})/4}} | | extra poor = {{#expr: (0.1 + 0.15 * {{{2|0}}})/4}} | ||
| 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 | | #default = <span style="color: red; font-size: 11px;">(unrecognized string “{{{1}}}” for [[Template:Building monthly piety]])</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> |
2023年5月23日 (二) 20:56的版本
此模板用于在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 monthly piety)/月
建筑虔诚数值列表
游戏建筑文件中借用赋税building_tax_tier
的数值。
等级 | poor | normal | good | excellent | copper mine | silver mine | special mine | extra poor | super poor |
---|---|---|---|---|---|---|---|---|---|
1 | 虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
2 | 虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
3 | 虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
4 | 虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
5 | 虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
6 | 虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
7 | 虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
8 | 虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |
虔诚:![]() |