Template:Building fort level:修订间差异

(撤销咯咯炀讨论)的版本12409)
标签撤销
无编辑摘要
 
(未显示同一用户的4个中间版本)
第1行: 第1行:
<includeonly>{{icon|fort level}} {{green|+{{#switch:{{{1}}}
<includeonly> 城防等级:{{icon|fort level}}{{green|+{{#switch:{{{1}}}
| normal = {{#expr: 0 + 1 * {{{2|0}}} }}
| normal = {{#expr: 0 + 1 * {{{2|0}}} }}
| good = {{#expr: 0 + 2 * {{{2|0}}} }}
| good = {{#expr: 0 + 2 * {{{2|0}}} }}
| great = {{#expr: -2 + 0.5 * ({{{2|0}}}+1)*({{{2|0}}}+2) }}
| great = {{#expr: -2 + 0.5 * ({{{2|0}}}+1)*({{{2|0}}}+2) }}
| #default = <span style="color: red; font-size: 11px;">(unrecognized string “{{{1}}} ” for [[Template:Building cost]])</span>[[Category:页面有未识别的建筑城防等级字符串]]
| tribal_holding_fort_level_in_jungle_bonus_value = 1
}}}} 城防等级</includeonly><noinclude>{{template doc}}[[Category:建筑模板]][[en:{{FULLPAGENAME}}]]</noinclude>
| castle_holding_fort_level_in_jungle_bonus_value = 2
| #default = {{{1|0}}}}}}}</includeonly><noinclude>{{template doc}}[[Category:建筑模板]][[en:{{FULLPAGENAME}}]]</noinclude>

2023年6月1日 (四) 23:37的最新版本

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

此模板用于在CK3维基中规范化生成建筑的城防等级增益,从而更容易在游戏更新时编辑它们的格式和数值[1]模板:Building additional_fort_level与此模板用法相同。

参数[编辑源代码]

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

用法[编辑源代码]

语法:
{{Building fort level|normal|4}}或者{{Building additional_fort_level|normal|4}}

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

举例:
{{Building fort level|normal|4}}

将生成

城防等级: +4

举例:
{{Building fort level|400}}

将生成

城防等级: +400

建筑城防等级增益列表[编辑源代码]

等级 normal good great
1 城防等级: +1 城防等级: +2 城防等级: +1
2 城防等级: +2 城防等级: +4 城防等级: +4
3 城防等级: +3 城防等级: +6 城防等级: +8
4 城防等级: +4 城防等级: +8 城防等级: +13
5 城防等级: +5 城防等级: +10 城防等级: +19
6 城防等级: +6 城防等级: +12 城防等级: +26
7 城防等级: +7 城防等级: +14 城防等级: +34
8 城防等级: +8 城防等级: +16 城防等级: +43

其他建筑模板[编辑源代码]

分类:建筑模板

参考资料[编辑源代码]

  1. 基础数值与每级的增长数值见Crusader Kings III\game\common\script_values\00_building_values.txt中的Fort Levels部分