Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Election Infobox: Difference between revisions

Template page
mNo edit summary
mNo edit summary
Line 4: Line 4:
   </title>
   </title>
<group layout="horizontal">
<group layout="horizontal">
     <data source="Candidate 1 Picture"><label></label></data>
     <image source="Candidate 1 Picture"><label></label></image>
     <data source="Candidate 2 Picture"><label></label></data>
     <image source="Candidate 2 Picture"><label></label></image>
     <data source="Candidate 3 Picture"><label></label></data>
     <image source="Candidate 3 Picture"><label></label></image>
</group>
</group>
<group layout="horizontal">
<group layout="horizontal">

Revision as of 18:18, 4 December 2025

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
title1title1

Title of the election. Defaults to the page name.

Unknownoptional
Candidate 1 PictureCandidate 1 Picture

File name of Candidate 1's picture.

Fileoptional
Candidate 1 NameCandidate 1 Name

Name of Candidate 1's leader.

Example
Alain Sievert
Stringoptional
Candidate 1 PartyCandidate 1 Party

The political party to which Candidate 1 belongs.

Example
the Lemon Party
Stringoptional
Candidate 1 PERCandidate 1 PER

PER = previous election result, expressed as both number of seats and popular vote percentage.

Example
6 seats, ~28%
Unknownoptional
Candidate 1 Seats WonCandidate 1 Seats Won

The number of seats in the legislature won by Candidate 1.

Example
42
Stringoptional
Candidate 1 Popular VoteCandidate 1 Popular Vote

Popular vote for Candidate 1.

Example
2,000,000
Stringoptional
Candidate 1 PercentageCandidate 1 Percentage

Popular vote percentage of Candidate 1.

Example
42%
Stringoptional
Candidate 1 SwingCandidate 1 Swing

How many seats were gained or lost by Candidate 1.

Example
+3 seats
Stringoptional
Candidate 2 PictureCandidate 2 Picture

File name of Candidate 2's picture.

Fileoptional
Candidate 2 NameCandidate 2 Name

Name of Candidate 2's leader.

Example
Edward Jellico
Stringoptional
Candidate 2 PartyCandidate 2 Party

The political party to which Candidate 2 belongs.

Example
the Lemon Party
Stringoptional
Candidate 2 PERCandidate 2 PER

PER = previous election result, expressed as both number of seats and popular vote percentage.

Example
202 seats, 32.1%
Stringoptional
Candidate 2 Seats WonCandidate 2 Seats Won

How many seats were gained or lost by Candidate 2.

Example
-4 seats
Stringoptional
Candidate 2 Popular VoteCandidate 2 Popular Vote

Popular vote for Candidate 2

Stringoptional
Candidate 2 PercentageCandidate 2 Percentage

Popular vote percentage for Candidate 2

Stringoptional
Candidate 2 SwingCandidate 2 Swing

The number of seats gained or lost by Candidate 2

Stringoptional
Candidate 3 PictureCandidate 3 Picture

File name of Candidate 3's picture.

Fileoptional
Candidate 3 NameCandidate 3 Name

Name of Candidate 3's leader.

Example
Faye Ming-liang
Stringoptional
Candidate 3 PartyCandidate 3 Party

The political party to which Candidate 3 belongs.

Stringoptional
Candidate 3 PERCandidate 3 PER

PER = previous election result

Stringoptional
Candidate 3 Seats WonCandidate 3 Seats Won

PER = previous election result, expressed as both number of seats and popular vote percentage.

Example
11 seats, 12.6%
Stringoptional
Candidate 3 Popular VoteCandidate 3 Popular Vote

Popular vote for Candidate 3

Example
3,127,000
Stringoptional
Candidate 3 PercentageCandidate 3 Percentage

Popular vote percentage for Candidate 3.

Example
42.6%
Stringoptional
Candidate 3 SwingCandidate 3 Swing

The number of seats gained or lost by Candidate 3.

Stringoptional