Template:Achievement infobox/doc

这是Template:Achievement infobox的模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。


This template can be used to display the achievement conditions on a strategy page. Articles with this template are auto-categorized in Category:Achievements.

Parameters

Parameter Description Default Status
name name of the achievement {{PAGENAME}} optional
extension extension of the acievement icon png optional
date given start date of the achievement
no restriction - disables this line
January 1, 1936 optional
possible start conditions of the achievement empty optional
happened conditions for getting the achievement empty required

Usage

This table may be added by copy-pasting the template as shown below into an article.

{{Achievement infobox
|name =
|possible =
|happened =
}}

Examples

{{Achievement infobox
| name = Canada First
| extension = jpg
| possible = The player’s country is {{flag|Canada}}.
| happened = The player’s country:
*is in a [[faction]] lead by [[Germany]].
}}

Will display this:

Canada First
Canada First.jpg
Possible if
The player’s country is 加拿大的国旗 加拿大.
Achieved if

The player’s country: