Difference between revisions of "Template:Infobox legislative election/doc"

From blackwiki
Jump to navigation Jump to search
imported>Funandtrvl
(sync w/template, add missing parameters, remove obsolete parameters)
Line 1: Line 1:
 +
{{Map requested|fghh}}
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
Line 4: Line 5:
 
This infobox is used for a parliamentary election with multiple parties winning seats.
 
This infobox is used for a parliamentary election with multiple parties winning seats.
  
==Usage==
+
==Aftermath==
 
{{{{PAGENAMETDOC}}
 
{{{{PAGENAMETDOC}}
| election_name      = {{{election_name}}}
+
| election_name      = 2020 Berengham general Election
| country            = {{{country}}}
+
| country            = Berengham
| flag_year          = {{{flag_year}}}
+
| flag_year          = 2020
| previous_election  = {{{previous_election}}}
+
| previous_election  = 2019 Berengham general Election
| next_election      = {{{next_election}}}
+
| next_election      = next Berengham Election
| election_date      = {{{election_date}}}
+
| election_date      = October 14th, 2020
| seats_for_election = {{{seats_for_election}}}
+
| seats_for_election = 342
| majority_seats    = {{{majority_seats}}}
+
| majority_seats    = 172
| turnout            = {{{turnout}}}
+
| turnout            = 70.2% {{gain}} 2.1%
| ongoing            =
 
  
| party1            = {{{party1}}}
+
| party1            = Left Wing
| colour1            =  
+
| colour1            = #660066
| leader1            = {{{leader1}}}
+
| leader1            = Olivia Dandly
| percentage1        = {{{percentage1}}}
+
| percentage1        = 14.9
| seats1            = 20
+
| seats1            = 51
| last_election1    = 0
+
| last_election1    = 38
  
| party2            = {{{party2}}}
+
| party2            = Liberal Conservative Party
| colour2            =  
+
| colour2            = #0066cc
| leader2            = {{{leader2}}}
+
| leader2            = Jason Tupper
| percentage2        = {{{percentage2}}}
+
| percentage2        = 13.6
| seats2            = 10
+
| seats2            = 46
| last_election2    = 5
+
| last_election2    = 49
 +
 
 +
| party3            = Social Democratic Union
 +
| colour3            = Red
 +
| leader3            = Owen Johnson
 +
| percentage3        = 9.1
 +
| seats3            = 31
 +
| last_election3    = 41
 +
 
 +
| party4            = National Constitution Party
 +
| colour4            = #000066
 +
| leader4            = Heather ayle
 +
| percentage4        = 9.0
 +
| seats4            = 31
 +
| last_election4    = 14
 +
 
 +
| party5            = Union of Interest Parties
 +
| colour5            = #ffff66
 +
| leader5            = Chris carton
 +
| percentage5        = 8.5
 +
| seats5            = 29
 +
| last_election5    = 44
 +
 
 +
| party6            = True Right
 +
| colour6            = #00ccff
 +
| leader6            = Todd Walker
 +
| percentage6        = 7.6
 +
| seats6            = 26
 +
| last_election6    = 20
 +
 
 +
| party7            = Justice Party
 +
| colour7            = #996633
 +
| leader7            = Dian Harris
 +
| percentage7        = 7.2
 +
| seats7            = 26
 +
| last_election7    = 15
 +
 
 +
| party8            = Love Party
 +
| colour8            = #ff00ff
 +
| leader8            = Mike Thompson
 +
| percentage8        = 6.0
 +
| seats8            = 21
 +
| last_election8    = 27
 +
 
 +
| party9            = Green Parties Union
 +
| colour9            = #00ff00
 +
| leader9            = Liam Alexander
 +
| percentage9        = 5.5
 +
| seats9            = 19
 +
| last_election9    = 21
 +
 
 +
| party10            = Centre
 +
| colour10            = #000000
 +
| leader10            = Amy Smith
 +
| percentage10        = 5.3
 +
| seats10            = 18
 +
| last_election10    = 22
 +
 
 +
| party11            = Agrarian Party
 +
| colour11            = #ff8100
 +
| leader11            = Donald Blayer
 +
| percentage11        = 4.9
 +
| seats11            = 17
 +
| last_election11    = 16
 +
 
 +
| party12            = Libertarian Party
 +
| colour12            = #ffff00
 +
| leader12            = Jeremy Clarkson
 +
| percentage12        = 4.0
 +
| seats12            = 14
 +
| last_election12    = 25
 +
 
 +
| party13            = Young Poeple's Party
 +
| colour13            = #669999
 +
| leader13            = Lea Chi
 +
| percentage13        = 3.8
 +
| seats13            = 13
 +
| last_election13    = 10
 
<!-- | results_sec        = -->
 
<!-- | results_sec        = -->
  
Line 37: Line 114:
 
| map_caption        = {{{map_caption}}}
 
| map_caption        = {{{map_caption}}}
  
| title             = {{{title}}}
+
|title = Government
| posttitle          = {{{posttitle}}}
+
|postiture = Government
| before_election    = {{{before_election}}}
+
| before_election    = Social Democratic Union
| before_party      = {{{before_party}}}
+
| before_party      = Helen Mart
| after_election    = {{{after_election}}}
+
| after_election    = Left Wing-Liberal Conservative
| after_party        = {{{after_party}}}
+
| after_party        = Olivia Dandly
 
}}
 
}}
  
 
<pre style="overflow:auto;">
 
