Template:Achievement table: Difference between revisions
Jump to navigation
Jump to search
m (moved Template:Column to 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:34, 1 May 2011
{{{1}}} |
The template above may be partially or fully invisible or glitched due to the respected strings aren't entered.
This is normal.
This is normal.
Documentation for Achievement table
Template to make display of achievements easier.
Examples
- Todo: replace me with Portal 2 achievements!
{{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.