Template:Table/doc
| This is a documentation subpage for Template:Table It contains usage information, categories and other content that is not part of the original template page. |
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]- Copy & Paste Excel-to-Wiki Converter; a fine tool for copying Excel data to wiki
- Commons:Convert tables and charts to wiki code