<pre style="overflow:auto;">
{{Infobox legislative election
+
Following the Election, a Left Wing- Liberal-Conservative Government was formed, with True Right, Love Party, Agrarian Party, Libertarian Party and Young People's Party in the Government as well.
| election_name      =  
+
<includeonly>{{Sandbox other||
| country            =  
+
<!-- Categories below this line, please; interwikis at Wikidata -->
| flag_year          = <!-- if a variant is needed -->
+
[[Category:Election and referendum infobox templates‎|Legislative Election]]
| previous_election  =  
+
[[Category:Politics and government infobox templates|Legislative Election]]
| next_election      =  
+
[[Category:Embeddable templates]]
| election_date      =  
+
}}</includeonly>
| seats_for_election = <!-- description-- >
+
{{Map requested|fghh}}
| majority_seats    = <!-- number -->
+
{{Documentation subpage}}
| turnout            =  
+
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
| reporting          =
+
 
| last_update       =
+
This infobox is used for a parliamentary election with multiple parties winning seats.
| time_zone          =
+
 
| ongoing           = <!-- or future -->
+
==Aftermath==
| first_election     = <!-- yes/no (blank is no) -->
+
{{{{PAGENAMETDOC}}
| heading1          =
+
| election_name      = 2020 Berengham general Election
| party1             =  
+
| country            = Berengham
| leader1           =  
+
| flag_year          = 2020
| colour1           =  
+
| previous_election  = 2019 Berengham general Election
| percentage1       = <!-- incl. percentage sign -->
+
| next_election      = next Berengham Election
| seats1             =  
+
| election_date      = October 14th, 2020
| last_election1     = <!-- Write 'new' if new party -->
+
| seats_for_election = 342
| heading2          =
+
| majority_seats    = 172
| party2             =  
+
| turnout            = 70.2% {{gain}} 2.1%
| leader2           =  
+
 
| colour2           =  
+
| party1            = Left Wing
| percentage2       = <!-- incl. percentage sign -->
+
| colour1            = #660066
| seats2             =  
+
| leader1            = Olivia Dandly
| last_election2     = <!-- Write 'new' if new party -->
+
| percentage1        = 14.9
| heading3          = <!-- up to | heading35 = -->
+
| seats1            = 51
| party3             = <!-- up to | party35 = -->
+
| last_election1    = 38
| leader3           = <!-- up to | leader35 = -->
+
 
| colour3           = <!-- up to | colour35 = -->
+
| party2            = Liberal Conservative Party
| percentage3       = <!-- up to | percentage35 = -->
+
| colour2            = #0066cc
| seats3             = <!-- up to | seats35 = -->
+
| leader2            = Jason Tupper
| last_election3     = <!-- up to | last_election35 = -->
+
| percentage2        = 13.6
| results_sec        =
+
| seats2            = 46
| map                =  
+
| last_election2    = 49
 +
 
 +
| party3            = Social Democratic Union
 +
| colour3            = Red
 +
| leader3            = Owen Johnson
 +
| percentage3        = 9.1
 +
| seats3            = 31
 +
| last_election3    = 41
 +
 
 +
| party4            = National Constitution Party
 +
| colour4            = #000066
 +
| leader4            = Heather ayle
 +
| percentage4       = 9.0
 +
| seats4            = 31
 +
| last_election4    = 14
 +
 
 +
| party5            = Union of Interest Parties
 +
| colour5            = #ffff66
 +
| leader5           = Chris carton
 +
| percentage5        = 8.5
 +
| seats5            = 29
 +
| last_election5     = 44
 +
 
 +
| party6            = True Right
 +
| colour6            = #00ccff
 +
| leader6            = Todd Walker
 +
| percentage6        = 7.6
 +
| seats6            = 26
 +
| last_election6    = 20
 +
 
 +
| party7             = Justice Party
 +
| colour7           = #996633
 +
| leader7           = Dian Harris
 +
| percentage7       = 7.2
 +
| seats7             = 26
 +
| last_election7     = 15
 +
 
 +
| party8            = Love Party
 +
| colour8            = #ff00ff
 +
| leader8            = Mike Thompson
 +
| percentage8        = 6.0
 +
| seats8            = 21
 +
| last_election8    = 27
 +
 
 +
| party9             = Green Parties Union
 +
| colour9           = #00ff00
 +
| leader9           = Liam Alexander
 +
| percentage9       = 5.5
 +
| seats9             = 19
 +
| last_election9     = 21
 +
 
 +
| party10            = Centre
 +
| colour10            = #000000
 +
| leader10            = Amy Smith
 +
| percentage10        = 5.3
 +
| seats10            = 18
 +
| last_election10    = 22
 +
 
 +
| party11             = Agrarian Party
 +
| colour11            = #ff8100
 +
| leader11           = Donald Blayer
 +
| percentage11        = 4.9
 +
| seats11            = 17
 +
| last_election11    = 16
 +
 
 +
| party12            = Libertarian Party
 +
| colour12           = #ffff00
 +
| leader12            = Jeremy Clarkson
 +
| percentage12       = 4.0
 +
| seats12            = 14
 +
| last_election12    = 25
 +
 
 +
| party13             = Young Poeple's Party
 +
| colour13            = #669999
 +
| leader13            = Lea Chi
 +
| percentage13        = 3.8
 +
| seats13            = 13
 +
| last_election13     = 10
 +
<!-- | results_sec        = -->
 +
 
 +
| map                = {{{map}}}
 
| map_upright        =  
 
| map_upright        =  
| map_alt            =  
+
| map_alt            = {{{map_alt}}}
| map_caption        =  
+
| map_caption        = {{{map_caption}}}
| title             = <!-- Prime Minister or similar -->
+
 
| posttitle          =
+
|title = Government
| before_election    =  
+
|postiture = Government
| before_image      =
+
| before_election    = Social Democratic Union
| before_image_size  = <!-- default size is x65px -->
+
| before_party      = Helen Mart
| before_party      =  
+
| after_election    = Left Wing-Liberal Conservative
| after_election    =  
+
| after_party        = Olivia Dandly
| after_image        =
 
| after_image_size  = <!-- default size is x65px -->
 
| after_party        =  
 
 
}}
 
}}
</pre>
 
 
== Parameters ==
 
