From PPI
Revision as of 10:01, 15 December 2017 by Admin Bastian (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
{{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: |
{{{title}}} }}
{{{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.

}}{| style="background:transparent;"

{{#if: | |+ {{{title}}} }}

|- {{#if:|style="{{{hdrsstyle}}}"}} {{#if:|valign="{{{valign}}}"}}

{{#if:Timeline | ! Timeline |- {{#if:|valign="{{{valign}}}"}} }}

{{#if:2001 Started research | | 2001 Started research |- }} {{#if:2002 Published findings | | 2002 Published findings |- }} {{#if: | | {{{row3}}} |- }} {{#if: | | {{{row4}}} |- }} {{#if: | | {{{row5}}} |- }} {{#if: | | {{{row6}}} |- }} {{#if: | | {{{row7}}} |- }} {{#if: | | {{{row8}}} |- }} {{#if: | | {{{row9}}} |- }} {{#if: | | {{{row10}}} |- }} {{#if: | | {{{row11}}} |- }} {{#if: | | {{{row12}}} |- }} {{#if: | | {{{row13}}} |- }} {{#if: | | {{{row14}}} |- }} {{#if: | | {{{row15}}} |- }} {{#if: | | {{{row16}}} |- }} {{#if: | | {{{row17}}} |- }} {{#if: | | {{{row18}}} |- }} {{#if: | | {{{row19}}} |- }} {{#if: | | {{{row20}}} |- }} {{#if: | | {{{row21}}} |- }} {{#if: | | {{{row22}}} |- }} {{#if: | | {{{row23}}} |- }} {{#if: | | {{{row24}}} |- }} {{#if: | | {{{row25}}} |- }} {{#if: | | {{{row26}}} |- }} {{#if: | | {{{row27}}} |- }} {{#if: | | {{{row28}}} |- }} {{#if: | | {{{row29}}} |- }} {{#if: | | {{{row30}}} |- }} {{#if: | | {{{row31}}} |- }} {{#if: | | {{{row32}}} |- }} {{#if: | | {{{row33}}} |- }} {{#if: | | {{{row34}}} |- }} {{#if: | | {{{row35}}} |- }} {{#if: | | {{{row36}}} |- }} {{#if: | | {{{row37}}} |- }} {{#if: | | {{{row38}}} |- }} {{#if: | | {{{row39}}} |- }} {{#if: | | {{{row40}}} |- }} {{#if: | | {{{row41}}} |- }} {{#if: | | {{{row42}}} |- }} {{#if: | | {{{row43}}} |- }} {{#if: | | {{{row44}}} |- }} {{#if: | | {{{row45}}} |- }} {{#if: | | {{{row46}}} |- }} {{#if: | | {{{row47}}} |- }} {{#if: | | {{{row48}}} |- }} {{#if: | | {{{row49}}} |- }} {{#if: | | {{{row50}}} |- }} {{#if: | | {{{row51}}} |- }} {{#if: | | {{{row52}}} |- }} {{#if: | | {{{row53}}} |- }} {{#if: | | {{{row54}}} |- }} {{#if: | | {{{row55}}} |- }} {{#if: | | {{{row56}}} |- }} {{#if: | | {{{row57}}} |- }} {{#if: | | {{{row58}}} |- }} {{#if: | | {{{row59}}} |- }} {{#if: | | {{{row60}}} |- }} {{#if: | | {{{row61}}} |- }} {{#if: | | {{{row62}}} |- }} {{#if: | | {{{row63}}} |- }} {{#if: | | {{{row64}}} |- }} {{#if: | | {{{row65}}} |- }} {{#if: | | {{{row66}}} |- }} {{#if: | | {{{row67}}} |- }} {{#if: | | {{{row68}}} |- }} {{#if: | | {{{row69}}} |- }} {{#if: | | {{{row70}}} |- }} {{#if: | | {{{row71}}} |- }} {{#if: | | {{{row72}}} |- }} {{#if: | | {{{row73}}} |- }} {{#if: | | {{{row74}}} |- }} {{#if: | | {{{row75}}} |- }} {{#if: | | {{{row76}}} |- }} {{#if: | | {{{row77}}} |- }} {{#if: | | {{{row78}}} |- }} {{#if: | | {{{row79}}} |- }} {{#if: | | {{{row80}}} |- }} {{#if: | | {{{row81}}} |- }} {{#if: | | {{{row82}}} |- }} {{#if: | | {{{row83}}} |- }} {{#if: | | {{{row84}}} |- }} {{#if: | | {{{row85}}} |- }} {{#if: | | {{{row86}}} |- }} {{#if: | | {{{row87}}} |- }} {{#if: | | {{{row88}}} |- }} {{#if: | | {{{row89}}} |- }} {{#if: | | {{{row90}}} |- }} {{#if: | | {{{row91}}} |- }} {{#if: | | {{{row92}}} |- }} {{#if: | | {{{row93}}} |- }} {{#if: | | {{{row94}}} |- }} {{#if: | | {{{row95}}} |- }} {{#if: | | {{{row96}}} |- }} {{#if: | | {{{row97}}} |- }} {{#if: | | {{{row98}}} |- }} {{#if: | | {{{row99}}} |- }} {{#if: | | {{{row100}}} }}

|}{{#if:Timeline2001 Started research||

}}

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.

}}{| class="wikitable sortable"

{{#if:Example Table Two | |+ Example Table Two }}

|- {{#if:|style="{{{hdrsstyle}}}"}} {{#if:|valign="{{{valign}}}"}}

{{#if:Year!!Comments | ! Year!!Comments |- {{#if:|valign="{{{valign}}}"}} }}

{{#if:2001||Started research | | 2001||Started research |- }} {{#if:2002||Published findings | | 2002||Published findings |- }} {{#if: | | {{{row3}}} |- }} {{#if: | | {{{row4}}} |- }} {{#if: | | {{{row5}}} |- }} {{#if: | | {{{row6}}} |- }} {{#if: | | {{{row7}}} |- }} {{#if: | | {{{row8}}} |- }} {{#if: | | {{{row9}}} |- }} {{#if: | | {{{row10}}} |- }} {{#if: | | {{{row11}}} |- }} {{#if: | | {{{row12}}} |- }} {{#if: | | {{{row13}}} |- }} {{#if: | | {{{row14}}} |- }} {{#if: | | {{{row15}}} |- }} {{#if: | | {{{row16}}} |- }} {{#if: | | {{{row17}}} |- }} {{#if: | | {{{row18}}} |- }} {{#if: | | {{{row19}}} |- }} {{#if: | | {{{row20}}} |- }} {{#if: | | {{{row21}}} |- }} {{#if: | | {{{row22}}} |- }} {{#if: | | {{{row23}}} |- }} {{#if: | | {{{row24}}} |- }} {{#if: | | {{{row25}}} |- }} {{#if: | | {{{row26}}} |- }} {{#if: | | {{{row27}}} |- }} {{#if: | | {{{row28}}} |- }} {{#if: | | {{{row29}}} |- }} {{#if: | | {{{row30}}} |- }} {{#if: | | {{{row31}}} |- }} {{#if: | | {{{row32}}} |- }} {{#if: | | {{{row33}}} |- }} {{#if: | | {{{row34}}} |- }} {{#if: | | {{{row35}}} |- }} {{#if: | | {{{row36}}} |- }} {{#if: | | {{{row37}}} |- }} {{#if: | | {{{row38}}} |- }} {{#if: | | {{{row39}}} |- }} {{#if: | | {{{row40}}} |- }} {{#if: | | {{{row41}}} |- }} {{#if: | | {{{row42}}} |- }} {{#if: | | {{{row43}}} |- }} {{#if: | | {{{row44}}} |- }} {{#if: | | {{{row45}}} |- }} {{#if: | | {{{row46}}} |- }} {{#if: | | {{{row47}}} |- }} {{#if: | | {{{row48}}} |- }} {{#if: | | {{{row49}}} |- }} {{#if: | | {{{row50}}} |- }} {{#if: | | {{{row51}}} |- }} {{#if: | | {{{row52}}} |- }} {{#if: | | {{{row53}}} |- }} {{#if: | | {{{row54}}} |- }} {{#if: | | {{{row55}}} |- }} {{#if: | | {{{row56}}} |- }} {{#if: | | {{{row57}}} |- }} {{#if: | | {{{row58}}} |- }} {{#if: | | {{{row59}}} |- }} {{#if: | | {{{row60}}} |- }} {{#if: | | {{{row61}}} |- }} {{#if: | | {{{row62}}} |- }} {{#if: | | {{{row63}}} |- }} {{#if: | | {{{row64}}} |- }} {{#if: | | {{{row65}}} |- }} {{#if: | | {{{row66}}} |- }} {{#if: | | {{{row67}}} |- }} {{#if: | | {{{row68}}} |- }} {{#if: | | {{{row69}}} |- }} {{#if: | | {{{row70}}} |- }} {{#if: | | {{{row71}}} |- }} {{#if: | | {{{row72}}} |- }} {{#if: | | {{{row73}}} |- }} {{#if: | | {{{row74}}} |- }} {{#if: | | {{{row75}}} |- }} {{#if: | | {{{row76}}} |- }} {{#if: | | {{{row77}}} |- }} {{#if: | | {{{row78}}} |- }} {{#if: | | {{{row79}}} |- }} {{#if: | | {{{row80}}} |- }} {{#if: | | {{{row81}}} |- }} {{#if: | | {{{row82}}} |- }} {{#if: | | {{{row83}}} |- }} {{#if: | | {{{row84}}} |- }} {{#if: | | {{{row85}}} |- }} {{#if: | | {{{row86}}} |- }} {{#if: | | {{{row87}}} |- }} {{#if: | | {{{row88}}} |- }} {{#if: | | {{{row89}}} |- }} {{#if: | | {{{row90}}} |- }} {{#if: | | {{{row91}}} |- }} {{#if: | | {{{row92}}} |- }} {{#if: | | {{{row93}}} |- }} {{#if: | | {{{row94}}} |- }} {{#if: | | {{{row95}}} |- }} {{#if: | | {{{row96}}} |- }} {{#if: | | {{{row97}}} |- }} {{#if: | | {{{row98}}} |- }} {{#if: | | {{{row99}}} |- }} {{#if: | | {{{row100}}} }}

|}{{#if:Year!!Comments2001||Started research||

}}

External links