Template:Infobox Election: Difference between revisions
Jump to navigation
Jump to search
(Added candidate name options.) |
m (prev and next election are now optional fields) |
||
Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude> | ||
{| style="float: right; margin: 0 0 0 0.5em; background-color: light-gray; font-size: 85%; border: 2px solid gray; padding: 0.2em; width: 250px; word-wrap: break-word;" | {| style="float: right; margin: 0 0 0 0.5em; background-color: light-gray; font-size: 85%; border: 2px solid gray; padding: 0.2em; width: 250px; word-wrap: break-word;" | ||
| style="width: 50px; text-align: center;" |[[{{{prevelection}}}|prev]] | | style="width: 50px; text-align: center;" |{{#if: {{{prevelection|}}} | [[{{{prevelection}}}|prev]] }} | ||
| colspan="3" style="width: 150px; text-align: center;" |[[File:{{{flag}}}|50px]] | | colspan="3" style="width: 150px; text-align: center;" |[[File:{{{flag}}}|50px]] | ||
| style="width: 50px; text-align: center;" |[[{{{nextelection}}}|next]] | | style="width: 50px; text-align: center;" |{{#if: {{{nextelection|}}} | [[{{{nextelection}}}|next]] }} | ||
|- | |- | ||
| colspan="5" style="background-color:{{{color}}};" | | | colspan="5" style="background-color:{{{color}}};" | | ||
Line 158: | Line 158: | ||
{{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=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 | {{Infobox Sanéan Election|flag=Ritanniaflag.jpeg|color=#EAC063|nextelection=Wikipedia:North Korea|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:07, 30 May 2024
[[File:{{{flag}}}|50px]] | ||||
{{{date}}} {{{name}}} | ||||
[[File:|95px]] | ||||
Party | {{{party1}}} |
prev | next | |||
May 29, 2024 Sanéan Senatorial Elections | ||||
Consul Example, of the example party. | ||||
Party | Party 1 | Party 2 | ||
Vote | 28.2% | 33.1% | ||
Swing | ▼ 9.1 pp | ▲ 0.2 pp | ||
Seats | 2 | 2 | ||
Shift | ▼ 1 | ▬ | ||
Party | Party 3 | |||
Vote | 35.1% | |||
Swing | ▲ 8.9 pp | |||
Seats | 1 | |||
Shift | ▲ 1 |
[[{{{prevelection}}}|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 | ▬ |