; <code>election_name</code>
 
: Name of the elections.
 
; <code>country</code>
 
: Name of the country or territory the elections are taking place in
 
; <code>previous_election</code>
 
: Link to the previous elections (e.g. <nowiki>[[United Kingdom general election, 2010|2010]]</nowiki>)
 
; <code>next_election</code>
 
: Link to the following elections (e.g. <nowiki>[[United Kingdom general election, 2015|2015]]</nowiki>)
 
; <code>election_date</code>
 
: Date of the elections
 
; <code>seats_for_election</code>
 
: Description of which seats this election is about, incl. chamber and how many
 
; <code>majority_seats</code>
 
: The number of seats needed for a majority
 
; <code>first_election</code>
 
: Change to "yes" if this the first election of its kind
 
; <code>ongoing</code>
 
: Change to "yes" if the election results haven't been released
 
; <code>results_sec</code>
 
: Name of section in the article where the results of the election are listed.
 
; <code>turnout</code>
 
: % [[voter turnout]]
 
; <code>party1..35</code>
 
: Name of the party (e.g. United Party)
 
; <code>leader1..35</code>
 
: Leader of the party
 
; <code>colour1..35</code>
 
: Custom party colour
 
; <code>percentage1..35</code>
 
: The party's popular vote share
 
; <code>seats1..35</code>
 
