| {{{hdrs}}} |
|---|
| {{{row1}}} |
| {{{row2}}} |
| {{{row3}}} |
| {{{row4}}} |
| {{{row5}}} |
| {{{row6}}} |
| {{{row7}}} |
| {{{row8}}} |
| {{{row9}}} |
| {{{row10}}} |
| {{{row11}}} |
| {{{row12}}} |
| {{{row13}}} |
| {{{row14}}} |
| {{{row15}}} |
| {{{row16}}} |
| {{{row17}}} |
| {{{row18}}} |
| {{{row19}}} |
| {{{row20}}} |
| {{{row21}}} |
| {{{row22}}} |
| {{{row23}}} |
| {{{row24}}} |
| {{{row25}}} |
| {{{row26}}} |
| {{{row27}}} |
| {{{row28}}} |
| {{{row29}}} |
| {{{row30}}} |
| {{{row31}}} |
| {{{row32}}} |
| {{{row33}}} |
| {{{row34}}} |
| {{{row35}}} |
| {{{row36}}} |
| {{{row37}}} |
| {{{row38}}} |
| {{{row39}}} |
| {{{row40}}} |
| {{{row41}}} |
| {{{row42}}} |
| {{{row43}}} |
| {{{row44}}} |
| {{{row45}}} |
| {{{row46}}} |
| {{{row47}}} |
| {{{row48}}} |
| {{{row49}}} |
| {{{row50}}} |
| {{{row51}}} |
| {{{row52}}} |
| {{{row53}}} |
| {{{row54}}} |
| {{{row55}}} |
| {{{row56}}} |
| {{{row57}}} |
| {{{row58}}} |
| {{{row59}}} |
| {{{row60}}} |
| {{{row61}}} |
| {{{row62}}} |
| {{{row63}}} |
| {{{row64}}} |
| {{{row65}}} |
| {{{row66}}} |
| {{{row67}}} |
| {{{row68}}} |
| {{{row69}}} |
| {{{row70}}} |
| {{{row71}}} |
| {{{row72}}} |
| {{{row73}}} |
| {{{row74}}} |
| {{{row75}}} |
| {{{row76}}} |
| {{{row77}}} |
| {{{row78}}} |
| {{{row79}}} |
| {{{row80}}} |
| {{{row81}}} |
| {{{row82}}} |
| {{{row83}}} |
| {{{row84}}} |
| {{{row85}}} |
| {{{row86}}} |
| {{{row87}}} |
| {{{row88}}} |
| {{{row89}}} |
| {{{row90}}} |
| {{{row91}}} |
| {{{row92}}} |
| {{{row93}}} |
| {{{row94}}} |
| {{{row95}}} |
| {{{row96}}} |
| {{{row97}}} |
| {{{row98}}} |
| {{{row99}}} |
| {{{row100}}}
}} |
From http://en.wikipedia.org/wiki/Template:Table
Usage
To specify a straightforward table without needing to input all the wikicode required (in particular the Template:!- 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
}}
All parameters optional.
Examples
Example One
{{Table
|hdrs=Timeline
|row1=2001 Started research
|row2=2002 Published findings}}
{{#if:Timeline2001 Started research||WARNING You are using the {{#if:||}}{{#switch:{{{incl}}}|1={|2=|{{}}[[:{{#if:|{{{lang}}}:}}Template:{{#if:table|table|Tl}}|{{#switch:{{{incl}}}|1={|2={{}}{{#if:|{{{2}}}|{{#if:table|table|Tl}}}}{{#switch:{{{incl}}}|1=}|2=}}}}]]{{#switch:{{{incl}}}|1=}|2=|}}}}{{#if:||}} template without proper parameters. If the text {{#if:||}}{{#switch:{{{incl}}}|1={|2=|{{}}[[:{{#if:|{{{lang}}}:}}Template:{{#if:table|table|Tl}}|{{#switch:{{{incl}}}|1={|2={{}}{{#if:|{{{2}}}|{{#if:table|table|Tl}}}}{{#switch:{{{incl}}}|1=}|2=}}}}]]{{#switch:{{{incl}}}|1=}|2=|}}}}{{#if:||}} appears in the wiki markup, this is not the proper use of the table template. Either use the proper template parameters, or see Help:Tables to learn how to create a table without the {{#if:||}}{{#switch:{{{incl}}}|1={|2=|{{}}[[:{{#if:|{{{lang}}}:}}Template:{{#if:table|table|Tl}}|{{#switch:{{{incl}}}|1={|2={{}}{{#if:|{{{2}}}|{{#if:table|table|Tl}}}}{{#switch:{{{incl}}}|1=}|2=}}}}]]{{#switch:{{{incl}}}|1=}|2=|}}}}{{#if:||}} template; the two should not be mixed.
}}
Example Two
{{Table
|type=class="wikitable sortable"
|title=Example Table Two
|hdrs=Year!!Comments
|row1=2001{{!!}}Started research
|row2=2002{{!!}}Published findings}}
{{#if:Year!!Comments2001||Started research||WARNING You are using the {{#if:||}}{{#switch:{{{incl}}}|1={|2=|{{}}[[:{{#if:|{{{lang}}}:}}Template:{{#if:table|table|Tl}}|{{#switch:{{{incl}}}|1={|2={{}}{{#if:|{{{2}}}|{{#if:table|table|Tl}}}}{{#switch:{{{incl}}}|1=}|2=}}}}]]{{#switch:{{{incl}}}|1=}|2=|}}}}{{#if:||}} template without proper parameters. If the text {{#if:||}}{{#switch:{{{incl}}}|1={|2=|{{}}[[:{{#if:|{{{lang}}}:}}Template:{{#if:table|table|Tl}}|{{#switch:{{{incl}}}|1={|2={{}}{{#if:|{{{2}}}|{{#if:table|table|Tl}}}}{{#switch:{{{incl}}}|1=}|2=}}}}]]{{#switch:{{{incl}}}|1=}|2=|}}}}{{#if:||}} appears in the wiki markup, this is not the proper use of the table template. Either use the proper template parameters, or see Help:Tables to learn how to create a table without the {{#if:||}}{{#switch:{{{incl}}}|1={|2=|{{}}[[:{{#if:|{{{lang}}}:}}Template:{{#if:table|table|Tl}}|{{#switch:{{{incl}}}|1={|2={{}}{{#if:|{{{2}}}|{{#if:table|table|Tl}}}}{{#switch:{{{incl}}}|1=}|2=}}}}]]{{#switch:{{{incl}}}|1=}|2=|}}}}{{#if:||}} template; the two should not be mixed.
}}
External links
- Copy & Paste Excel-to-Wiki Converter; a fine tool for copying excel to wiki
- http://commons.wikimedia.org/wiki/Commons:Convert_tables_and_charts_to_wiki_code