Template:Irish TD table begin

{{#if: {{{maxTDs|}}}|{{#ifeq: {{Is this a Dáil constituency article}}|yes|{{(}}{{!}} class="wikitable" style="font-size:95%"

{{!}}-

!colspan="{{#expr: 2 + ({{{maxTDs|}}} * 2)}}"{{!}} Teachtaí Dála (TDs) for {{{constituency|}}}{{#if: {{{start|}}} |  {{{start}}}{{#if:{{{end|}}}|–{{{end}}}|–}} |}}{{#if: {{{add|}}}|{{{add}}}|}}{{#ifeq: {{Is this a Dáil constituency article}}|yes|{{{refs}}}|}}

{{#if: {{{1|}}} | {{Political party abbrev key|navbox={{#ifeq: {{Is this a Dáil constituency article}} | yes | no | yes}}|colspan={{#expr: (2 + (2 *{{{maxTDs}}}))}}|{{{1|}}} | {{{2|}}} | {{{3|}}} | {{{4|}}} | {{{5|}}} |{{{6|}}} | {{{7|}}} | {{{8|}}} | {{{9|}}} | {{{10|}}} |{{{11|}}} | {{{12|}}} | {{{13|}}} | {{{14|}}} | {{{15|}}} |{{{16|}}} | {{{17|}}} | {{{18|}}} | {{{19|}}} | {{{20|}}}}}}}}}{{#ifeq: {{Is this a Dáil constituency article}}|no|{{{!}} class="wikitable" style="font-size:95%; max-width:95% !important; !important; white-space:normal !important;"

}}

{{!}}-

!Dáil!!Election{{#ifexpr: {{{maxTDs|}}} >= 1 | !!colspan="2"{{!}}Deputy
(Party)}}{{#ifexpr: {{{maxTDs|}}} >= 2 | !!colspan="2"{{!}}Deputy
(Party)}}{{#ifexpr: {{{maxTDs|}}} >= 3 | !!colspan="2"{{!}}Deputy
(Party)}}{{#ifexpr: {{{maxTDs|}}} >= 4 | !!colspan="2"{{!}}Deputy
(Party)}}{{#ifexpr: {{{maxTDs|}}} >= 5 | !!colspan="2"{{!}}Deputy
(Party)}}{{#ifexpr: {{{maxTDs|}}} >= 6 | !!colspan="2"{{!}}Deputy
(Party)}}{{#ifexpr: {{{maxTDs|}}} >= 7 | !!colspan="2"{{!}}Deputy
(Party)}}{{#ifexpr: {{{maxTDs|}}} >= 8 | !!colspan="2"{{!}}Deputy
(Party)}}{{#ifexpr: {{{maxTDs|}}} >= 9 | !!colspan="2"{{!}}Deputy
(Party)}}{{#ifexpr: {{{maxTDs|}}} >= 10 | !!colspan="2"{{!}}Deputy
(Party)}}

|Error in Template:Irish TD table begin: you must set the parameter maxTDs }}

{{Documentation}}

Category:Dáil constituency templates