Jump to content

සැකිල්ල:Infobox legislative election/doc

විකිපීඩියා වෙතින්

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

{{{election_name}}}
Unknown: {{{country}}}
← {{{previous_election}}} {{{election_date}}} {{{next_election}}} →
← {{{outgoing_members}}}
{{{elected_members}}} →

{{{seats_for_election}}}
{{{majority_seats}}} seats needed for a majority
Turnout{{{turnout}}}
Party Leader % Seats +/–
[[{{{party1}}}|{{{party1}}}]] {{{leader1}}} {{{percentage1}}} 20 සැකිල්ල:PNsign
[[{{{party2}}}|{{{party2}}}]] {{{leader2}}} {{{percentage2}}} 10 සැකිල්ල:PNsign
This lists parties that won seats. See the complete results below.
[[File:{{{map}}}|frameless|alt={{{map_alt}}}|upright=1.3]]
{{{map_caption}}}
{{{title}}} before {{{posttitle}}}
{{{before_election}}}
[[{{{before_party}}}|{{{before_party}}}]]
{{{after_election}}}
[[{{{after_party}}}|{{{after_party}}}]]
{{Infobox legislative election
| election_name      = 
| country            = 
| flag_year          = <!-- if a variant is needed -->
| previous_election  = 
| outgoing_members   = 
| next_election      = 
| elected_members    = 
| election_date      = 
| seats_for_election = <!-- description -->
| majority_seats     = <!-- number -->
| turnout            = 
| reporting          =
| last_update        =
| time_zone          =
| ongoing            = <!-- or future -->
| first_election     = <!-- yes/no (blank is no) -->
| noleader           = <!-- yes (blank is no) -->
| nopercentage       = <!-- yes (blank is no) -->
| seats_title        = <!-- Changes the heading of the seats column from 'Seats' to whatever is input -->
| heading1           =
| party1             = <!-- Rank parties by percentage of vote received, with independents listed last. Do not include parties that did not win seats -->
| leader1            = 
| colour1            = 
| percentage1        = <!-- Do not include percentage sign -->
| seats1             = 
| last_election1     = <!-- Write 'new' if new party -->
| heading2           =
| party2             = 
| leader2            = 
| colour2            = 
| percentage2        = <!-- Do not include percentage sign -->
| seats2             = 
| last_election2     = <!-- Write 'new' if new party -->
| heading3           = <!-- up to | heading35 = -->
| party3             = <!-- up to | party35 = -->
| leader3            = <!-- up to | leader35 = -->
| colour3            = <!-- up to | colour35 = -->
| percentage3        = <!-- up to | percentage35 = -->
| seats3             = <!-- up to | seats35 = -->
| last_election3     = <!-- up to | last_election35 = -->
| results_sec        =
| map                = 
| map_upright        = 
| map_alt            = 
| map_caption        = 
| title              = <!-- Prime Minister or similar -->
| posttitle          =
| before_election    = 
| before_image       =
| before_image_size  = <!-- default size is x65px -->
| before_party       = 
| after_election     = 
| after_image        =
| after_image_size   = <!-- default size is x65px -->
| after_party        = 
}}
election_name
Name of the elections.
country
Name of the country or territory the elections are taking place in
previous_election
Link to the previous elections (e.g. [[2010 United Kingdom general election|2010]])
outgoing_members
Link to the list of outgoing members
next_election
Link to the following elections (e.g. [[2015 United Kingdom general election|2015]])
elected_members
Link to the list of elected members
election_date
Date of the elections
seats_for_election
Description of which seats this election is about, incl. chamber and how many
majority_seats
The number of seats needed for a majority
first_election
Change to "yes" if this the first election of its kind
nopercentage
Set to "yes" to hide the percentage column
noleader
Set to "yes" to hide the leader column
seats_title
Changes the heading of the seats column from 'Seats' to whatever is input
ongoing
Change to "yes" if the election results haven't been released
results_sec
Name of section in the article where the results of the election are listed.
turnout
% voter turnout
party1..35
Name of the party (e.g. United Party)
leader1..35
Leader of the party
colour1..35
Custom party colour
percentage1..35
The party's popular vote share
seats1..35
Number of seats won by the party
last_election1..35
  • Before an election takes place, use this to display the current number seats held by a party in the legislature
  • After the election takes place, use this for the number of seats won at the previous elections as the template coding uses it to work out seat change
heading1..35
Adds a heading above a particular results row
map
Image file of a map
map_upright
Map size scaling factor; default is 1.3
map_alt
WP:ALT
map_caption
Caption text, perhaps including a {{Legend}}
title
Title of the head of government (e.g. [[Prime Minister of the United Kingdom|Prime Minister]])
posttitle
Title after the election
before_election
Head of government before the elections
before_party
Party of the head of government prior to the elections
before_image
Image of the outgoing head of government, default size is x65px
after_election
Head of government after the elections
after_party
Party of the head of government after the elections
after_image
Image of the elected head of government, default size is x65px


"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Infobox_legislative_election/doc&oldid=694634" වෙතින් සම්ප්‍රවේශනය කෙරිණි