Jump to content

Template:Election summary party: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
add color:inherit to reduce lint issues
add missing rowscope - see WP:ACCESS / WP:DTAB - no visual changes
 
Line 2: Line 2:
|-
|-
| style="color:inherit; background-color: {{if empty|{{{colour|}}}|{{{color|}}}|{{#if:{{{party|}}}|{{#invoke:Political party|fetch|{{{party}}}|color}}}}}}; width: 3px;" |  
| style="color:inherit; background-color: {{if empty|{{{colour|}}}|{{{color|}}}|{{#if:{{{party|}}}|{{#invoke:Political party|fetch|{{{party}}}|color}}}}}}; width: 3px;" |  
| style="width: 130px;{{#if:{{{government|}}}|font-weight:bold}}" |{{#if:{{{other|}}}|{{{other|}}}|{{#if:{{{party|}}}|[[{{#ifeq:{{{party}}}|Independent|Independent politician|{{{party}}}}}|{{#invoke:Political party|fetch|{{{party}}}|shortname}}]]}}}}
!scope=row style="color:inherit; background:inherit; width: 130px;{{#if:{{{government|}}}|font-weight:bold|font-weight:normal}}" |{{#if:{{{other|}}}|{{{other|}}}|{{#if:{{{party|}}}|[[{{#ifeq:{{{party}}}|Independent|Independent politician|{{{party}}}}}|{{#invoke:Political party|fetch|{{{party}}}|shortname}}]]}}}}
| style="text-align:right; {{#if:{{{government|}}}|font-weight:bold;|}}" | {{{seats}}}
| style="text-align:right; {{#if:{{{government|}}}|font-weight:bold;|}}" | {{{seats}}}
| style="text-align:right; {{#if:{{{government|}}}|font-weight:bold;|}}" | {{{gain}}}
| style="text-align:right; {{#if:{{{government|}}}|font-weight:bold;|}}" | {{{gain}}}

Latest revision as of 22:36, 13 April 2025

  {{{seats}}} {{{gain}}} {{{loss}}} {{{net}}} {{{seats %}}} {{{votes %}}} {{{votes}}} {{{plus/minus}}}