Template:Irish MEP table begin

{{#if: {{{maxMEPs|}}}|{{{!}} class="wikitable" style="font-size:95%"

{{!}}- !colspan="{{#expr: 2 + ({{{maxMEPs|}}} * 2)}}"{{!}} Members of the European Parliament (MEPs) for {{{constituency|}}}{{#if: {{{start|}}} | {{{start}}}{{#if:{{{end|}}}|–{{{end}}}|–}} |}}{{#if: {{{refs|}}}|{{{refs}}}|}}

{{#if: {{{1|}}} | {{Political party abbrev key|colspan={{#expr: (2 + (2 *{{{maxMEPs}}}))}}|{{{1|}}} | {{{2|}}} | {{{3|}}} | {{{4|}}} | {{{5|}}} | {{{6|}}} | {{{7|}}} | {{{8|}}} | {{{9|}}} | {{{10|}}} | {{{11|}}} | {{{12|}}} | {{{13|}}} | {{{14|}}} | {{{15|}}} | {{{16|}}} | {{{17|}}} | {{{18|}}} | {{{19|}}} | {{{20|}}} | }} }}

{{!}}- !Parl.!!Election{{#ifexpr: {{{maxMEPs|}}} >= 1 | !!colspan="2"{{!}}Member (Party)}}{{#ifexpr: {{{maxMEPs|}}} >= 2 | !!colspan="2"{{!}}Member (Party)}}{{#ifexpr: {{{maxMEPs|}}} >= 3 | !!colspan="2"{{!}}Member (Party)}}{{#ifexpr: {{{maxMEPs|}}} >= 4 | !!colspan="2"{{!}}Member (Party)}}{{#ifexpr: {{{maxMEPs|}}} >= 5 | !!colspan="2"{{!}}Member (Party)}}{{#ifexpr: {{{maxMEPs|}}} >= 6 | !!colspan="2"{{!}}Member (Party)}}{{#ifexpr: {{{maxMEPs|}}} >= 7 | !!colspan="2"{{!}}Member (Party)}}{{#ifexpr: {{{maxMEPs|}}} >= 8 | !!colspan="2"{{!}}Member (Party)}}{{#ifexpr: {{{maxMEPs|}}} >= 9 | !!colspan="2"{{!}}Member (Party)}}{{#ifexpr: {{{maxMEPs|}}} >= 10 | !!colspan="2"{{!}}Member (Party)}}
 * Error in Template:Irish MEP table begin: you must set the parameter maxMEPs }}