Template:Infobox Election template 1: Difference between revisions

From RoPlay
Jump to navigation Jump to search
No edit summary
No edit summary
Line 115: Line 115:
|}
|}
<noinclude>
<noinclude>
This template can be used for any election for a group body that typically would involve political factions. A legislative election that might be nonpartisan or with few candidates or winners, also used if you have a multi-member executive, you may want to use Template:ComplexElectionInfobox and its variants.
{{ElectionTemplate
Note, the leader1 and 2 are for the 1st place and 2nd place, you may use this for more than 2 candidates.
|title1=Example Election
Example usage:
|flag=[[File:Kangaraland Flag.png|230px]]
|dateofelection=01/01/2020
|seatsup=Seats: 20 Parliment
|needed=Needed for Majority: 15
|turnout=43.2%
|portraitOfLeader1=[[File: Starmeh President .png|170px]]
|portraitOfLeader2=[[File: Starmeh President .png|170px]]
|color1=#238b45
|color2=#edbb8a
|name1=Leader of Faction with Most Seats
|name2=Leader of Faction with Second-Most Seats
|party1=Faction with Most Seats
|party2=Faction with Second-Most Seats
|alliance1=If alliances, put here
|alliance2=If alliances, put here
|leadersince1=When Leader took office
|leadersince2=When Leader took office
|leaderseat1=Player Name (optionally a link to them)
|leaderseat2=Player Name (optionally a link to them)
|lastelection1=10 seats, 50%
|lastelection2=5 seats, 25%
|seatswon1=12
|seatswon2=4
|seatchange1=2
|seatchange2=-1
|popular1=50
|popular2=25
|percentage1=50%
|percentage2=25.50%
|swing1=50%
|swing2=25.50%
|map_image=[[File: Image 2024-01-23 064936475.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
}}'''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.
__TOC__
==Inputs Used==
<pre>
<pre>
{{ElectionTemplate
{{ElectionTemplate
|title1=Title of the Election
|title1=Example Election
|flag=Flag of the Country or Subdivision
|flag=[[File:Kangaraland Flag.png|230px]]
|dateofelection=Date election was held
|dateofelection=01/01/2020
|seatsup=All X seats in the (Name of Body)
|seatsup=Seats: 20 Parliment
|needed=X seats needed for a majority
|needed=Needed for Majority: 15
|turnout=XX.X%
|turnout=43.2%
|portraitOfLeader1=Example
|portraitOfLeader1=[[File: Starmeh President .png|170px]]
|portraitOfLeader2=Example
|portraitOfLeader2=[[File: Starmeh President .png|170px]]
|color1=Example
|color1=#238b45
|color2=Example
|color2=#edbb8a
|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
Line 138: Line 178:
|leadersince1=When Leader took office
|leadersince1=When Leader took office
|leadersince2=When Leader took office
|leadersince2=When Leader took office
|leaderseat1=Leader's seat
|leaderseat1=Player Name (optionally a link to them)
|leaderseat2=Leader's seat
|leaderseat2=Player Name (optionally a link to them)
|lastelection1=# seats, #.##%
|lastelection1=10 seats, 50%
|lastelection2=# seats, #.##%
|lastelection2=5 seats, 25%
|seatswon1=#
|seatswon1=12
|seatswon2=#
|seatswon2=4
|seatchange1=#
|seatchange1=2
|seatchange2=#
|seatchange2=-1
|popular1=#
|popular1=50
|popular2=#
|popular2=25
|percentage1=#.##%
|percentage1=50%
|percentage2=#.##%
|percentage2=25.50%
|swing1=#.##%
|swing1=50%
|swing2=#.##%
|swing2=25.50%
|map_image=Example
|map_image=[[File: Image 2024-01-23 064936475.png|150px]]
|map_caption=If you have a map, caption it here
|map_caption=Map of Results (ENTIRELY OPTIONAL, can just be map of region if you want.)
|officer=Name of head of body
|officer=Name of head of body
|old=Old head of body
|old=Old head of body
|new=New head of body
|new=New head of body
|previous=Previous
|previous=Link To Previous Election
|next=Next
|next=Link To Next Election
}}
}}
</pre>
</pre>
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 [https://g.co/kgs/2GG5U2N Hex Colour Picker]. When adding a colour add the # before it, i.e #fffff or #fcba03
[[Category: Templates]]
[[Category: Templates]]
</noinclude>
</noinclude>

Revision as of 16:34, 22 September 2024

Infobox Election template 1
'
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

Template:ElectionTemplateThe 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

{{ElectionTemplate
|title1=Example Election
|flag=[[File:Kangaraland Flag.png|230px]]
|dateofelection=01/01/2020
|seatsup=Seats: 20 Parliment
|needed=Needed for Majority: 15
|turnout=43.2%
|portraitOfLeader1=[[File: Starmeh President .png|170px]]
|portraitOfLeader2=[[File: Starmeh President .png|170px]]
|color1=#238b45
|color2=#edbb8a
|name1=Leader of Faction with Most Seats
|name2=Leader of Faction with Second-Most Seats
|party1=Faction with Most Seats
|party2=Faction with Second-Most Seats
|alliance1=If alliances, put here
|alliance2=If alliances, put here
|leadersince1=When Leader took office
|leadersince2=When Leader took office
|leaderseat1=Player Name (optionally a link to them)
|leaderseat2=Player Name (optionally a link to them)
|lastelection1=10 seats, 50%
|lastelection2=5 seats, 25%
|seatswon1=12
|seatswon2=4
|seatchange1=2
|seatchange2=-1
|popular1=50
|popular2=25
|percentage1=50%
|percentage2=25.50%
|swing1=50%
|swing2=25.50%
|map_image=[[File: Image 2024-01-23 064936475.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