(建立内容为“<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]] <!-- EDIT TEMPLATE…”的新页面) |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]] | <includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]] | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
此模板用于在CK3维基中规范化生成建筑的 | 此模板用于在CK3维基中规范化生成建筑的 威望 花费,从而更容易在游戏更新时编辑它们的格式和数值<ref>基础数值与每级的增长数值见{{Cite file|Crusader Kings III\game\common\script_values\00_building_values.txt}}中的Building Cost部分</ref>。 | ||
== 参数 == | == 参数 == | ||
;1 | ;1 | ||
:第一个参数是建筑花费的 | :第一个参数是建筑花费的 等级或者具体数值 。没有默认值,总是必须输入。 花费等级 目前支持以下数值: | ||
:* cheap | :* cheap | ||
:* normal | :* normal | ||
| 第12行: | 第12行: | ||
;2 | ;2 | ||
:第二个参数是建筑的等级 | : 如果第一个参数为建筑花费的等级,则 第二个参数是建筑的等级。目前,仅支持1至8的数值。注意,游戏内 main 和 tribal 对应的最高等级只有5级和2级 。 | ||
:如果第一个参数为具体数值,无此参数 。 | |||
== 用法 == | == 用法 == | ||
;语法: | ;语法: | ||
:<code><nowiki>{{building cost prestige|cheap|4}}</nowiki></code> | :<code><nowiki>{{building cost prestige|cheap|4}}</nowiki></code>或者<code><nowiki>{{building cost prestige|400}}</nowiki></code> | ||
替换上面的语法中的相应修正参数。 | 替换上面的语法中的相应修正参数。 | ||
| 第26行: | 第27行: | ||
{{building cost prestige|cheap|4}} | {{building cost prestige|cheap|4}} | ||
;举例: | |||
:<code><nowiki>{{building cost prestige|400}}</nowiki></code> | |||
将生成 | |||
{{building cost prestige|400}} | |||
== 建筑花费列表 == | == 建筑花费列表 == | ||
2023年5月26日 (五) 01:13的版本
[模板https://www.parawikis.com/wiki/Template:Template_doc_page_viewed_directly?action=raw读取失败:HTTP 502] 此模板用于在CK3维基中规范化生成建筑的威望花费,从而更容易在游戏更新时编辑它们的格式和数值[1]。
参数
- 1
- 第一个参数是建筑花费的等级或者具体数值。没有默认值,总是必须输入。花费等级目前支持以下数值:
- cheap
- normal
- expensive
- main
- tribal
- 2
- 如果第一个参数为建筑花费的等级,则第二个参数是建筑的等级。目前,仅支持1至8的数值。注意,游戏内 main 和 tribal 对应的最高等级只有5级和2级。
- 如果第一个参数为具体数值,无此参数。
用法
- 语法:
{{building cost prestige|cheap|4}}或者{{building cost prestige|400}}
替换上面的语法中的相应修正参数。
- 举例:
{{building cost prestige|cheap|4}}
将生成
275威望
- 举例:
{{building cost prestige|400}}
将生成
400威望
建筑花费列表
| 等级 | cheap | normal | expensive | main | tribal |
|---|---|---|---|---|---|
| 1 | |||||
| 2 | |||||
| 3 | - | ||||
| 4 | - | ||||
| 5 | - | ||||
| 6 | - | - | |||
| 7 | - | - | |||
| 8 | - | - |
其他建筑模板
参考资料
- ↑ 基础数值与每级的增长数值见
Crusader Kings III\game\common\script_values\00_building_values.txt中的Building Cost部分