Template:Building max garrison:修订间差异

(建立内容为“<includeonly>{{icon|garrison}} {{green|+{{#switch:{{{1}}} | normal = {{#expr: 0 + 150 * {{{2|0}}} }} | good = {{#expr: 0 + 250 * {{{2|0}}} }} | #default = <span s…”的新页面)
 
无编辑摘要
第1行: 第1行:
<includeonly>{{icon|garrison}} {{green|+{{#switch:{{{1}}}
<includeonly> 守军:{{icon|garrison}} {{green|+{{#switch:{{{1}}}
| normal = {{#expr: 0 + 150 * {{{2|0}}} }}
| normal = {{#expr: 0 + 150 * {{{2|0}}}}}
| good = {{#expr: 0 + 250 * {{{2|0}}} }}
| good = {{#expr: 0 + 250 * {{{2|0}}}}}
| #default = <span style="color: red; font-size: 11px;">(unrecognized string “{{{1}}}” for [[Template:Building garrison]])</span>[[Category:页面有未识别的建筑守军字符串]]
| #default = <span style="color: red; font-size: 11px;">(unrecognized string “{{{1}}}” for [[Template:Building garrison]])</span>[[Category:页面有未识别的建筑守军字符串]]
}}}} 守军</includeonly><noinclude>{{template doc}}[[Category:建筑模板]]</noinclude>
}}}}</includeonly><noinclude>{{template doc}}[[Category:建筑模板]]</noinclude>

2023年5月23日 (二) 02:11的版本

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

[模板https://www.parawikis.com/wiki/Template:Template_doc_page_transcluded?action=raw读取失败:HTTP 502]     此模板用于在CK3维基中规范化生成建筑守军增益,从而更容易在游戏更新时编辑它们的格式和数值[1]

参数

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

用法

语法:
{{Building max garrison|normal|5}}或者{{Building max garrison|75}}

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

举例:
{{Building max garrison|normal|5}}

将生成

守军: +750

举例:
{{Building max garrison|75}}

将生成

守军: +(unrecognized string “75” for Template:Building garrison)

建筑守军增益列表

等级 normal good
1 守军: +150 守军: +250
2 守军: +300 守军: +500
3 守军: +450 守军: +750
4 守军: +600 守军: +1000
5 守军: +750 守军: +1250
6 守军: +900 守军: +1500
7 守军: +1050 守军: +1750
8 守军: +1200 守军: +2000

其他建筑模板

分类:建筑模板

参考资料

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