(→用法) |
(→参数) |
||
(未显示同一用户的9个中间版本) | |||
第4行: | 第4行: | ||
== 参数 == | == 参数 == | ||
;1 | ;1 | ||
:第一个参数是建筑花费的 | :第一 个参数是花费的资源类型。没有默认值,目前支持:gold,prestige,piety。 | ||
;2 | |||
:第二 个参数是建筑花费的 等级或者具体数值 。没有默认值,总是必须输入。 花费等级 目前支持以下数值: | |||
:* cheap | :* cheap | ||
:* normal | :* normal | ||
第10行: | 第13行: | ||
:* main | :* main | ||
:* tribal | :* tribal | ||
;3 | ;3 | ||
:第二个参数 | : 如果 第二个参数 为建筑 花费的 等级,则第三个参数是建筑的等级 。目前 ,仅 支 持1至8的数值。注意,游戏内 main 和 tribal 对应的最高等级只有5级和2级。 | ||
:如果第二个参数为具体数值,无此参数 。 | |||
== 用法 == | == 用法 == | ||
;语法: | ;语法: | ||
:<code><nowiki>{{building cost|cheap|4}}</nowiki></code> | :<code><nowiki>{{building cost|cheap|4}}</nowiki></code>或者<code><nowiki>{{building cost|400|prestige}}</nowiki></code> | ||
替换上面的语法中的相应修正参数。 | 替换上面的语法中的相应修正参数。 | ||
;举例: | ;举例: | ||
:<code><nowiki>{{building cost|cheap|4}}</nowiki></code> | :<code><nowiki>{{building cost|gold|cheap|4}}</nowiki></code> | ||
将生成 | |||
{{building cost|gold|cheap|4}} | |||
;举例: | |||
:<code><nowiki>{{building cost|prestige|cheap|4}}</nowiki></code> | |||
将生成 | 将生成 | ||
{{ | {{building cost|prestige|cheap|4}} | ||
;举例: | ;举例: | ||
:<code><nowiki>{{building cost| | :<code><nowiki>{{building cost|prestige|399}}</nowiki></code> | ||
将生成 | 将生成 | ||
{{ | {{building cost|prestige|399}} | ||
== 建筑花费列表 == | == 建筑花费列表 == | ||
第48行: | 第56行: | ||
|- | |- | ||
| 1 | | 1 | ||
| {{Building cost|cheap|1}} | | {{Building cost|gold|cheap|1}} | ||
| {{Building cost|normal|1}} | | {{Building cost|gold|normal|1}} | ||
| {{Building cost|expensive|1}} | | {{Building cost|gold|expensive|1}} | ||
| {{Building cost|main|1}} | | {{Building cost|gold|main|1}} | ||
| {{Building cost|tribal|1}} | | {{Building cost|gold|tribal|1}} | ||
|- | |- | ||
| 2 | | 2 | ||
| {{Building cost|cheap|2}} | | {{Building cost|gold|cheap|2}} | ||
| {{Building cost|normal|2}} | | {{Building cost|gold|normal|2}} | ||
| {{Building cost|expensive|2}} | | {{Building cost|gold|expensive|2}} | ||
| {{Building cost|main|2}} | | {{Building cost|gold|main|2}} | ||
| {{Building cost|tribal|2}} | | {{Building cost|gold|tribal|2}} | ||
|- | |- | ||
| 3 | | 3 | ||
| {{Building cost|cheap|3}} | | {{Building cost|gold|cheap|3}} | ||
| {{Building cost|normal|3}} | | {{Building cost|gold|normal|3}} | ||
| {{Building cost|expensive|3}} | | {{Building cost|gold|expensive|3}} | ||
| {{Building cost|main|3}} | | {{Building cost|gold|main|3}} | ||
| - | | - | ||
|- | |- | ||
| 4 | | 4 | ||
| {{Building cost|cheap|4}} | | {{Building cost|gold|cheap|4}} | ||
| {{Building cost|normal|4}} | | {{Building cost|gold|normal|4}} | ||
| {{Building cost|expensive|4}} | | {{Building cost|gold|expensive|4}} | ||
| {{Building cost|main|4}} | | {{Building cost|gold|main|4}} | ||
| - | | - | ||
|- | |- | ||
| 5 | | 5 | ||
| {{Building cost|cheap|5}} | | {{Building cost|gold|cheap|5}} | ||
| {{Building cost|normal|5}} | | {{Building cost|gold|normal|5}} | ||
| {{Building cost|expensive|5}} | | {{Building cost|gold|expensive|5}} | ||
| {{Building cost|main|5}} | | {{Building cost|gold|main|5}} | ||
| - | | - | ||
|- | |- | ||
| 6 | | 6 | ||
| {{Building cost|cheap|6}} | | {{Building cost|gold|cheap|6}} | ||
| {{Building cost|normal|6}} | | {{Building cost|gold|normal|6}} | ||
| {{Building cost|expensive|6}} | | {{Building cost|gold|expensive|6}} | ||
| - | | - | ||
| - | | - | ||
|- | |- | ||
| 7 | | 7 | ||
| {{Building cost|cheap|7}} | | {{Building cost|gold|cheap|7}} | ||
| {{Building cost|normal|7}} | | {{Building cost|gold|normal|7}} | ||
| {{Building cost|expensive|7}} | | {{Building cost|gold|expensive|7}} | ||
| - | | - | ||
| - | | - | ||
|- | |- | ||
| 8 | | 8 | ||
| {{Building cost|cheap|8}} | | {{Building cost|gold|cheap|8}} | ||
| {{Building cost|normal|8}} | | {{Building cost|gold|normal|8}} | ||
| {{Building cost|expensive|8}} | | {{Building cost|gold|expensive|8}} | ||
| - | | - | ||
| - | | - | ||
|} | |} | ||
== | == 其他建筑模板 == | ||
[[: 分类: 建筑模板]] | |||
== 参考资料 == | == 参考资料 == | ||
<references/> | <references/> |
2023年5月26日 (五) 00:59的最新版本
此模板用于在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}}
将生成
275金钱
- 举例:
{{building cost|prestige|cheap|4}}
将生成
275威望
- 举例:
{{building cost|prestige|399}}
将生成
399威望
建筑花费列表[编辑源代码]
等级 | cheap | normal | expensive | main | tribal |
---|---|---|---|---|---|
1 | 100金钱 | 150金钱 | 200金钱 | 400金钱 | 75金钱 |
2 | 150金钱 | 250金钱 | 350金钱 | 550金钱 | 100金钱 |
3 | 195金钱 | 340金钱 | 485金钱 | 700金钱 | - |
4 | 275金钱 | 500金钱 | 725金钱 | 850金钱 | - |
5 | 400金钱 | 750金钱 | 1100金钱 | 1000金钱 | - |
6 | 580金钱 | 1110金钱 | 1640金钱 | - | - |
7 | 825金钱 | 1600金钱 | 2375金钱 | - | - |
8 | 1145金钱 | 2240金钱 | 3335金钱 | - | - |
其他建筑模板[编辑源代码]
参考资料[编辑源代码]
- ↑ 基础数值与每级的增长数值见
Crusader Kings III\game\common\script_values\00_building_values.txt
中的Building Cost部分