Difference between revisions of "Template:Table/Container"
From SpiralKnights
m (Add vertical-align:top;) |
m (Documentation) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{| cellpadding="5" align="center" style="border: 6px solid #ebc94d; background: #ebc94d; color:#283138; border-radius:10px;" | {| cellpadding="5" align="center" style="border: 6px solid #ebc94d; background: #ebc94d; color:#283138; border-radius:10px;" | ||
− | ! style="font-size:large; vertical-align: | + | ! style="font-size:large; vertical-align:middle;" | {{{1|Name}}} |
− | ! style="font-size:large; width:128px; vertical-align: | + | ! style="font-size:large; width:128px; vertical-align:middle;" | {{{2|Image}}} |
− | ! style="font-size:large; width:40%; vertical-align: | + | ! style="font-size:large; width:40%; vertical-align:middle;" | {{{3|Description}}} |
− | ! style="font-size:large; vertical-align: | + | ! style="font-size:large; vertical-align:middle;" | {{{4|Drops}}} |
− | ! style="font-size:large; width:15%; vertical-align: | + | ! style="font-size:large; width:15%; vertical-align:middle;" | {{{5|Abilities}}}<noinclude> |
|} | |} | ||
− | [[Category:Table templates]]</noinclude> | + | [[Category:Table templates]]{{documentation}}</noinclude> |
Latest revision as of 20:28, 17 January 2011
Name | Image | Description | Drops | Abilities |
---|
[edit] [ ] Template documentation
This is a template for creating a table with five columns.
Usage
To create a table similar to this, use the following format.
{{Table/Container|1|2|3|4|5}} {{Table/Entry|A|B|C|D|E}} {{Table/Entry|A|B|C|D|E}} {{Table/End}}
- 1-5 are your headings for each column. These can be whatever you designate.
- A-E are the corresponding information under each column.
Just add more {{Table/Entry}} lines to add more. This can be done (almost?) infinitely. If you wish to edit the colors/add or remove columns/anything special, please copy these two to a new template.
Example
Name | Image | Description | Drops | Abilities |
---|---|---|---|---|
A | B | C | D | E |
Awesome Slime | 128x128 | A slime made of awesome and fear. Don't cross paths with this monster too frequently or you might lose a limb! | Unknown | This monster has no abilities |
The above documentation is transcluded from Template:Table/Container/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |