Difference between revisions of "Template:Show achievement"

From Team Fortress Wiki
Jump to: navigation, search
m (Add Replay Update alias)
(fix replay names (this whole switch thing will be fixed when achievement/cores are moved to the dictionary))
Line 11: Line 11:
 
  | Treasure Hunt = Treasure Hunt
 
  | Treasure Hunt = Treasure Hunt
 
  | Replay Update
 
  | Replay Update
 +
| Replay = Replay
 
  | General
 
  | General
 
  | Normal = General
 
  | Normal = General
Line 26: Line 27:
 
  | Treasure Hunt = Treasure Hunt
 
  | Treasure Hunt = Treasure Hunt
 
  | Replay Update
 
  | Replay Update
 +
| Replay = Replay
 
  | General
 
  | General
 
  | Normal = General
 
  | Normal = General
Line 41: Line 43:
 
  | Treasure Hunt = Treasure Hunt
 
  | Treasure Hunt = Treasure Hunt
 
  | Replay Update
 
  | Replay Update
 +
| Replay = Replay
 
  | General
 
  | General
 
  | Normal = General
 
  | Normal = General
Line 67: Line 70:
 
  | Treasure Hunt = Treasure Hunt
 
  | Treasure Hunt = Treasure Hunt
 
  | Replay Update
 
  | Replay Update
 +
| Replay = Replay
 
  | General
 
  | General
 
  | Normal = General
 
  | Normal = General

Revision as of 08:40, 6 May 2011

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 elsewhere – see Category:Achievement insertion templates/core.

Syntax

Examples

One by itself

Code: {{show achievement|General|Dynasty|width = 50%}}
Dynasty
Dynasty
Win 20 games.


In a table

{{Achievement table
| 1 = {{Show achievement|General|Dynasty}}
      {{Show achievement|General|Dynasty}}
      {{Show achievement|General|Dynasty}}
      {{Show achievement|General|Dynasty}}
| 2 = {{Show achievement|General|Flamethrower}}
      {{Show achievement|General|Flamethrower}}
      {{Show achievement|General|Flamethrower}}
}}
Dynasty
Dynasty
Win 20 games.


Dynasty
Dynasty
Win 20 games.


Dynasty
Dynasty
Win 20 games.


Dynasty
Dynasty
Win 20 games.
Flamethrower
Flamethrower
Set five enemies on fire in 30 seconds.


Flamethrower
Flamethrower
Set five enemies on fire in 30 seconds.


Flamethrower
Flamethrower
Set five enemies on fire in 30 seconds.

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
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