: Number of seats won by the party
 
; <code>last_election1..35</code>
 
: Number of seats won at the previous elections (template coding uses it to work out seat change)
 
; <code>heading1..35</code>
 
: Adds a heading above a particular results row
 
; <code>map</code>
 
: Image file of a map
 
; <code>map_upright</code>
 
: Map size scaling factor; default is <code>1.3</code>
 
; <code>map_alt</code>
 
: [[WP:ALT]]
 
; <code>map_caption</code>
 
: Caption text, perhaps including a {{tl|Legend}}
 
; <code>title</code>
 
: Title of the head of government (e.g. <nowiki>[[Prime Minister of the United Kingdom|Prime Minister]]</nowiki>)
 
; <code>posttitle</code>
 
: Title after the election
 
; <code>before_election</code>
 
: Head of government before the elections
 
; <code>before_party</code>
 
: Party of the head of government prior to the elections
 
; <code>before_image</code>
 
: Image of the outgoing head of government, default size is x65px
 
; <code>after_election</code>
 
: Head of government after the elections
 
; <code>after_party</code>
 
: Party of the head of government after the elections
 
; <code>after_image</code>
 
: Image of the elected head of government, default size is x65px
 
  
 +
<pre style="overflow:auto;">
 +
Following the Election, a Left Wing- Liberal-Conservative Government was formed, with True Right, Love Party, Agrarian Party, Libertarian Party and Young People's Party in the Government as well.
 
