Template:Table

Revision as of 05:41, 4 February 2014 by Ostermayer (talk | contribs) (Created page with "<includeonly>{{#if:{{{hdrs|}}}{{{row1|}}}||'''<big><span class="error">WARNING You are using the {{tl|table}} template without proper parameters. If the text {{tl|table}} appe...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

To specify a straightforward table without needing to input all the wikicode required (in particular the |- row divisions).

{{Table
|type  =        // default: style="border:#c9c9c9 1px solid; margin: 1em 1em 1em 0; border-collapse: collapse;"
|title =     
|hdrs  =        // first header !! second header !! ... 
|row1  =        // first cell's contents {{!!}} second cell's contents {{!!}} ... 
...
|row100 =        // last possible row
}}

All parameters optional.

Examples

Example One

{{Table
|hdrs=Timeline
|row1=2001 Started research
|row2=2002 Published findings}}
Timeline
2001 Started research
2002 Published findings

Example Two

{{Table
|type=class="wikitable sortable"
|title=Example Table Two
|hdrs=Year!!Comments
|row1=2001{{!!}}Started research
|row2=2002{{!!}}Published findings}}
Example Table Two
Year Comments
2001 Started research
2002 Published findings


External links