From StrategyWiki, the video game walkthrough and strategy guide wiki
< Template:Achievement
Revision as of 19:48, 27 April 2008 by DrBob (talk | contribs) (Expanded)
Jump to navigation Jump to search

This template is used to insert achievements. It is used as follows:

{{achievement
|achievement=Name of the achievement
|points=Points value (optional)
|unlocked=1 if the achievement was unlocked
|image=Filename of the achievement's icon ''without'' the "Image:" (e.g. "Game_achievement.png")
|description=Description of what the achievement means. (Optional.)
|progress=Progress (number, optional)
|total=Total progress numbers available (number, optional)
}}

To explain the progress and total parameters further, they're used for achievements which can have a measured progress, such as getting a certain number of kills in a game; the progress parameter would be how many kills you'd got, and the total parameter would be the (constant) total number of kills required to get the achievement.

All achievements have an ID of "achievement_Achievement_name" given to them, where Achievement_name is an anchor-encoded (using {{anchorencode}}) version of the value passed to the achievement parameter. This can be used to link to the achievement details from, for example, achievement list pages.