<includeonly>{{Sandbox other||
 
<includeonly>{{Sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->

Revision as of 15:04, 7 February 2021

This infobox is used for a parliamentary election with multiple parties winning seats.

Aftermath

{{Template:PAGENAMETDOC | election_name = 2020 Berengham general Election | country = Berengham | flag_year = 2020 | previous_election = 2019 Berengham general Election | next_election = next Berengham Election | election_date = October 14th, 2020 | seats_for_election = 342 | majority_seats = 172 | turnout = 70.2% Increase 2.1%

| party1 = Left Wing | colour1 = #660066 | leader1 = Olivia Dandly | percentage1 = 14.9 | seats1 = 51 | last_election1 = 38

| party2 = Liberal Conservative Party | colour2 = #0066cc | leader2 = Jason Tupper | percentage2 = 13.6 | seats2 = 46 | last_election2 = 49

| party3 = Social Democratic Union | colour3 = Red | leader3 = Owen Johnson | percentage3 = 9.1 | seats3 = 31 | last_election3 = 41

| party4 = National Constitution Party | colour4 = #000066 | leader4 = Heather ayle | percentage4 = 9.0 | seats4 = 31 | last_election4 = 14

| party5 = Union of Interest Parties | colour5 = #ffff66 | leader5 = Chris carton | percentage5 = 8.5 | seats5 = 29 | last_election5 = 44

| party6 = True Right | colour6 = #00ccff | leader6 = Todd Walker | percentage6 = 7.6 | seats6 = 26 | last_election6 = 20

| party7 = Justice Party | colour7 = #996633 | leader7 = Dian Harris | percentage7 = 7.2 | seats7 = 26 | last_election7 = 15

| party8 = Love Party | colour8 = #ff00ff | leader8 = Mike Thompson | percentage8 = 6.0 | seats8 = 21 | last_election8 = 27

| party9 = Green Parties Union | colour9 = #00ff00 | leader9 = Liam Alexander | percentage9 = 5.5 | seats9 = 19 | last_election9 = 21

| party10 = Centre | colour10 = #000000 | leader10 = Amy Smith | percentage10 = 5.3 | seats10 = 18 | last_election10 = 22

| party11 = Agrarian Party | colour11 = #ff8100 | leader11 = Donald Blayer | percentage11 = 4.9 | seats11 = 17 | last_election11 = 16

| party12 = Libertarian Party | colour12 = #ffff00 | leader12 = Jeremy Clarkson | percentage12 = 4.0 | seats12 = 14 | last_election12 = 25

| party13 = Young Poeple's Party | colour13 = #669999 | leader13 = Lea Chi | percentage13 = 3.8 | seats13 = 13 | last_election13 = 10

| map = {{{map}}} | map_upright = | map_alt = {{{map_alt}}} | map_caption = {{{map_caption}}}

|title = Government |postiture = Government | before_election = Social Democratic Union | before_party = Helen Mart | after_election = Left Wing-Liberal Conservative | after_party = Olivia Dandly }}

Following the Election, a Left Wing- Liberal-Conservative Government was formed, with True Right, Love Party, Agrarian Party, Libertarian Party and Young People's Party in the Government as well.




This infobox is used for a parliamentary election with multiple parties winning seats.

Aftermath

{{Template:PAGENAMETDOC | election_name = 2020 Berengham general Election | country = Berengham | flag_year = 2020 | previous_election = 2019 Berengham general Election | next_election = next Berengham Election | election_date = October 14th, 2020 | seats_for_election = 342 | majority_seats = 172 | turnout = 70.2% Increase 2.1% | party1 = Left Wing | colour1 = #660066 | leader1 = Olivia Dandly | percentage1 = 14.9 | seats1 = 51 | last_election1 = 38 | party2 = Liberal Conservative Party | colour2 = #0066cc | leader2 = Jason Tupper | percentage2 = 13.6 | seats2 = 46 | last_election2 = 49 | party3 = Social Democratic Union | colour3 = Red | leader3 = Owen Johnson | percentage3 = 9.1 | seats3 = 31 | last_election3 = 41 | party4 = National Constitution Party | colour4 = #000066 | leader4 = Heather ayle | percentage4 = 9.0 | seats4 = 31 | last_election4 = 14 | party5 = Union of Interest Parties | colour5 = #ffff66 | leader5 = Chris carton | percentage5 = 8.5 | seats5 = 29 | last_election5 = 44 | party6 = True Right | colour6 = #00ccff | leader6 = Todd Walker | percentage6 = 7.6 | seats6 = 26 | last_election6 = 20 | party7 = Justice Party | colour7 = #996633 | leader7 = Dian Harris | percentage7 = 7.2 | seats7 = 26 | last_election7 = 15 | party8 = Love Party | colour8 = #ff00ff | leader8 = Mike Thompson | percentage8 = 6.0 | seats8 = 21 | last_election8 = 27 | party9 = Green Parties Union | colour9 = #00ff00 | leader9 = Liam Alexander | percentage9 = 5.5 | seats9 = 19 | last_election9 = 21 | party10 = Centre | colour10 = #000000 | leader10 = Amy Smith | percentage10 = 5.3 | seats10 = 18 | last_election10 = 22 | party11 = Agrarian Party | colour11 = #ff8100 | leader11 = Donald Blayer | percentage11 = 4.9 | seats11 = 17 | last_election11 = 16 | party12 = Libertarian Party | colour12 = #ffff00 | leader12 = Jeremy Clarkson | percentage12 = 4.0 | seats12 = 14 | last_election12 = 25 | party13 = Young Poeple's Party | colour13 = #669999 | leader13 = Lea Chi | percentage13 = 3.8 | seats13 = 13 | last_election13 = 10 | map = {{{map}}} | map_upright = | map_alt = {{{map_alt}}} | map_caption = {{{map_caption}}} |title = Government |postiture = Government | before_election = Social Democratic Union | before_party = Helen Mart | after_election = Left Wing-Liberal Conservative | after_party = Olivia Dandly }}
Following the Election, a Left Wing- Liberal-Conservative Government was formed, with True Right, Love Party, Agrarian Party, Libertarian Party and Young People's Party in the Government as well.