This template is protected from editing.

Difference between revisions of "Template:Achievement table"

From Team Fortress Wiki
Jump to: navigation, search
m (Reverted edits by Pilk (Talk) to last revision by Smashman)
(prevent table demanding 100% of page width and creating huge blank spaces when there is only one achievement)
Line 1: Line 1:
{| style="width:{{{width|100%}}}; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0"
+
{| style="width:{{#if:{{{col2|{{{2|}}}}}}|{{{width|100%}}}|{{{width|auto}}}}}; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0"
 
|- valign="top"
 
|- valign="top"
 
| style="width: 50%;"|
 
| style="width: 50%;"|

Revision as of 11:32, 1 May 2011

{{{1}}}

Documentation for Achievement table

Template to make display of achievements easier.

Examples

{{Achievement table
| col1 =
{{Show achievement|Medic|Autoclave}}
{{Show achievement|Medic|Autoclave}}
{{Show achievement|Medic|Autoclave}}

| col2 = 
{{Show achievement|General|Dynasty}}
{{Show achievement|General|Dynasty}}
{{Show achievement|General|Dynasty}}
}}

The above code will generate:

Autoclave
Autoclave
Assist in burning 5 enemies with a single ÜberCharge on a Pyro.


Autoclave
Autoclave
Assist in burning 5 enemies with a single ÜberCharge on a Pyro.


Autoclave
Autoclave
Assist in burning 5 enemies with a single ÜberCharge on a Pyro.
Dynasty
Dynasty
Win 20 games.


Dynasty
Dynasty
Win 20 games.


Dynasty
Dynasty
Win 20 games.

See also

Tables
Achievements