无编辑摘要 |
无编辑摘要 |
||
第1行: | 第1行: | ||
<includeonly>虔诚:{{icon|piety}}{{green|+{{#switch:{{{1}}} | <includeonly>虔诚:{{icon|piety}}{{green|+{{#switch:{{{1}}} | ||
| custom = {{{ | | custom = {{{2|0}}}% | ||
| poor = {{#expr: 0.1 + 0.15 * {{{2|0}}} }} | |||
| poor = {{#expr: 0.1 + 0.15 * {{{ | | normal = {{#expr: 0.15 + 0.2 * {{{2|0}}} }} | ||
| normal = {{#expr: 0.15 + 0.2 * {{{ | | good = {{#expr: 0.2 + 0.3 * {{{2|0}}} }} | ||
| good = {{#expr: 0.2 + 0.3 * {{{ | | excellent = {{#expr: 0.25 + 0.45 * {{{2|0}}} }} | ||
| excellent = {{#expr: 0.25 + 0.45 * {{{ | | copper mine = {{#expr: 0.5 + 1.5 * {{{2|0}}} }} | ||
| copper mine = {{#expr: 0.5 + 1.5 * {{{ | | silver mine = {{#expr: 1 + 2 * {{{2|0}}} }} | ||
| silver mine = {{#expr: 1 + 2 * {{{ | | special mine = {{#expr: 2 + 3 * {{{2|0}}} }} | ||
| special mine = {{#expr: 2 + 3 * {{{ | | extra poor = {{#expr: (0.1 + 0.15 * {{{2|0}}})/4}} | ||
| extra poor = {{#expr: (0.1 + 0.15 * {{{ | | super poor = {{#expr: (0.1 + 0.15 * {{{2|0}}})/2}} | ||
| super poor = {{#expr: (0.1 + 0.15 * {{{ | | #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 “{{{ | }}{{#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:27的版本
此模板用于在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 | 虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
2 | 虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
3 | 虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
4 | 虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
5 | 虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
6 | 虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
7 | 虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
8 | 虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|
虔诚:![]()
|