跳至內容

模板:Infobox legislative election/doc

維基百科,自由的百科全書

此信息框用於議會選舉,有多個政黨贏得席位。

Usage

[編輯]
{{{election_name}}}
{{country data {{{country}}}|flagicon/core|variant=|size=50px}}
← {{{previous_election}}} {{{election_date}}} {{{next_election}}} →

{{{seats_for_election}}}
獲得絕對多數需要{{{majority_seats}}}席
投票率{{{turnout}}}
政黨/派系 領袖 % 議席 ±
{{{party1}}} {{{leader1}}} {{{percentage1}}} 20 +20
{{{party2}}} {{{leader2}}} {{{percentage2}}} 10 +5
此為贏得議席的政黨列表,詳情請見下文。
[[File:{{{map}}}|frameless|alt={{{map_alt}}}|upright=1.3|{{{map_alt}}}]]
{{{map_caption}}}
前任{{{title}}} 當選{{{title}}}
{{{before_election}}}
{{{before_party}}}
{{{after_election}}}
{{{after_party}}}
{{Infobox legislative election
| election_name      = 
| country            = 
| previous_election  = 
| next_election      = 
| election_date      = 
| seats_for_election = <!-- description-- >
| majority_seats     = <!-- number -->
| first_election     = <!-- yes/no (blank is no)-->

| ongoing            = <!-- or future -->
| results_sec        =
| turnout            = 

| party1             = 
| colour1            = 
| leader1            = 
| percentage1        = <!-- incl. percentage sign -->
| seats1             = 
| last_election1     = <!-- Write 'new' if new party -->

| party2             = 
| colour2            = 
| leader2            = 
| percentage2        = <!-- incl. percentage sign -->
| seats2             = 
| last_election2     = <!-- Write 'new' if new party -->

| map                = 
| map_upright        = 
| map_alt            = 
| map_caption        = 

| title              = <!-- Prime Minister or similar -->
| before_election    = 
| before_party       = 
| after_election     = 
| after_party        = 
}}

Parameters

[編輯]
election_name
選舉名稱
country
選舉所在國家或地區的名稱
previous_election
連結到以前的選舉(例如[[2010年英国大选|2010]])
following_election
連結到以後的選舉(例如[[2015年英国大选|2015]])
election_date
選舉日期
seats_for_election
說明本次選舉的議席,包括議會和多少議席
majority_seats
多數席位所需的席位數
first_election
如果這是第一次這樣的選舉,請改為「yes」
ongoing
如果選舉結果尚未公佈,則改為「yes」
results_sec
Name of section in the article where the results of the election are listed.
turnout
% voter turnout
party1..30
Name of the party (e.g. United Party)
leader1..30
Leader of the party
colour1..30
Custom party colour
percentage1..30
The party's popular vote share
seats1..30
Number of seats won by the party
last_election1..30
Number of seats won at the previous elections (template coding uses it to work out seat change)
heading1..30
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]])
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
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