Template:Building fort level:修订间差异

无编辑摘要
无编辑摘要
第2行: 第2行:
| 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: 1 + ({{{2|0}}}-1)*3 }}
| #default = <span style="color: red; font-size: 11px;">(unrecognized string “{{{1}}}” for [[Template:Building cost]])</span>[[Category:页面有未识别的建筑城防等级字符串]]
| #default = <span style="color: red; font-size: 11px;">(unrecognized string “{{{1}}}” for [[Template:Building cost]])</span>[[Category:页面有未识别的建筑城防等级字符串]]
}}}} 城防等级</includeonly><noinclude>{{template doc}}[[Category:建筑模板]][[en:{{FULLPAGENAME}}]]</noinclude>
}}}} 城防等级</includeonly><noinclude>{{template doc}}[[Category:建筑模板]][[en:{{FULLPAGENAME}}]]</noinclude>

2023年5月22日 (一) 23:15的版本

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

[模板https://www.parawikis.com/wiki/Template:Template_doc_page_transcluded?action=raw读取失败:HTTP 502] 此模板用于在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}}

将生成

+(unrecognized string “400” for Template:Building cost) 城防等级

建筑城防等级增益列表

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

其他建筑模板

分类:建筑模板

参考资料

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