Template:Table/doc

Frae Wikipedia, the free beuk o knawledge

Uisage[eedit soorce]

Tae specify a straightforward table withoot needin tae input aw the wikicode required (in particular the |- row divisions).

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

Aw parameters optional.

Examples[eedit soorce]

Example Ane[eedit soorce]

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

class="wikitable "

Example Twa[eedit soorce]

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

class="wikitable "

Misuise o this template[eedit soorce]

Inexperienced editors mey confuse this template wi the manual way o makin tables, an mix the twa, or otherwise make odd mistakes. For example, this text (that accomplishes nothing) mey appear within a page's wikimarkup: {{table}}. Tae prevent this frae occurrin, a message is displayed tae the uiser instructin them aboot misuise. Also, the page is added tae the Articles uising the table template incorrectly category. Efter the initial cleanup (aw instances o {{table}} were removed), it seems unlikely nou that someone would uise this template wrong because o the warnin message. But keep an ee on that category, just in case!

Freemit airtins[eedit soorce]