Template:Building max garrison/doc:修订间差异

(建立内容为“<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>    <!-- EDIT TEMPLATE DOCUMENTATION BEL…”的新页面)
 
第13行: 第13行:
== 用法 ==
== 用法 ==
;语法:
;语法:
:<code><nowiki>{{building advantage|normal|5}}</nowiki></code>
:<code><nowiki>{{building garrison|normal|5}}</nowiki></code>


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


;举例:
;举例:
:<code><nowiki>{{building advantage|normal|5}}</nowiki></code> 
:<code><nowiki>{{building garrison|normal|5}}</nowiki></code> 


 将生成
 将生成


{{Building advantage|normal|5}}
{{Building garrison|normal|5}}


== 建筑优势增益列表 ==
== 建筑优势增益列表 ==

2020年12月18日 (五) 14:05的版本

这是 Template:Building max garrison模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。

    此模板用于在CK3维基中规范化生成建筑守军增益,从而更容易在游戏更新时编辑它们的格式和数值[1]

参数

1
第一个参数是建筑守军的分类。没有默认值,总是必须输入。目前支持以下数值:
  • normal
  • good
2
第二个参数是建筑的等级。没有默认值,总是必须输入。目前,仅支持1至8的数值。

用法

语法:
{{building garrison|normal|5}}

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

举例:
{{building garrison|normal|5}}

将生成

守军:+750

建筑优势增益列表

等级 normal good
1 防御方优势:+2 防御方优势:+3
2 防御方优势:+4 防御方优势:+6
3 防御方优势:+6 防御方优势:+9
4 防御方优势:+8 防御方优势:+12
5 防御方优势:+10 防御方优势:+15
6 防御方优势:+12 防御方优势:+18
7 防御方优势:+14 防御方优势:+21
8 防御方优势:+16 防御方优势:+24

另见

参考资料

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