Template:Infobox Election Campaign
From Wikipedia, the free encyclopedia
{{{jurisdiction}}} | ||||
Election campaign, {{{year}}} | ||||
Government | Opposition | |||
---|---|---|---|---|
{{{gov_name}}} | {{{opp_name}}} | |||
{{{gov_image}}} | {{{opp_image}}} | |||
{{{gov_leader}}} | {{{opp_leader}}} | |||
Leader since | {{{gov_leader_since}}} | {{{opp_leader_since}}} | ||
Leader rating{{{ref_leader_rating}}} | {{{gov_leader_rating}}}% | {{{opp_leader_rating}}}% | ||
2PP rating{{{ref_2PP_rating}}} | {{{gov_2PP_rating}}}% | {{{opp_2PP_rating}}}% | ||
[[{{{prev_election_article}}}|{{{prev_election_year}}} 2PP result]] | {{{gov_2PP_previous}}}% | {{{opp_2PP_previous}}}% | ||
Seats | {{{gov_seats}}} | {{{opp_seats}}} | ||
Seats needed | {{{gov_target}}} | {{{opp_target}}} | ||
Swing needed | {{{gov_swing}}}% | {{{opp_swing}}}% |
[edit] Template documentation
{{Infobox Election Campaign <!-- Overview --> | jurisdiction = | year = | prev_election_year = | prev_election_article = <!-- Parties --> | gov_colour = | gov_name = | gov_image = | opp_colour = | opp_name = | opp_image = <!-- Leaders --> | gov_leader = | gov_leader_since = | gov_leader_rating = | opp_leader = | opp_leader_since = | opp_leader_rating = <!-- Vote --> | gov_2PP_rating = | gov_2PP_previous = | gov_seats = | gov_target = | gov_marginals = | gov_swing = | opp_2PP_rating = | opp_2PP_previous = | opp_seats = | opp_target = | opp_marginals = | opp_swing = <!-- References --> | ref_leader_rating = | ref_2PP_rating = | ref_marginals = }}
[edit] Usage
[edit] Fields
- jurisdiction = Where the election took place
- Allowed values: au (Australia), nsw, vic, qld, sa, wa, act, nt, nz (New Zealand)
- year = Year the election took place
- prev_election_year = Year of previous election
- prev_election_article = Title of article covering previous election. Do not add link tag
- _colour = Leave blank for grey.
- Other allowed values: red (Australian Labor Party/New Zealand Labour Party), blue (Liberal Party of Australia, New Zealand National Party, Country Liberal Party), green (National Party of Australia and its predecessors)
- _name = Short form of party or coalition name with link tag
- _image = Small image of leader or party logo
- _leader = Leader name in the form [[Firstname Surname|Surname]]
- _leader_since = Year the leader last became party leader
- _leader_rating = Most recent preferred leader poll rating, to zero decimal places. Do not add % symbol.
- _2PP_rating = Most recent two-party-preferred voting intention poll rating, to zero decimal places. Do not add % symbol.
- _2PP_previous = Two-party-preferred vote share from previous general election. Do not add % symbol.
- _seats = Number of lower house seats currently held
- _target = Number of seats needed for majority. Most governments will have a target of 0.
- _marginals = Number of seats held on a two-party-preferred margin of less than 6%
- _swing = Uniform swing required to attain lower house majority. Most governments will have a swing of 0.0.
- ref_leader_rating = Footnote for preferred leader poll, including <ref> tags
- ref_2PP_rating = Footnote for voting intention poll, including <ref> tags
- ref_marginals = Footnote for electoral pendulum, including <ref> tags