这个模板能被用于在一个策略页面显示成就条件。有这个模板的文章被自动分类进 Category:成就。
变量
变量 | 描述 | 默认 | 状态 | ||||||
---|---|---|---|---|---|---|---|---|---|
name | 英文成就图标名称 | {{PAGENAME}} | 必填,已被魔改为英文成就图标名称 | ||||||
name_zh | 中文成就图标名称 | {{PAGENAME}} | 可填,默认为成就词条名 | ||||||
extension | 成就图标扩展名 | jpg | 如果成就图片格式不是*.jpg时,需要填 | ||||||
date | given start date of the achievement
|
11 November 1444 | 选填 | ||||||
custom nations | can be used to indicate whether custom nation are allowed or not
|
empty | 选填 | ||||||
possible | start conditions of the achievement | empty | 选填 | ||||||
happened | conditions for getting the achievement | empty | 必填 |
The "possible if" section includes the start date (default 11 November 1444) and the conditions that are common to all achievements (ironman, no custom nations, historical tax and manpower), so there's no need to add those.
用法
This table may be added by copy-pasting the template as shown below into an article.
{{Achievement infobox |name = |name_zh = |possible = |happened = }}
举例
{{Achievement infobox | name = Queen of Mercury | Name_zh = Queen of Mercury | possible = The player’s country is {{flag| Kilwa}}. | happened = The player’s country owns the provinces: *Zanzibar (1201) *North Konkan (529). }}
Will display this:
Queen of Mercury Achievement infobox
| |
---|---|
成就图标 | |
条件 | |
The player’s country is 基尔瓦. | |
达成 | |
The player’s country owns the provinces:
| |
{{Achievement infobox | name = Humble Origins | name_zh = Humble Origins | custom nations = 1 | possible = The player’s country: * is a custom nation with less than 52 [[designer points]]. | happened = {{plainlist| *''Not'' playing as a [[Vassal#Release_a_nation|released vassal]]. *The player’s country has a [[development]] of at least 2000. }} }}
则显示:
Humble Origins Achievement infobox
| |
---|---|
成就图标 | |
条件 | |
The player’s country:
| |
达成 | |
| |