Difference between revisions of "Template:Canadian first minister list"

From blackwiki
Jump to navigation Jump to search
imported>Joeyconnick
(per MOS:NOBOLD)
imported>ShakespeareFan00
m (Mismatched SMALL tags - Repaired.)
 
Line 13: Line 13:
 
EVENT7-->{{#if:{{{event7|}}}|<br/>{{Canadian first minister list/mandate|{{{event7}}}|{{{jurisdiction}}}|{{{event7_year}}}|{{{event7_assembly|}}}|{{{assembly_short|}}}|{{{event7_note|}}}}}|}}<!--
 
EVENT7-->{{#if:{{{event7|}}}|<br/>{{Canadian first minister list/mandate|{{{event7}}}|{{{jurisdiction}}}|{{{event7_year}}}|{{{event7_assembly|}}}|{{{assembly_short|}}}|{{{event7_note|}}}}}|}}<!--
 
EVENT8-->{{#if:{{{event8|}}}|<br/>{{Canadian first minister list/mandate|{{{event8}}}|{{{jurisdiction}}}|{{{event8_year}}}|{{{event8_assembly|}}}|{{{assembly_short|}}}|{{{event8_note|}}}}}|}}
 
EVENT8-->{{#if:{{{event8|}}}|<br/>{{Canadian first minister list/mandate|{{{event8}}}|{{{jurisdiction}}}|{{{event8_year}}}|{{{event8_assembly|}}}|{{{assembly_short|}}}|{{{event8_note|}}}}}|}}
{{#if:{{{party<includeonly>|</includeonly>}}}|{{!}} {{{party}}}{{#if:{{{leadership<includeonly>|</includeonly>}}}|<br/><small>Named leader in {{{leadership}}}}}|}}
+
{{#if:{{{party<includeonly>|</includeonly>}}}|{{!}} {{{party}}}{{#if:{{{leadership<includeonly>|</includeonly>}}}|<br/><small>Named leader in {{{leadership}}}}}</small>|}}
 
{{#if:{{{ministry|}}}|{{!}} {{{ministry}}}}}
 
{{#if:{{{ministry|}}}|{{!}} {{{ministry}}}}}
 
{{#if:{{{references|}}}|{{!}} rowspan="{{#if:{{{2nd_start_year|}}}|3|2}}"{{!}}{{{references}}}|}}<!--START ROBERT BORDEN ROW-->
 
{{#if:{{{references|}}}|{{!}} rowspan="{{#if:{{{2nd_start_year|}}}|3|2}}"{{!}}{{{references}}}|}}<!--START ROBERT BORDEN ROW-->

Latest revision as of 20:43, 22 July 2018

{{{number}}}
No image.svg
{{{name}}}
({{{birth_year}}}–{{{death_year}}})
MLA for {{{riding}}}
{{{start_date}}} {{{start_year}}}

{{{end_date}}} {{{end_year}}}
  • Appointment ([[{{{event1_assembly}}} Invalid Legislature|{{{event1_assembly}}} Assembly]]){{{event1_note}}}
  • [[Invalid general election, {{{event2_year}}}|{{{event2_year}}} election]] ([[{{{event2_assembly}}} Invalid Legislature|{{{event2_assembly}}} Assembly]])
{{{party}}}
Named leader in {{{leadership}}}


{{{accomplishments}}}
Template documentation[view] [edit] [history] [purge]

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. -->