Template:Show achievement
Contents
Documentation for Show achievement
This template allows you to display achievements on multiple pages and in different languages. This template itself does not use translation switching as it does not contain any text. All achievement text and titles are stored in the dictionary.
Syntax
{{Show achievement|pack|name|difficulty|description}}
- Use the English names for achievements and packs. A
pack
is anything that comes afterachievements/
in the dictionary (e.g.Template:Dictionary/achievements/halloween
) or the name of a class. Colons in achievement names must be replaced with a hyphen.
Examples
One by itself
- Code:
{{Show achievement|General|Dynasty}}
Dynasty Win 20 games. |
In a table
{{Achievement table | 1 = {{Show achievement|General|Dynasty}} {{Show achievement|Scout|Artful Dodger}} {{Show achievement|Halloween|Carnival of Carnage- Step Right Up}} {{Show achievement|General|May I Cut In, Too?}} | 2 = {{Show achievement|Medic|FYI I am a Medic}} {{Show achievement|Spy|FYI I am a Spy}} {{Show achievement|General|Flamethrower}} }}
|
|
Obtaining achievements
{{Show achievement|General|Dynasty|Medium | Simply play until you have won 20 games. If you find a good team and stick with them, this should happen in no time. }}
- The above code will generate:
Dynasty Win 20 games. Difficulty: Medium How to obtain: Simply play until you have won 20 games. If you find a good team and stick with them, this should happen in no time. |
See also
{{Achievement table}}
– handy template to use to display achievements in a table.