Template:Infobox Election template 1: Difference between revisions

From RoPlay
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Reverted
Line 128: Line 128:
|color1=#238b45
|color1=#238b45
|color2=#edbb8a
|color2=#edbb8a
|color3=#52923f
|color4=#7a275a
|name1=Leader of Faction with Most Seats
|name1=Leader of Faction with Most Seats
|name2=Leader of Faction with Second-Most Seats
|name2=Leader of Faction with Second-Most Seats
|name3=Leader of Faction with Third-Most Seats
|name4=Leader of Faction with Fourth-Most Seats
|party1=Faction with Most Seats
|party1=Faction with Most Seats
|party2=Faction with Second-Most Seats
|party2=Faction with Second-Most Seats
|party3=Faction with Most Seats
|party4=Faction with Second-Most Seats
|alliance1=If alliances, put here
|alliance1=If alliances, put here
|alliance2=If alliances, put here
|alliance2=If alliances, put here
|leadersince1=When Leader took office
|alliance3=If alliances, put here
|leadersince2=When Leader took office
|alliance4=If alliances, put here
|leadersince1=When Leader took office * if incumbent
|leadersince2=When Leader took office * if incumbent
|leadersince3=When Leader took office * if incumbent
|leadersince4=When Leader took office * if incumbent
|leaderseat1=Player Name (optionally a link to them)
|leaderseat1=Player Name (optionally a link to them)
|leaderseat2=Player Name (optionally a link to them)
|leaderseat2=Player Name (optionally a link to them)
|leaderseat3=Player Name (optionally a link to them)
|leaderseat4=Player Name (optionally a link to them)
|lastelection1=10 seats, 50%
|lastelection1=10 seats, 50%
|lastelection2=5 seats, 25%
|lastelection2=5 seats, 25%
|lastelection3=2 seats, 50%
|lastelection4=6 seats, 25%
|seatswon1=12
|seatswon1=12
|seatswon2=4
|seatswon2=4
|seatswon3=12
|seatswon4=4
|seatchange1=2
|seatchange1=2
|seatchange2=-1
|seatchange2=-1
|popular1=50
|seatchange3=2
|seatchange4=3
|popular1=25
|popular2=25
|popular2=25
|popular3=25
|popular4=25
|percentage1=50%
|percentage1=50%
|percentage2=25.50%
|percentage2=25.50%
|percentage3=50%
|percentage4=25.50%
|swing1=50%
|swing1=50%
|swing2=25.50%
|swing2=25.50%
|swing3=50%
|swing4=25.50%
|map_image=[[File:Example election map.png|150px]]
|map_image=[[File:Example election map.png|150px]]
|map_caption=Map of Results (ENTIRELY OPTIONAL, can just be map of region if you want.)
|map_caption=Map of Results (ENTIRELY OPTIONAL, can just be map of region if you want.)
Line 163: Line 187:
{{Infobox Election template 1
{{Infobox Election template 1
|title1=Example Election
|title1=Example Election
|flag=[[File:Kangaraland Flag.png|230px]]
|flag=[[File:Falkland Islands.png|230px|border]]
|dateofelection=01/01/2020
|dateofelection=01/01/2020
|seatsup=Seats: 20 Parliment
|seatsup=Seats: 20 Parliment
|needed=Needed for Majority: 15
|needed=Needed for Majority: 15
|turnout=43.2%
|turnout=43.2%
|portraitOfLeader1=[[File: Starmeh President .png|170px]]
|portraitOfLeader1=[[File:Example portrait.png|170px]]
|portraitOfLeader2=[[File: Starmeh President .png|170px]]
|portraitOfLeader2=[[File:Example portrait.png|170px]]
|portraitOfLeader3=[[File:Example portrait.png|170px]]
|portraitOfLeader4=[[File:Example portrait.png|170px]]
|color1=#238b45
|color1=#238b45
|color2=#edbb8a
|color2=#edbb8a
|color3=#52923f
|color4=#7a275a
|name1=Leader of Faction with Most Seats
|name1=Leader of Faction with Most Seats
|name2=Leader of Faction with Second-Most Seats
|name2=Leader of Faction with Second-Most Seats
|name3=Leader of Faction with Third-Most Seats
|name4=Leader of Faction with Fourth-Most Seats
|party1=Faction with Most Seats
|party1=Faction with Most Seats
|party2=Faction with Second-Most Seats
|party2=Faction with Second-Most Seats
|party3=Faction with Most Seats
|party4=Faction with Second-Most Seats
|alliance1=If alliances, put here
|alliance1=If alliances, put here
|alliance2=If alliances, put here
|alliance2=If alliances, put here
|leadersince1=When Leader took office
|alliance3=If alliances, put here
|leadersince2=When Leader took office
|alliance4=If alliances, put here
|leadersince1=When Leader took office * if incumbent
|leadersince2=When Leader took office * if incumbent
|leadersince3=When Leader took office * if incumbent
|leadersince4=When Leader took office * if incumbent
|leaderseat1=Player Name (optionally a link to them)
|leaderseat1=Player Name (optionally a link to them)
|leaderseat2=Player Name (optionally a link to them)
|leaderseat2=Player Name (optionally a link to them)
|leaderseat3=Player Name (optionally a link to them)
|leaderseat4=Player Name (optionally a link to them)
|lastelection1=10 seats, 50%
|lastelection1=10 seats, 50%
|lastelection2=5 seats, 25%
|lastelection2=5 seats, 25%
|lastelection3=2 seats, 50%
|lastelection4=6 seats, 25%
|seatswon1=12
|seatswon1=12
|seatswon2=4
|seatswon2=4
|seatswon3=12
|seatswon4=4
|seatchange1=2
|seatchange1=2
|seatchange2=-1
|seatchange2=-1
|popular1=50
|seatchange3=2
|seatchange4=3
|popular1=25
|popular2=25
|popular2=25
|popular3=25
|popular4=25
|percentage1=50%
|percentage1=50%
|percentage2=25.50%
|percentage2=25.50%
|percentage3=50%
|percentage4=25.50%
|swing1=50%
|swing1=50%
|swing2=25.50%
|swing2=25.50%
|swing3=50%
|swing4=25.50%
|map_image=[[File:Example election map.png|150px]]
|map_image=[[File:Example election map.png|150px]]
|map_caption=Map of Results (ENTIRELY OPTIONAL, can just be map of region if you want.)
|map_caption=Map of Results (ENTIRELY OPTIONAL, can just be map of region if you want.)

Revision as of 17:28, 22 September 2024

{{{title1}}}
'
Turnout
{{{portraitOfLeader1}}} {{{portraitOfLeader2}}} {{{image3}}}
Leader {{{name1}}}
Party
Alliance
Leader since
Leader's seat
Last election
Seats won
Seat change
Popular vote
Percentage
Swing
{{{map_image}}}
{{{officer}}} before
{{{officer}}} after
Example Election
← Link To Previous Election 01/01/2020 Link To Next Election →
Seats: 20 Parliment
Needed for Majority: 15
Turnout 43.2%
Leader Leader of Faction with Most Seats Leader of Faction with Second-Most Seats Leader of Faction with Third-Most Seats
Party Faction with Most Seats Faction with Second-Most Seats Faction with Most Seats
Alliance If alliances, put here If alliances, put here If alliances, put here
Leader since When Leader took office * if incumbent When Leader took office * if incumbent When Leader took office * if incumbent
Leader's seat Player Name (optionally a link to them) Player Name (optionally a link to them) Player Name (optionally a link to them)
Last election 10 seats, 50% 5 seats, 25% 2 seats, 50%
Seats won 12 4 12
Seat change 2 -1 2
Popular vote 25 25 25
Percentage 50% 25.50% 50%
Swing 50% 25.50% 50%
Map of Results (ENTIRELY OPTIONAL, can just be map of region if you want.)
Name of head of body before
Old head of body
Name of head of body after
New head of body

The Election Template is used to display election results of a pass vote. Can be used in many ways. There are additional election templates if this one does not fit your style.

Inputs Used

{{Infobox Election template 1
|title1=Example Election
|flag=[[File:Falkland Islands.png|230px|border]]
|dateofelection=01/01/2020
|seatsup=Seats: 20 Parliment
|needed=Needed for Majority: 15
|turnout=43.2%
|portraitOfLeader1=[[File:Example portrait.png|170px]]
|portraitOfLeader2=[[File:Example portrait.png|170px]]
|portraitOfLeader3=[[File:Example portrait.png|170px]]
|portraitOfLeader4=[[File:Example portrait.png|170px]]
|color1=#238b45
|color2=#edbb8a
|color3=#52923f
|color4=#7a275a
|name1=Leader of Faction with Most Seats
|name2=Leader of Faction with Second-Most Seats
|name3=Leader of Faction with Third-Most Seats
|name4=Leader of Faction with Fourth-Most Seats
|party1=Faction with Most Seats
|party2=Faction with Second-Most Seats
|party3=Faction with Most Seats
|party4=Faction with Second-Most Seats
|alliance1=If alliances, put here
|alliance2=If alliances, put here
|alliance3=If alliances, put here
|alliance4=If alliances, put here
|leadersince1=When Leader took office * if incumbent
|leadersince2=When Leader took office * if incumbent
|leadersince3=When Leader took office * if incumbent
|leadersince4=When Leader took office * if incumbent
|leaderseat1=Player Name (optionally a link to them)
|leaderseat2=Player Name (optionally a link to them)
|leaderseat3=Player Name (optionally a link to them)
|leaderseat4=Player Name (optionally a link to them)
|lastelection1=10 seats, 50%
|lastelection2=5 seats, 25%
|lastelection3=2 seats, 50%
|lastelection4=6 seats, 25%
|seatswon1=12
|seatswon2=4
|seatswon3=12
|seatswon4=4
|seatchange1=2
|seatchange2=-1
|seatchange3=2
|seatchange4=3
|popular1=25
|popular2=25
|popular3=25
|popular4=25
|percentage1=50%
|percentage2=25.50%
|percentage3=50%
|percentage4=25.50%
|swing1=50%
|swing2=25.50%
|swing3=50%
|swing4=25.50%
|map_image=[[File:Example election map.png|150px]]
|map_caption=Map of Results (ENTIRELY OPTIONAL, can just be map of region if you want.)
|officer=Name of head of body
|old=Old head of body
|new=New head of body
|previous=Link To Previous Election
|next=Link To Next Election
}}

Most these things are not requirements

More than 2 candidates

The 2 candidates on display are the most successful and 2nd most, you may use this for more than 2 candidates.

Optional stuff

  • swing
  • popular
  • seatchange
  • lastelection
  • alliance
  • needed
  • leadersince

These are not required, stuff like turnout, percentage, portraits all are.

Colours

Colours, must be, hex colours. Here is a link to a Hex Colour Picker. When adding a colour add the # before it, i.e #fffff or #fcba03