Template:PTab: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(now I feel like an idiot)
(added colspan controls)
Line 1: Line 1:
<includeonly>{{#switch:{{lc:{{{h}}}}}|y|yes|t|true=
<includeonly>{{#switch:{{lc:{{{h}}}}}|y|yes|t|true=
! align="left"{{!}}{{{1}}}{{#if:{{{2|}}}|
! align="left" {{#if:{{{c1}}}|colspan="{{{c1}}}""}}{{!}}{{{1}}}{{#if:{{{2|}}}|
! align="left"{{!}}{{{2}}}}}{{#if:{{{3|}}}|
! align="left" {{#if:{{{c2}}}|colspan="{{{c2}}}""}}{{!}}{{{2}}}}}{{#if:{{{3|}}}|
! align="left"{{!}}{{{3}}}}}{{#if:{{{4|}}}|
! align="left" {{#if:{{{c3}}}|colspan="{{{c3}}}""}}{{!}}{{{3}}}}}{{#if:{{{4|}}}|
! align="left"{{!}}{{{4}}}}}{{#if:{{{5|}}}|
! align="left" {{#if:{{{c4}}}|colspan="{{{c4}}}""}}{{!}}{{{4}}}}}{{#if:{{{5|}}}|
! align="left"{{!}}{{{5}}}}}{{#if:{{{6|}}}|
! align="left" {{#if:{{{c5}}}|colspan="{{{c5}}}""}}{{!}}{{{5}}}}}{{#if:{{{6|}}}|
! align="left"{{!}}{{{6}}}}}{{#if:{{{7|}}}|
! align="left" {{#if:{{{c6}}}|colspan="{{{c6}}}""}}{{!}}{{{6}}}}}{{#if:{{{7|}}}|
! align="left"{{!}}{{{7}}}}}{{#if:{{{8|}}}|
! align="left" {{#if:{{{c7}}}|colspan="{{{c7}}}""}}{{!}}{{{7}}}}}{{#if:{{{8|}}}|
! align="left"{{!}}{{{8}}}}}{{#if:{{{9|}}}|
! align="left" {{#if:{{{c8}}}|colspan="{{{c8}}}""}}{{!}}{{{8}}}}}{{#if:{{{9|}}}|
! align="left"{{!}}{{{9}}}}}{{#if:{{{10|}}}|
! align="left" {{#if:{{{c9}}}|colspan="{{{c9}}}""}}{{!}}{{{9}}}}}{{#if:{{{10|}}}|
! align="left"{{!}}{{{10}}}}}{{#if:{{{11|}}}|
! align="left" {{#if:{{{c10}}}|colspan="{{{c10}}}""}}{{!}}{{{10}}}}}{{#if:{{{11|}}}|
! align="left"{{!}}{{{11}}}}}
! align="left" {{#if:{{{c11}}}|colspan="{{{c11}}}""}}{{!}}{{{11}}}}}
|#default=
|#default=
{{!}} align="left"{{!}}{{{1}}}
{{!}} align="left" {{#if:{{{c1}}}|colspan="{{{c1}}}""}}{{!}}{{{1}}}{{#if:{{{2|}}}|
{{#if:{{{2|}}}|{{!}}align="left"{{!}}{{{2}}}}}{{#if:{{{3|}}}|
{{!}}align="left" {{#if:{{{c2}}}|colspan="{{{c2}}}""}}{{!}}{{{2}}}}}{{#if:{{{3|}}}|
{{!}}align="left"{{!}}{{{3}}}}}{{#if:{{{4|}}}|
{{!}}align="left" {{#if:{{{c3}}}|colspan="{{{c3}}}""}}{{!}}{{{3}}}}}{{#if:{{{4|}}}|
{{!}}align="left"{{!}}{{{4}}}}}{{#if:{{{5|}}}|
{{!}}align="left" {{#if:{{{c4}}}|colspan="{{{c4}}}""}}{{!}}{{{4}}}}}{{#if:{{{5|}}}|
{{!}}align="left"{{!}}{{{5}}}}}{{#if:{{{6|}}}|
{{!}}align="left" {{#if:{{{c5}}}|colspan="{{{c5}}}""}}{{!}}{{{5}}}}}{{#if:{{{6|}}}|
{{!}}align="left"{{!}}{{{6}}}}}{{#if:{{{7|}}}|
{{!}}align="left" {{#if:{{{c6}}}|colspan="{{{c6}}}""}}{{!}}{{{6}}}}}{{#if:{{{7|}}}|
{{!}}align="left"{{!}}{{{7}}}}}{{#if:{{{8|}}}|
{{!}}align="left" {{#if:{{{c7}}}|colspan="{{{c7}}}""}}{{!}}{{{7}}}}}{{#if:{{{8|}}}|
{{!}}align="left"{{!}}{{{8}}}}}{{#if:{{{9|}}}|
{{!}}align="left" {{#if:{{{c8}}}|colspan="{{{c8}}}""}}{{!}}{{{8}}}}}{{#if:{{{9|}}}|
{{!}}align="left"{{!}}{{{9}}}}}{{#if:{{{10|}}}|
{{!}}align="left" {{#if:{{{c9}}}|colspan="{{{c9}}}""}}{{!}}{{{9}}}}}{{#if:{{{10|}}}|
{{!}}align="left"{{!}}{{{10}}}}}{{#if:{{{11|}}}|
{{!}}align="left" {{#if:{{{c10}}}|colspan="{{{c10}}}""}}{{!}}{{{10}}}}}{{#if:{{{11|}}}|
{{!}}align="left"{{!}}{{{11}}}}}}}
{{!}}align="left" {{#if:{{{c11}}}|colspan="{{{c11}}}""}}{{!}}{{{11}}}}}}}
{{!}}-</includeonly><noinclude>A template for adding table lines to the Forum Post template. If "h" is set to true, will produce a header row.{{Cat|Templates,Templates for Templates}}</noinclude>
{{!}}-</includeonly><noinclude>A template for adding table lines to the Forum Post template. If "h" is set to true, will produce a header row. Setting "c<column number>=" to a number will control the colspan.{{Cat|Templates,Templates for Templates}}</noinclude>

Revision as of 22:56, 26 October 2014

A template for adding table lines to the Forum Post template. If "h" is set to true, will produce a header row. Setting "c<column number>=" to a number will control the colspan.