Template:Infobox Canadian leadership election/doc

From IxWiki
Jump to navigation Jump to search

This template will provide an infobox for leadership elections in Canada.

Usage

{{{year}}} {{{party}}} leadership election
[[File:{{{logo}}}|frameless]]
Date{{{date}}}
Convention{{{location}}}
Resigning leader{{{replaces}}}
Won by{{{winner}}}
Ballots{{{ballots}}}
Candidates{{{numcands}}}
Entrance Fee{{{entryfee}}}
Spending limit{{{spendcap}}}
{{Infobox Canadian leadership election
| colour = 
| party = 
| year = 
| logo = 
| date = 
| location = 
| replaces = 
| winner = 
| ballots = 
| numcands = 
| entryfee = 
| spendcap = 
}}

Parameters

Bold indicates a mandatory parameter.

Parameter Explanation
party Party name will be displaced as written and will also be list of party leadership races template.
colour Use the hex colour code or use Template:Canadian party colour to generate the colour name.
year The year the race ended. This should also be in the page name. If the future date is unknown, leave this field blank.
logo Bracketed file name of convention logo with width, i.e. [[File:Example.svg|100px]]. Do not include thumb, an alignment, or a caption.
date The date the vote took place. TBD (to be decided), if yet to be announced.
location The city where the convention was held. TBD (to be decided), if yet to be announced.
replaces Wikilinked name of the leader resigning.
winner Wikilinked name of the winner.
ballots Number of ballots used to come to the result, if a multiple-round system is used.
numcands Number of candidates.
entryfee Entrance fee.
spendcap Spending limit.

Example

2019 Liberal leadership election
DateNovember 2, 2019
ConventionTBD
Resigning leaderWilfrid Laurier
Won byMackenzie King
Ballots3
Candidates4
Entrance Fee$10,000
Spending limit$5,000,000
Liberal leadership elections
1919 · 1948 · 1958 · 1968 · 1980 · 1984 · 1990 · 2003 · 2006 · 2009 · 2013
{{Infobox leadership election
| party = Liberal
| colour = {{Canadian party colour|CA|Liberal}}
| year = 2019
| logo = [[File:Can-vote-stub.svg|100px]]
| date = November 2, 2019
| location = TBD
| replaces = [[Wilfrid Laurier]]
| winner = [[William Lyon Mackenzie King|Mackenzie King]]
| ballots = 3
| numcands = 4
| entryfee = $10,000
| spendcap = $5,000,000
}}

See also