Template:Building health/doc

< Template:Building health
咯咯炀讨论 | 贡献2023年6月8日 (四) 22:29的版本 (建立内容为“<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]]    <!-- EDIT TEM…”的新页面)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
这是 Template:Building health模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。

    此模板用于在CK3维基中规范化生成建筑提供健康修正,从而更容易在游戏更新时编辑它们的格式和数值。

参数[编辑源代码]

1
参数是健康修正值,以百分比显示。默认为0。

用法[编辑源代码]

语法:
{{Building health|0.3}}

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

举例:
{{Building health|0.3}}

将生成

健康: +0.3

举例:
{{Building health|-0.3}}

将生成

健康: −0.3

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

分类:建筑模板

参考资料[编辑源代码]