Export this template, then import, to install it.
Use edit summary: Copied from [[w:c:templates:Template:Table]] to properly attribute this template's editors.
This template is probably not already on your wiki.
Template documentation
Note: the template above may sometimes be partially or fully invisible.

View or edit this documentation. (How does this work?)

Editors can experiment with this template's sandbox and test case pages.
This creates tables, use {{Table}} to specify a straightforward table without needing to input all the wikicode required.


All parameters optional.

| type =               // default: style="background:transparent;"
| titlestyle =         // CSS styles
| title = 
| colheadersstyle =    // CSS styles   
| colheaders =         // first header !! second header !! ...
| row1 =               // first cell's contents {{!!}} second cell's contents {{!!}} ...
| row100 =             // last possible row


Example 1

| colheaders = Timeline
| row1 = 2001 Started research
| row2 = 2002 Published findings
2001 Started research
2002 Published findings

Example 2

| type = class="wikitable sortable"
| titlestyle = font-variant:small-caps;
| title = Example 2
| colheaders = Year !! Comments
| row1 = 2001 {{!!}} Started research
| row2 = 2002 {{!!}} Published findings
Example 2
Year Comments
2001 Started research
2002 Published findings

Misuse of this template

Inexperienced editors may confuse this template with the manual way of making tables, and mix the two, or otherwise make odd mistakes. For example, this text (that accomplishes nothing) may appear within a page's wikimarkup: {{table}}. To prevent this from occurring, a message is displayed to the user instructing them about misuse. Also, the page is added to the Articles using the table template incorrectly category. After the initial cleanup (all instances of {{table}} were removed), it seems unlikely now that someone would use this template wrong because of the warning message. But keep an eye on that category, just in case!

External links


This page uses Creative Commons licensed content from Wikipedia (view authors).

Community content is available under CC-BY-SA unless otherwise noted.