Template:Infobox Election: Difference between revisions

From CinderCivs Wiki
Jump to navigation Jump to search
(added vote and swing, and no change bars)
(Added candidate name options.)
Line 25: Line 25:
| colspan="2" style="width: 100px;background-color:{{{party1color}}};" |
| colspan="2" style="width: 100px;background-color:{{{party1color}}};" |
| colspan="2" style="width: 100px;background-color:#ffffff;" |
| colspan="2" style="width: 100px;background-color:#ffffff;" |
|- {{#if: {{{party2image|}}} | style="display: none;" }} {{#if: {{{party1name|}}} | | style="display: none;" }}
| style="width: 50px;" |'''Name'''
| colspan="2" style="width: 100px;text-align: center;" |{{{party1name}}}
| colspan="2" style="width: 100px;text-align: center;" |
|- {{#if: {{{party2image|}}} | style="display: none;" }}
|- {{#if: {{{party2image|}}} | style="display: none;" }}
| style="width: 50px;" |'''Party'''
| style="width: 50px;" |'''Party'''
| colspan="2" style="width: 100px;text-align: center;" |{{{party1}}}
| colspan="2" style="width: 100px;text-align: center;" |{{{party1}}}
| colspan="2" style="width: 100px;text-align: center;" |
| colspan="2" style="width: 100px;text-align: center;" |
|- {{#if: {{{party2image|}}} | style="display: none;" }}
|- {{#if: {{{party2image|}}} | style="display: none;" }} {{#if: {{{party1vote|}}} | | style="display: none;" }}
| style="width: 50px;" |'''Vote'''
| style="width: 50px;" |'''Vote'''
| colspan="2" style="width: 100px;text-align: center;" |{{{party1vote}}}%
| colspan="2" style="width: 100px;text-align: center;" |{{{party1vote}}}%
| colspan="2" style="width: 100px;text-align: center;" |
| colspan="2" style="width: 100px;text-align: center;" |
|- {{#if: {{{party2image|}}} | style="display: none;" }}
|- {{#if: {{{party2image|}}} | style="display: none;" }} {{#if: {{{party1swing|}}} | | style="display: none;" }}
| style="width: 50px;" |'''Swing'''
| style="width: 50px;" |'''Swing'''
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party1change}}} > 0 | <span style="color: green;">&#9650;</span> {{{party1change}}} [[Wikipedia:percentage point |pp]] | {{#ifexpr: {{{party1change}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party1change}}})}} [[Wikipedia:percentage point |pp]] | <span style="color: blue;">&#9644;</span>}} }}
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party1swing}}} > 0 | <span style="color: green;">&#9650;</span> {{{party1swing}}} [[Wikipedia:percentage point |pp]] | {{#ifexpr: {{{party1swing}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party1swing}}})}} [[Wikipedia:percentage point |pp]] | <span style="color: blue;">&#9644;</span>}} }}
| colspan="2" style="width: 100px;text-align: center;" |
| colspan="2" style="width: 100px;text-align: center;" |
|- {{#if: {{{party2image|}}} | style="display: none;" }}
|- {{#if: {{{party2image|}}} | style="display: none;" }} {{#if: {{{party1seats|}}} | | style="display: none;" }}
| style="width: 50px;" |'''Seats'''
| style="width: 50px;" |'''Seats'''
| colspan="2" style="width: 100px;text-align: center;" |{{{party1seats}}}  
| colspan="2" style="width: 100px;text-align: center;" |{{{party1seats}}}  
| colspan="2" style="width: 100px;text-align: center;" |
| colspan="2" style="width: 100px;text-align: center;" |
|- {{#if: {{{party2image|}}} | style="display: none;" }}
|- {{#if: {{{party2image|}}} | style="display: none;" }} {{#if: {{{party1shift|}}} | | style="display: none;" }}
| style="width: 50px;" |'''Shift'''
| style="width: 50px;" |'''Shift'''
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party1swing}}} > 0 | <span style="color: green;">&#9650;</span> {{{party1swing}}} | {{#ifexpr: {{{party1swing}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party1swing}}})}} | <span style="color: blue;">&#9644;</span>}} }}
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party1shift}}} > 0 | <span style="color: green;">&#9650;</span> {{{party1shift}}} | {{#ifexpr: {{{party1shift}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party1shift}}})}} | <span style="color: blue;">&#9644;</span>}} }}
| colspan="2" style="width: 100px;text-align: center;" |
| colspan="2" style="width: 100px;text-align: center;" |


Line 50: Line 54:
| colspan="2" style="width: 100px;text-align: center;" |[[File:{{{party1image}}}|95px]]
| colspan="2" style="width: 100px;text-align: center;" |[[File:{{{party1image}}}|95px]]
| colspan="2" style="width: 100px;text-align: center;" |[[File:{{{party2image}}}|95px]]
| colspan="2" style="width: 100px;text-align: center;" |[[File:{{{party2image}}}|95px]]
|- {{#if: {{{party1image|}}} | | style="display: none; text-align:left;" }}{{#if:  
|- {{#if: {{{party1image|}}} | | style="display: none;" }}{{#if: {{{party2image|}}} | | style="display: none;" }}
{{{party2image|}}} | | style="display: none;" }}
| style="width: 50px;" |
| style="width: 50px;" |
| colspan="2" style="width: 100px;background-color:{{{party1color}}};" |
| colspan="2" style="width: 100px;background-color:{{{party1color}}};" |
| colspan="2" style="width: 100px;background-color:{{{party2color}}};"" |
| colspan="2" style="width: 100px;background-color:{{{party2color}}};"" |
|- {{#if: {{{party1image|}}} | | style="display: none; text-align:left;" }}{{#if:
|- {{#if: {{{party1image|}}} | | style="display: none;" }}{{#if: {{{party2image|}}} | | style="display: none;" }} {{#if: {{{party1name|}}} | | style="display: none;" }}
{{{party2image|}}} | | style="display: none;" }}
| style="width: 50px;" |'''Name'''
| colspan="2" style="width: 100px;text-align: center;" |{{{party1name}}}
| colspan="2" style="width: 100px;text-align: center;" |{{{party2name}}}
|- {{#if: {{{party1image|}}} | | style="display: none;" }}{{#if: {{{party2image|}}} | | style="display: none;" }}
| style="width: 50px;" |'''Party'''
| style="width: 50px;" |'''Party'''
| colspan="2" style="width: 100px;text-align: center;" |{{{party1}}}
| colspan="2" style="width: 100px;text-align: center;" |{{{party1}}}
| colspan="2" style="width: 100px;text-align: center;" |{{{party2}}}
| colspan="2" style="width: 100px;text-align: center;" |{{{party2}}}
|- {{#if: {{{party1image|}}} | | style="display: none; text-align:left;" }}{{#if:
|- {{#if: {{{party1image|}}} | | style="display: none;" }}{{#if: {{{party2image|}}} | | style="display: none;" }} {{#if: {{{party1vote|}}} | | style="display: none;" }}
{{{party2image|}}} | | style="display: none;" }}
| style="width: 50px;" |'''Vote'''
| style="width: 50px;" |'''Vote'''
| colspan="2" style="width: 100px;text-align: center;" |{{{party1vote}}}%
| colspan="2" style="width: 100px;text-align: center;" |{{{party1vote}}}%
| colspan="2" style="width: 100px;text-align: center;" |{{{party2vote}}}%
| colspan="2" style="width: 100px;text-align: center;" |{{{party2vote}}}%
|- {{#if: {{{party1image|}}} | | style="display: none; text-align:left;" }}{{#if:
|- {{#if: {{{party1image|}}} | | style="display: none;" }}{{#if: {{{party2image|}}} | | style="display: none;" }} {{#if: {{{party1swing|}}} | | style="display: none;" }}
{{{party2image|}}} | | style="display: none;" }}
| style="width: 50px;" |'''Swing'''
| style="width: 50px;" |'''Swing'''
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party1change}}} > 0 | <span style="color: green;">&#9650;</span> {{{party1change}}} [[Wikipedia:percentage point |pp]] | {{#ifexpr: {{{party1change}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party1change}}})}} [[Wikipedia:percentage point |pp]] | <span style="color: blue;">&#9644;</span>}} }}
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party1swing}}} > 0 | <span style="color: green;">&#9650;</span> {{{party1swing}}} [[Wikipedia:percentage point |pp]] | {{#ifexpr: {{{party1swing}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party1swing}}})}} [[Wikipedia:percentage point |pp]] | <span style="color: blue;">&#9644;</span>}} }}
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party2change}}} > 0 | <span style="color: green;">&#9650;</span> {{{party2change}}} [[Wikipedia:percentage point |pp]] | {{#ifexpr: {{{party2change}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party2change}}})}} [[Wikipedia:percentage point |pp]] | <span style="color: blue;">&#9644;</span>}} }}
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party2swing}}} > 0 | <span style="color: green;">&#9650;</span> {{{party2swing}}} [[Wikipedia:percentage point |pp]] | {{#ifexpr: {{{party2swing}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party2swing}}})}} [[Wikipedia:percentage point |pp]] | <span style="color: blue;">&#9644;</span>}} }}
|- {{#if: {{{party1image|}}} | | style="display: none; text-align:left;" }}{{#if: {{{party2image|}}} | | style="display: none;" }}
|- {{#if: {{{party1image|}}} | | style="display: none;" }}{{#if: {{{party2image|}}} | | style="display: none;" }} {{#if: {{{party1seats|}}} | | style="display: none;" }}
| style="width: 50px;" |'''Seats'''
| style="width: 50px;" |'''Seats'''
| colspan="2" style="width: 100px;text-align: center;" |{{{party1seats}}}
| colspan="2" style="width: 100px;text-align: center;" |{{{party1seats}}}
| colspan="2" style="width: 100px;text-align: center;" |{{{party2seats}}}
| colspan="2" style="width: 100px;text-align: center;" |{{{party2seats}}}
|- {{#if: {{{party1image|}}} | | style="display: none; text-align:left;" }}{{#if: {{{party2image|}}} | | style="display: none;" }}
|- {{#if: {{{party1image|}}} | | style="display: none;" }}{{#if: {{{party2image|}}} | | style="display: none;" }} {{#if: {{{party1shift|}}} | | style="display: none;" }}
| style="width: 50px;" |'''Shift'''
| style="width: 50px;" |'''Shift'''
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party1swing}}} > 0 | <span style="color: green;">&#9650;</span> {{{party1swing}}} | {{#ifexpr: {{{party1swing}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party1swing}}})}} | <span style="color: blue;">&#9644;</span>}} }}
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party1shift}}} > 0 | <span style="color: green;">&#9650;</span> {{{party1shift}}} | {{#ifexpr: {{{party1shift}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party1shift}}})}} | <span style="color: blue;">&#9644;</span>}} }}
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party2swing}}} > 0 | <span style="color: green;">&#9650;</span> {{{party2swing}}} | {{#ifexpr: {{{party2swing}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party2swing}}})}} | <span style="color: blue;">&#9644;</span>}} }}
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party2shift}}} > 0 | <span style="color: green;">&#9650;</span> {{{party2shift}}} | {{#ifexpr: {{{party2shift}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party2shift}}})}} | <span style="color: blue;">&#9644;</span>}} }}


|- {{#if: {{{party3image|}}} | | style="display: none;" }}{{#if: {{{party4image|}}} | style="display: none;" }}
|- {{#if: {{{party3image|}}} | | style="display: none;" }}{{#if: {{{party4image|}}} | style="display: none;" }}
Line 87: Line 91:
| colspan="2" style="width: 100px;background-color:{{{party3color}}};" |
| colspan="2" style="width: 100px;background-color:{{{party3color}}};" |
| colspan="2" style="width: 100px;background-color:#ffffff;" |
| colspan="2" style="width: 100px;background-color:#ffffff;" |
|- {{#if: {{{party3image|}}} | | style="display: none;" }}{{#if: {{{party4image|}}} | style="display: none;" }} {{#if: {{{party3name|}}} | | style="display: none;" }}
| style="width: 50px;" |'''Name'''
| colspan="2" style="width: 100px;text-align: center;" |{{{party3name}}}
| colspan="2" style="width: 100px;text-align: center;" |
|- {{#if: {{{party3image|}}} | | style="display: none;" }}{{#if: {{{party4image|}}} | style="display: none;" }}
|- {{#if: {{{party3image|}}} | | style="display: none;" }}{{#if: {{{party4image|}}} | style="display: none;" }}
| style="width: 50px;" |'''Party'''
| style="width: 50px;" |'''Party'''
| colspan="2" style="width: 100px;text-align: center;" |{{{party3}}}
| colspan="2" style="width: 100px;text-align: center;" |{{{party3}}}
| colspan="2" style="width: 100px;text-align: center;" |
| colspan="2" style="width: 100px;text-align: center;" |
|- {{#if: {{{party3image|}}} | | style="display: none;" }}{{#if: {{{party4image|}}} | style="display: none;" }}
|- {{#if: {{{party3image|}}} | | style="display: none;" }}{{#if: {{{party4image|}}} | style="display: none;" }} {{#if: {{{party3vote|}}} | | style="display: none;" }}
| style="width: 50px;" |'''Vote'''
| style="width: 50px;" |'''Vote'''
| colspan="2" style="width: 100px;text-align: center;" |{{{party3vote}}}%
| colspan="2" style="width: 100px;text-align: center;" |{{{party3vote}}}%
| colspan="2" style="width: 100px;text-align: center;" |
| colspan="2" style="width: 100px;text-align: center;" |
|- {{#if: {{{party3image|}}} | | style="display: none;" }}{{#if: {{{party4image|}}} | style="display: none;" }}
|- {{#if: {{{party3image|}}} | | style="display: none;" }}{{#if: {{{party4image|}}} | style="display: none;" }} {{#if: {{{party3swing|}}} | | style="display: none;" }}
| style="width: 50px;" |'''Swing'''
| style="width: 50px;" |'''Swing'''
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party3change}}} > 0 | <span style="color: green;">&#9650;</span> {{{party3change}}} [[Wikipedia:percentage point |pp]] | {{#ifexpr: {{{party3change}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party3change}}})}} [[Wikipedia:percentage point |pp]] | <span style="color: blue;">&#9644;</span>}} }}
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party3swing}}} > 0 | <span style="color: green;">&#9650;</span> {{{party3swing}}} [[Wikipedia:percentage point |pp]] | {{#ifexpr: {{{party3swing}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party3swing}}})}} [[Wikipedia:percentage point |pp]] | <span style="color: blue;">&#9644;</span>}} }}
|- {{#if: {{{party3image|}}} | | style="display: none;" }}{{#if: {{{party4image|}}} | style="display: none;" }}
|- {{#if: {{{party3image|}}} | | style="display: none;" }}{{#if: {{{party4image|}}} | style="display: none;" }} {{#if: {{{party3seats|}}} | | style="display: none;" }}
| style="width: 50px;" |'''Seats'''
| style="width: 50px;" |'''Seats'''
| colspan="2" style="width: 100px;text-align: center;" |{{{party3seats}}}
| colspan="2" style="width: 100px;text-align: center;" |{{{party3seats}}}
| colspan="2" style="width: 100px;text-align: center;" |
| colspan="2" style="width: 100px;text-align: center;" |
|- {{#if: {{{party3image|}}} | | style="display: none;" }}{{#if: {{{party4image|}}} | style="display: none;" }}
|- {{#if: {{{party3image|}}} | | style="display: none;" }}{{#if: {{{party4image|}}} | style="display: none;" }} {{#if: {{{party3shift|}}} | | style="display: none;" }}
| style="width: 50px;" |'''Shift'''
| style="width: 50px;" |'''Shift'''
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party3swing}}} > 0 | <span style="color: green;">&#9650;</span> {{{party3swing}}} | {{#ifexpr: {{{party3swing}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party3swing}}})}} | <span style="color: blue;">&#9644;</span>}} }}
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party3shift}}} > 0 | <span style="color: green;">&#9650;</span> {{{party3shift}}} | {{#ifexpr: {{{party3shift}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party3shift}}})}} | <span style="color: blue;">&#9644;</span>}} }}
| colspan="2" style="width: 100px;text-align: center;" |
| colspan="2" style="width: 100px;text-align: center;" |


Line 111: Line 119:
| colspan="2" style="width: 100px;text-align: center;" |[[File:{{{party3image}}}|95px]]
| colspan="2" style="width: 100px;text-align: center;" |[[File:{{{party3image}}}|95px]]
| colspan="2" style="width: 100px;text-align: center;" |[[File:{{{party4image}}}|95px]]
| colspan="2" style="width: 100px;text-align: center;" |[[File:{{{party4image}}}|95px]]
|- {{#if: {{{party3image|}}} | | style="display: none; text-align:left;" }}{{#if:  
|- {{#if: {{{party3image|}}} | | style="display: none;" }}{{#if: {{{party4image|}}} | | style="display: none;" }}
{{{party4image|}}} | | style="display: none;" }}
| style="width: 50px;" |
| style="width: 50px;" |
| colspan="2" style="width: 100px;background-color:{{{party3color}}};" |
| colspan="2" style="width: 100px;background-color:{{{party3color}}};" |
| colspan="2" style="width: 100px;background-color:{{{party4color}}};"" |
| colspan="2" style="width: 100px;background-color:{{{party4color}}};"" |
|- {{#if: {{{party3image|}}} | | style="display: none; text-align:left;" }}{{#if:
|- {{#if: {{{party3image|}}} | | style="display: none;" }}{{#if: {{{party4image|}}} | | style="display: none;" }} {{#if: {{{party3name|}}} | | style="display: none;" }}
{{{party4image|}}} | | style="display: none;" }}
| style="width: 50px;" |'''Name'''
| colspan="2" style="width: 100px;text-align: center;" |{{{party3name}}}
| colspan="2" style="width: 100px;text-align: center;" |{{{party4name}}}
|- {{#if: {{{party3image|}}} | | style="display: none;" }}{{#if: {{{party4image|}}} | | style="display: none;" }}
| style="width: 50px;" |'''Party'''
| style="width: 50px;" |'''Party'''
| colspan="2" style="width: 100px;text-align: center;" |{{{party3}}}
| colspan="2" style="width: 100px;text-align: center;" |{{{party3}}}
| colspan="2" style="width: 100px;text-align: center;" |{{{party4}}}
| colspan="2" style="width: 100px;text-align: center;" |{{{party4}}}
|- {{#if: {{{party3image|}}} | | style="display: none; text-align:left;" }}{{#if: {{{party4image|}}} | | style="display: none;" }}
|- {{#if: {{{party3image|}}} | | style="display: none;" }}{{#if: {{{party4image|}}} | | style="display: none;" }} {{#if: {{{party3vote|}}} | | style="display: none;" }}
|- {{#if: {{{party3image|}}} | | style="display: none; text-align:left;" }}{{#if:
{{{party4image|}}} | | style="display: none;" }}
| style="width: 50px;" |'''Vote'''
| style="width: 50px;" |'''Vote'''
| colspan="2" style="width: 100px;text-align: center;" |{{{party3vote}}}%
| colspan="2" style="width: 100px;text-align: center;" |{{{party3vote}}}%
| colspan="2" style="width: 100px;text-align: center;" |{{{party4vote}}}%
| colspan="2" style="width: 100px;text-align: center;" |{{{party4vote}}}%
|- {{#if: {{{party3image|}}} | | style="display: none; text-align:left;" }}{{#if:
|- {{#if: {{{party3image|}}} | | style="display: none;" }}{{#if: {{{party4image|}}} | | style="display: none;" }} {{#if: {{{party3swing|}}} | | style="display: none;" }}
{{{party4image|}}} | | style="display: none;" }}
| style="width: 50px;" |'''Swing'''
| style="width: 50px;" |'''Swing'''
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party3change}}} > 0 | <span style="color: green;">&#9650;</span> {{{party3change}}} [[Wikipedia:percentage point |pp]] | {{#ifexpr: {{{party3change}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party3change}}})}} [[Wikipedia:percentage point |pp]] | <span style="color: blue;">&#9644;</span>}} }}
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party3swing}}} > 0 | <span style="color: green;">&#9650;</span> {{{party3swing}}} [[Wikipedia:percentage point |pp]] | {{#ifexpr: {{{party3swing}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party3swing}}})}} [[Wikipedia:percentage point |pp]] | <span style="color: blue;">&#9644;</span>}} }}
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party4change}}} > 0 | <span style="color: green;">&#9650;</span> {{{party4change}}} [[Wikipedia:percentage point |pp]] | {{#ifexpr: {{{party4change}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party4change}}})}} [[Wikipedia:percentage point |pp]] | <span style="color: blue;">&#9644;</span>}} }}
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party4swing}}} > 0 | <span style="color: green;">&#9650;</span> {{{party4swing}}} [[Wikipedia:percentage point |pp]] | {{#ifexpr: {{{party4swing}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party4swing}}})}} [[Wikipedia:percentage point |pp]] | <span style="color: blue;">&#9644;</span>}} }}
|- {{#if: {{{party3image|}}} | | style="display: none; text-align:left;" }}{{#if: {{{party4image|}}} | | style="display: none;" }}
|- {{#if: {{{party3image|}}} | | style="display: none;" }}{{#if: {{{party4image|}}} | | style="display: none;" }} {{#if: {{{party3seats|}}} | | style="display: none;" }}
| style="width: 50px;" |'''Seats'''
| style="width: 50px;" |'''Seats'''
| colspan="2" style="width: 100px;text-align: center;" |{{{party3seats}}}
| colspan="2" style="width: 100px;text-align: center;" |{{{party3seats}}}
| colspan="2" style="width: 100px;text-align: center;" |{{{party4seats}}}
| colspan="2" style="width: 100px;text-align: center;" |{{{party4seats}}}
|- {{#if: {{{party3image|}}} | | style="display: none; text-align:left;" }}{{#if: {{{party4image|}}} | | style="display: none;" }}
|- {{#if: {{{party3image|}}} | | style="display: none;" }}{{#if: {{{party4image|}}} | | style="display: none;" }} {{#if: {{{party3shift|}}} | | style="display: none;" }}
| style="width: 50px;" |'''Shift'''
| style="width: 50px;" |'''Shift'''
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party3swing}}} > 0 | <span style="color: green;">&#9650;</span> {{{party3swing}}} | {{#ifexpr: {{{party3swing}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party3swing}}})}} | <span style="color: blue;">&#9644;</span>}} }}
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party3shift}}} > 0 | <span style="color: green;">&#9650;</span> {{{party3shift}}} | {{#ifexpr: {{{party3shift}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party3shift}}})}} | <span style="color: blue;">&#9644;</span>}} }}
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party4swing}}} > 0 | <span style="color: green;">&#9650;</span> {{{party4swing}}} | {{#ifexpr: {{{party4swing}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party4swing}}})}} | <span style="color: blue;">&#9644;</span>}} }}
| colspan="2" style="width: 100px;text-align: center;" |{{#ifexpr: {{{party4shift}}} > 0 | <span style="color: green;">&#9650;</span> {{{party4shift}}} | {{#ifexpr: {{{party4shift}}} < 0 | <span style="color: red;">&#9660;</span> {{#expr: abs({{{party4shift}}})}} | <span style="color: blue;">&#9644;</span>}} }}
|- {{#if: {{{senateimage|}}} | | style="display: none;" }}
|- {{#if: {{{senateimage|}}} | | style="display: none;" }}
| colspan="5" style="background-color:{{{color}}};" |
| colspan="5" style="background-color:{{{color}}};" |
Line 149: Line 156:
</onlyinclude>
</onlyinclude>


{{Infobox Sanéan Election|flag=Flag of the Commmonwealth of Sanéa.png|color=#EAC063|prevelection=March 2024 Sanéan Senate Elections|nextelection=July 2024 Sanéan Senate Elections|date=May 29, 2024|name=Sanéan Senatorial Elections|consulimage=example.png|consulcaption=Consul Example, of the example party.|party1image=example.png|party1=Party 1|party1color=#ff0000|party1vote=28.2|party1change=-9.1|party1seats=2|party1swing=-1|party2image=example.png|party2=Party 2|party2color=#00ff00|party2vote=33.1|party2change=0.2|party2seats=2|party2swing=0|party3image=example.png|party3=Party 3|party3color=#0000ff|party3vote=35.1|party3change=8.9|party3seats=1|party3swing=1|senateimage=example.png}}
{{Infobox Sanéan Election|flag=Flag of the Commmonwealth of Sanéa.png|color=#EAC063|prevelection=March 2024 Sanéan Senate Elections|nextelection=July 2024 Sanéan Senate Elections|date=May 29, 2024|name=Sanéan Senatorial Elections|consulimage=example.png|consulcaption=Consul Example, of the example party.|party1image=example.png|party1=Party 1|party1color=#ff0000|party1vote=28.2|party1swing=-9.1|party1seats=2|party1shift=-1|party2image=example.png|party2=Party 2|party2color=#00ff00|party2vote=33.1|party2swing=0.2|party2seats=2|party2shift=0|party3image=example.png|party3=Party 3|party3color=#0000ff|party3vote=35.1|party3swing=8.9|party3seats=1|party3shift=1|senateimage=example.png}}


{{Infobox Sanéan Election|flag=Ritanniaflag.jpeg|color=#EAC063|prevelection=March 2024 Sanéan Senate Elections|nextelection=July 2024 Sanéan Senate Elections|date=October 31, 2024|name=<br>Spooky Presidential Election|consulimage=example.png|consulcaption=Consul Example, of the example party.|party1image=example.png|party1=Party 1|party1color=#ff0000|party1vote=100.0|party1change=0|party1seats=2|party1swing=-1}}
{{Infobox Sanéan Election|flag=Ritanniaflag.jpeg|color=#EAC063|prevelection=March 2024 Sanéan Senate Elections|nextelection=July 2024 Sanéan Senate Elections|date=October 31, 2024|name=<br>Spooky Presidential Election|consulimage=example.png|consulcaption=President Anonymous in the Square Office|party1image=example.png|party1name=Anonymous|party1=Totally-not-a-one-party-state Party|party1color=#ff0000|party1vote=100.0|party1swing=0}}

Revision as of 06:00, 30 May 2024

[[{{{prevelection}}}|prev]] [[File:{{{flag}}}|50px]] [[{{{nextelection}}}|next]]
{{{date}}} {{{name}}}
[[file:|150px]]
{{{consulcaption}}}
[[File:|95px]]
Name {{{party1name}}}
Party {{{party1}}}
Vote {{{party1vote}}}%
Swing Expression error: Unrecognized punctuation character "{".
Seats {{{party1seats}}}
Shift Expression error: Unrecognized punctuation character "{".
[[File:{{{party1image}}}|95px]] [[File:{{{party2image}}}|95px]]
Name {{{party1name}}} {{{party2name}}}
Party {{{party1}}} {{{party2}}}
Vote {{{party1vote}}}% {{{party2vote}}}%
Swing Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{".
Seats {{{party1seats}}} {{{party2seats}}}
Shift Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{".
[[File:|95px]]
Name {{{party3name}}}
Party {{{party3}}}
Vote {{{party3vote}}}%
Swing Expression error: Unrecognized punctuation character "{".
Seats {{{party3seats}}}
Shift Expression error: Unrecognized punctuation character "{".
[[File:{{{party3image}}}|95px]] [[File:{{{party4image}}}|95px]]
Name {{{party3name}}} {{{party4name}}}
Party {{{party3}}} {{{party4}}}
Vote {{{party3vote}}}% {{{party4vote}}}%
Swing Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{".
Seats {{{party3seats}}} {{{party4seats}}}
Shift Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{".
[[file:|240px]]
The Sanéan Senate after the election


prev next
May 29, 2024 Sanéan Senatorial Elections
Consul Example, of the example party.
Name {{{party1name}}}
Party Party 1
Vote 28.2%
Swing 9.1 pp
Seats 2
Shift 1
Name {{{party1name}}} {{{party2name}}}
Party Party 1 Party 2
Vote 28.2% 33.1%
Swing 9.1 pp 0.2 pp
Seats 2 2
Shift 1
Name {{{party3name}}}
Party Party 3
Vote 35.1%
Swing 8.9 pp
Seats 1
Shift 1
[[File:{{{party4image}}}|95px]]
Name {{{party3name}}} {{{party4name}}}
Party Party 3 {{{party4}}}
Vote 35.1% {{{party4vote}}}%
Swing 8.9 pp Expression error: Unrecognized punctuation character "{".
Seats 1 {{{party4seats}}}
Shift 1 Expression error: Unrecognized punctuation character "{".
[[file:|240px]]
{{{endimagecaption}}}


prev next
October 31, 2024
Spooky Presidential Election
President Anonymous in the Square Office
Name Anonymous
Party Totally-not-a-one-party-state Party
Vote 100.0%
Swing
Seats {{{party1seats}}}
Shift Expression error: Unrecognized punctuation character "{".
[[File:{{{party2image}}}|95px]]
Name Anonymous {{{party2name}}}
Party Totally-not-a-one-party-state Party {{{party2}}}
Vote 100.0% {{{party2vote}}}%
Swing Expression error: Unrecognized punctuation character "{".
Seats {{{party1seats}}} {{{party2seats}}}
Shift Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{".
[[File:|95px]]
Name {{{party3name}}}
Party {{{party3}}}
Vote {{{party3vote}}}%
Swing Expression error: Unrecognized punctuation character "{".
Seats {{{party3seats}}}
Shift Expression error: Unrecognized punctuation character "{".
[[File:{{{party3image}}}|95px]] [[File:{{{party4image}}}|95px]]
Name {{{party3name}}} {{{party4name}}}
Party {{{party3}}} {{{party4}}}
Vote {{{party3vote}}}% {{{party4vote}}}%
Swing Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{".
Seats {{{party3seats}}} {{{party4seats}}}
Shift Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{".
[[file:|240px]]
{{{endimagecaption}}}