Template:Canadian first minister list/doc

From blackwiki
< Template:Canadian first minister list
Revision as of 18:57, 29 October 2018 by imported>WOSlinker (add {{documentation subpage}})
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Begin each list with {{Canadian first minister list/top}} and end with {{Canadian first minister list/bottom}}. Use one copy of the main template for each person.

Blank template with common parameters

{{Canadian first minister list/top}}

{{Canadian first minister list |name = |jurisdiction = |number = |image = |birth_year = |death_year = |party = |colour = |leadership = |riding = |start_date = |start_year = |end_date = |end_year = |event1 = |event1_year = |event1_assembly = |event1_note = |event2 = |event2_year = |event2_assembly = |event2_note = |accomplishments = }}

{{Canadian first minister list/bottom |notes= }}

Parameters with explanation

{{Canadian first minister list/top}}
{{Canadian first minister list
|name            = <!-- The full name; use wikilinks -->
|jurisdiction    = <!-- the province, teritory, or Canada -->
|number          = <!-- e.g. 1, 19 -->
|colour          = <!-- The colour hex code with # sign -->
|leadership      = <!-- The year when they were named party leader; can be wikilinked: e.g. [[Ontario Liberal Party leadership election, 1996|1996]] -->
|image           = <!-- Do not include Image: -->
|party           = <!-- Drop jurisdiction name to save space; use wikilinks to link to article -->
|birth_year      = <!-- e.g. 1901 -->
|death_year      = <!-- leave blank if alive -->
|riding          = <!-- The first minister's riding; use wikilinks -->
|start_date      = <!-- e.g. 1 July -->
|start_year      = <!-- e.g. 1867 -->
|end_date        = 
|end_year        = 
|event1          = <!-- Either "election" or "appointment" -->
|event1_year     =
|event1_assembly = <!-- e.g. 3rd, 22nd  -->
|event1_note     = <!-- Optional, add a footnote here. Use [[Template:Ref]] to link to the notes at the bottom of the table.-->
|event2          = <!-- Add up to event8 if needed-->
|event2_year     = <!-- Add up to event8 if needed-->
|event2_assembly = <!-- Add up to event8 if needed-->
|event2_note     = <!-- Add up to event8 if needed-->
|accomplishments = <!-- Can be a long list. Use big_notes=yes to make them in normal-sized font -->
}}
{{Canadian first minister list/bottom|notes=
<!-- Optional footnotes go here. Adds an extra row to the bottom of the table for footnotes. Use [[Template:Note]] to link to above notes -->
}}

Rarely used parameters

/top template

|no_party        = <!-- Yes if there is no party column (Nunavut and NWT). -->
|ministry        = <!-- Yes if there is a ministry column. -->
|assembly        = <!-- Optional. Will rename the assembly heading, defaults to "Assemblies" -->
|riding_ref      = <!-- References at the top of the riding column. -->
|term_ref        = <!-- References at the top of the term column. -->

main template

|title           = <!-- To put a title before a name without it being bold, like "Sir" -->    
|riding_alt      = <!-- For premiers who didn't have seats -->
|riding2         = <!-- If the person changed ridings. -->
|riding3         = <!-- If the person changed ridings. -->
|member_title    = <!-- For members with titles other than MP/MLA/MPP/MNA/MHA -->
|ministry        = <!-- For the federal ministries. Use wikilinks. -->
|assembly_short  = <!-- If the assembly is called something other than "Assembly" -->

<!-- For Robert Borden -->
|2nd_start_date  =
|2nd_start_year  =
|2nd_end_date    =
|2nd_end_year    =
|2nd_ministry    =
|2nd_party       =
|2nd_event1      =
|2nd_event1_year =
|2nd_event1_assembly =
|2nd_event1_note =

/bottom template

|colspan         = <!-- Defaults to 7. Use 6 if there are no parties, use 8 if there are ministries or refs, use 9 if there are ministries and refs. -->