Difference between revisions of "Template:Infobox Election Campaign/doc"

From blackwiki
Jump to navigation Jump to search
imported>Tony1
imported>Izkala
 
Line 1: Line 1:
{{Documentation subpage}}
+
#REDIRECT [[Template:Infobox election campaign/doc]]
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<pre>
 
{{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 =
 
}}</pre>
 
 
 
== Usage ==
 
=== Fields ===
 
* '''jurisdiction = ''' Where the election took place
 
** <small>''Allowed values:'' au (Australia), nsw, vic, qld, sa, wa, act, nt, nz (New Zealand)</small>
 
* '''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.
 
** <small>''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)</small>
 
* '''_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 <nowiki>[[Firstname Surname|Surname]]</nowiki>
 
* '''_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. A percentage sign is not used, since swings are expressed in "percentage points".''
 
 
 
* '''ref_leader_rating =''' Footnote for preferred leader poll, including <nowiki><ref></nowiki> tags
 
* '''ref_2PP_rating =''' Footnote for voting intention poll, including <nowiki><ref></nowiki> tags
 
* '''ref_marginals =''' Footnote for electoral pendulum, including <nowiki><ref></nowiki> tags
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
 
 
 
 
</includeonly>
 

Latest revision as of 09:21, 7 September 2015