标签:撤销 |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
<includeonly>{{#switch:{{{3}}} | <includeonly>{{#switch:{{{1}}} | ||
| cheap = {{#switch:{{{3}}} | |||
| gold = {{icon|gold}} | | gold = {{icon|gold}} | ||
| prestige = {{icon|prestige}} | | prestige = {{icon|prestige}} | ||
| piety = {{icon|piety}} | | piety = {{icon|piety}} | ||
| #default = {{icon|gold}} | | #default = {{icon|gold}} | ||
}} | }}{{#switch:{{{2}}} | ||
| 1 = 100 | | 1 = 100 | ||
| 2 = 150 | | 2 = 150 | ||
| 第15行: | 第15行: | ||
| 8 = 1145 | | 8 = 1145 | ||
}}{{#switch:{{{3}}}| gold = 金钱 | prestige = 威望 | piety = 虔诚 | #default = 金钱}} | }}{{#switch:{{{3}}}| gold = 金钱 | prestige = 威望 | piety = 虔诚 | #default = 金钱}} | ||
| normal = {{#switch:{{{2}}} | | normal = {{#switch:{{{3}}} | ||
| gold = {{icon|gold}} | |||
| prestige = {{icon|prestige}} | |||
| piety = {{icon|piety}} | |||
| #default = {{icon|gold}} | |||
}}{{#switch:{{{2}}} | |||
| 1 = 150 | | 1 = 150 | ||
| 2 = 250 | | 2 = 250 | ||
| 第25行: | 第30行: | ||
| 8 = 2240 | | 8 = 2240 | ||
}}{{#switch:{{{3}}}| gold = 金钱 | prestige = 威望 | piety = 虔诚 | #default = 金钱}} | }}{{#switch:{{{3}}}| gold = 金钱 | prestige = 威望 | piety = 虔诚 | #default = 金钱}} | ||
| expensive = {{#switch:{{{2}}} | | expensive = {{#switch:{{{3}}} | ||
| gold = {{icon|gold}} | |||
| prestige = {{icon|prestige}} | |||
| piety = {{icon|piety}} | |||
| #default = {{icon|gold}} | |||
}}{{#switch:{{{2}}} | |||
| 1 = 200 | | 1 = 200 | ||
| 2 = 350 | | 2 = 350 | ||
| 第35行: | 第45行: | ||
| 8 = 3335 | | 8 = 3335 | ||
}}{{#switch:{{{3}}}| gold = 金钱 | prestige = 威望 | piety = 虔诚 | #default = 金钱}} | }}{{#switch:{{{3}}}| gold = 金钱 | prestige = 威望 | piety = 虔诚 | #default = 金钱}} | ||
| main = {{#switch:{{{2}}} | | main = {{#switch:{{{3}}} | ||
| gold = {{icon|gold}} | |||
| prestige = {{icon|prestige}} | |||
| piety = {{icon|piety}} | |||
| #default = {{icon|gold}} | |||
}}{{#switch:{{{2}}} | |||
| 1 = 400 | | 1 = 400 | ||
| 2 = 550 | | 2 = 550 | ||
| 第42行: | 第57行: | ||
| 5 = 1000 | | 5 = 1000 | ||
}}{{#switch:{{{3}}}| gold = 金钱 | prestige = 威望 | piety = 虔诚 | #default = 金钱}} | }}{{#switch:{{{3}}}| gold = 金钱 | prestige = 威望 | piety = 虔诚 | #default = 金钱}} | ||
| tribal = {{#switch:{{{2}}} | | tribal = {{#switch:{{{3}}} | ||
| gold = {{icon|gold}} | |||
| prestige = {{icon|prestige}} | |||
| piety = {{icon|piety}} | |||
| #default = {{icon|gold}} | |||
}}{{#switch:{{{2}}} | |||
| 1 = 75 | | 1 = 75 | ||
| 2 = 100 | | 2 = 100 | ||
}}{{#switch:{{{ | }}{{#switch:{{{2}}}| gold = 金钱 | prestige = 威望 | piety = 虔诚 | #default = 金钱}} | ||
| #default = {{{1}}}{{#switch:{{{2}}}| gold = 金钱 | prestige = 威望 | piety = 虔诚 | #default = 金钱}} | | #default = {{#switch:{{{3}}} | ||
| gold = {{icon|gold}} | |||
| prestige = {{icon|prestige}} | |||
| piety = {{icon|piety}} | |||
| #default = {{icon|gold}} | |||
}}{{{1}}}{{#switch:{{{2}}}| gold = 金钱 | prestige = 威望 | piety = 虔诚 | #default = 金钱}} | |||
}}</includeonly><noinclude>{{template doc}}[[Category:建筑模板]][[en:{{FULLPAGENAME}}]]</noinclude> | }}</includeonly><noinclude>{{template doc}}[[Category:建筑模板]][[en:{{FULLPAGENAME}}]]</noinclude> | ||
2023年5月26日 (五) 00:46的版本
[模板https://www.parawikis.com/wiki/Template:Template_doc_page_transcluded?action=raw读取失败:HTTP 502] 此模板用于在CK3维基中规范化生成建筑的金钱花费,从而更容易在游戏更新时编辑它们的格式和数值[1]。
参数
- 1
- 第一个参数是花费的资源类型。没有默认值,目前支持:gold,prestige,piety。
- 2
- 第二个参数是建筑花费的等级或者具体数值。没有默认值,总是必须输入。花费等级目前支持以下数值:
- cheap
- normal
- expensive
- main
- tribal
- 3
- 如果第二个参数为建筑花费的等级,则第三个参数是建筑的等级。目前,仅支持1至8的数值。注意,游戏内 main 和 tribal 对应的最高等级只有5级和2级。
- 如果第二个参数为具体数值,无此参数。
用法
- 语法:
{{building cost|cheap|4}}或者{{building cost|400|prestige}}
替换上面的语法中的相应修正参数。
- 举例:
{{building cost|gold|cheap|4}}
将生成
gold金钱
- 举例:
{{building cost|prestige|cheap|4}}
将生成
prestige金钱
- 举例:
{{building cost|prestige|399}}
将生成
prestige金钱
建筑花费列表
| 等级 | 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部分