Template:Election box gain with party link and Template:Election box gain with party link/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
No edit summary |
remove background color as does not appear to be doing anything useful also also helps with dark mode compatibility |
||
Line 4: | Line 4: | ||
|- |
|- |
||
| style="color:inherit;background-color: {{if empty|{{{colour|}}}|{{{color |
| style="color:inherit;background-color: {{if empty|{{{colour|}}}|{{{color|}}}|{{#invoke:Political party|fetch|{{{winner}}}|color}}}}" | |
||
| colspan="2" | |
| colspan="2" | [[{{{winner}}}|{{#invoke:Political party|fetch|{{{winner}}}|shortname}}]] '''gain''' from {{#switch:{{lc:{{{loser}}}}} |
||
| unknown = (unknown) |
| unknown = (unknown) |
||
| ? = ? |
| ? = ? |
||
| #default = |
| #default = [[{{{loser}}}|{{#invoke:Political party|fetch|{{{loser}}}|shortname}}]] |
||
}} |
|||
}} {{Yesno|{{{notional|}}}|yes = (Notional.{{{notional ref|}}})}} |
|||
! style="text-align:right;" | [[Swing (politics)|Swing]] |
! style="text-align:right;" | [[Swing (politics)|Swing]] |
||
| style="text-align:right;" | {{{swing}}} |
| style="text-align:right;" | {{{swing}}} |