Template:Achievement infobox/doc

From Hearts of Iron 4 Wiki
Jump to navigation Jump to search
This is the documentation page for Template:Achievement infobox.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.


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 Flag of Canada Canada.
Achieved if

The player’s country: