This template is protected from editing.
Difference between revisions of "Template:Achievement table"
(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:
|
|
See also
- Tables
{{Columns}}
- Achievements
{{Show achievement}}
– the template used to display achievements individually.- Category:Achievement insertion templates/core – where templates that hold achievement text and titles in multiple languages are stored.