Template:Infobox legislative election/row: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
(Created page with "{{#if:{{{heading|}}} | colspan=5 {{!}} {{{heading}}} {{!-}} !}}scope="row" style="background-color: transparent; {{#if:{{{colour|}}}|border-left: 4px solid {{{colour}}};|{{#i...") |
No edit summary |
||
Line 9: | Line 9: | ||
{{!}} style="text-align: right;" {{!}} {{#switch:{{{ongoing|}}}|counting|yes={{{seats_before|}}}|#default={{{seats|}}}}}{{#switch:{{{ongoing|}}}|counting|yes=|#default=  | {{!}} style="text-align: right;" {{!}} {{#switch:{{{ongoing|}}}|counting|yes={{{seats_before|}}}|#default={{{seats|}}}}}{{#switch:{{{ongoing|}}}|counting|yes=|#default=  | ||
{{!}} {{#if:{{Both|{{{seats|}}}|{{{seats_before|}}}}}|style="text-align: right; white-space: nowrap; {{#iferror:{{#expr:{{{seats_before}}}}}||{{#ifexpr:{{{seats}}}>{{{seats_before}}}|color: green;|{{#ifexpr:{{{seats}}}<{{{seats_before}}}|color: red;}}}}}}" {{!}} {{#ifeq:{{lc:{{{seats_before}}}}}|new|New|{{PNsign|{{#expr:{{{seats}}}-{{{seats_before}}}}}}}}}}} | {{!}} {{#if:{{Both|{{{seats|}}}|{{{seats_before|}}}}}|style="text-align: right; white-space: nowrap; {{#iferror:{{#expr:{{{seats_before}}}}}||{{#ifexpr:{{{seats}}}>{{{seats_before}}}|color: green;|{{#ifexpr:{{{seats}}}<{{{seats_before}}}|color: red;}}}}}}" {{!}} {{#ifeq:{{lc:{{{seats_before}}}}}|new|New|{{PNsign|{{#expr:{{{seats}}}-{{{seats_before}}}}}}}}}}} | ||
}}}} | }}}}<noinclude>[[Category: Infobox templates]]</noinclude> |
Latest revision as of 10:29, 3 July 2020
scope="row" style="background-color: transparent; font-weight: normal; text-align: left;" | {{{party}}} | | style="text-align: right;" | | style="text-align: right;" | |