Template:Infobox Canadian Parliament/sandbox
This is the template sandbox page for Template:Infobox Canadian Parliament (diff). See also the companion subpage for test cases. |
Parameters
[edit]Common provincial parameters
[edit]{{Infobox Canadian Parliament
| jurisdiction = <!-- two-letter code: CA, ON, PE, etc.-->
| # = <!-- e.g. 22nd -->
| type = <!-- Majority or Minority -->
| houseimage = <!-- image of seating arrangements of house of Commons -->
<!-- Session status -->
| status = <!-- active or inactive -->
| term-begin = <!-- Throne speech of the first session -->
| term-end = <!-- Dissolution of the last session -->
<!-- Premier & cabinet -->
| pm =
| pm-begin =
| pm-end =
| ministry =
| pm2 =
| pm-begin2 =
| pm-end2 =
| ministry2 =
<!-- Leader of the Official Opposition -->
| lo =
| lo-begin =
| lo-end =
| lo2 =
| lo-begin2 =
| lo-end2 =
<!-- Political Parties ranked in order by number of seats in the Assembly -->
| party = <!-- government party -->
| party2 = <!-- opposition party -->
| party3 =
| unrecparty1 =
| unrecparty2 =
| partyfootnote1 = <!-- Add an optional footnote. -->
<!-- Speaker of the assembly -->
| sc =
| sc-begin =
| sc-end =
| sc2 =
| sc-begin2 =
| sc-end2 =
<!-- Government house leader -->
| ghl =
| ghl-begin =
| ghl-end =
| ghl2 =
| ghl-begin2 =
| ghl-end2 =
<!-- Official opposition house leader -->
| ohl =
| ohl-begin =
| ohl-end =
| ohl2 =
| ohl-begin2 =
| ohl-end2 =
<!-- Session dates from throne speech to prorogation -->
| sessionbegin =
| sessionend =
| sessionbegin2 =
| sessionend2 =
| sessionbegin3 =
| sessionend3 =
| sessionbegin4 =
| sessionend4 =
<!-- Sovereign -->
| monarch = [[Charles III]]
| monarch-begin = 2022-09-08
| viceroy =
| viceroy-begin =
| viceroy-end =
| viceroy2 =
| viceroy-begin2 =
| viceroy-end2 =
<!-- Parliamentarians -->
| members = <!-- number of MPs/MLAs -->
<!-- Previous and Future Parliaments -->
| lastparl = <!-- e.g. 21st -->
| nextparl = <!-- e.g. 23rd -->
}}
Senate parameters
[edit]| senateimage = <!-- image of seating arrangements of Senate -->
| party2sen = <!-- party forming opposition in the Senate, if different from official opposition -->
| senators = 105
<!-- Speaker of the upper house-->
| ss =
| ss-begin =
| ss-end =
| ss2 =
| ss-begin2 =
| ss-end2 =
<!-- Government upper house leader-->
| gsl =
| gsl-begin =
| gsl-end =
| gsl2 =
| gsl-begin2 =
| gsl-end2 =
| gsr = <!-- add "yes" to change "leader" to "representative" -->
<!-- Opposition upper house leader-->
| osl =
| osl-begin =
| osl-end =
| osl2 =
| osl-begin2 =
| osl-end2 =
TemplateData
[edit]TemplateData for Infobox Canadian Parliament
Infobox template for Canadian Parliaments
Parameter | Description | Type | Status | |
---|---|---|---|---|
Jursidiction | jurisdiction | no description
| Line | required |
Parliament number | # | Parliament number
| Line | required |
Type | type | Majority or Minority
| Line | required |
House image | houseimage | image of seating arrangements of house of Commons | File | suggested |
Senate image | senateimage | image of seating arrangements of Senate | File | optional |
Status | status | Session status (i.e active or inactive)
| String | required |
Term begin | term-begin | Date that the writs were returned | Date | required |
Term end | term-end | Date of the dissolution | Date | suggested |
Government party | party | no description | Page name | required |
Opposition party | party2 | Opposition party in the Assembly or House | Page name | suggested |
3rd party | party3 | party with the third-most seats | Page name | optional |
4th party | party4 | no description | Page name | optional |
5th party | party5 | no description | Page name | optional |
6th party | party6 | no description | Page name | optional |
7th party | party7 | no description | Page name | optional |
Senate opposition party | party2sen | Largest caucus in the Senate that is not in government | Page name | optional |
1st unrecognized party | unrecparty1 | caucus without official party status | Page name | optional |
2nd unrecognized party | unrecparty2 | caucus without official party status | Page name | optional |
3rd unrecognized party | unrecparty3 | caucus without official party status | Page name | optional |
4th unrecognized party | unrecparty4 | caucus without official party status | Page name | optional |
5th unrecognized party | unrecparty5 | caucus without official party status | Page name | optional |
replacement government party | partynew | used when a new party takes power without an election. Only four examples: 15th CA, 33rd ON, 41st BC, 59th NB | Page name | optional |
Footnote of parties section | partyfootnote1 | Add an optional footnote | String | optional |
Prime Minister or Premier | pm | no description | Page name | required |
Prime Minister term begin | pm-begin | no description
| Date | optional |
Prime Minister term end | pm-end | no description
| Date | optional |
2nd Prime Minister | pm2 | no description | Page name | optional |
2nd Prime Minister term begin | pm-begin2 | no description
| Date | optional |
2nd Prime Minister term end | pm-end2 | no description
| Date | optional |
3rd Prime Minister | pm3 | no description | Page name | optional |
3rd PM term begin | pm-begin3 | no description
| Date | optional |
3rd PM term end | pm-end3 | no description
| Date | optional |
4th Prime Minister | pm4 | no description | Page name | optional |
4th PM term begin | pm-begin4 | no description
| Date | optional |
4th PM term end | pm-end4 | no description
| Date | optional |
Leader of the Official Opposition | lo | no description | Page name | suggested |
Leader of the Official Opposition term begin | lo-begin | no description | Date | optional |
Leader of the Official Opposition term end | lo-end | no description | Date | optional |
2nd Leader of the Official Opposition | lo2 | no description | Page name | optional |
2nd Leader of the Official Opposition term begin | lo-begin2 | no description | Date | optional |
2nd Leader of the Official Opposition term end | lo-end2 | no description | Date | optional |
3rd Leader of the Official Opposition | lo3 | no description | Page name | optional |
3rd Leader of the Official Opposition term begin | lo-begin3 | no description | Date | optional |
3rd Leader of the Official Opposition term end | lo-end3 | no description | Date | optional |
4th Leader of the Official Opposition | lo4 | no description | Page name | optional |
4th Leader of the Official Opposition term begin | lo-begin4 | no description | Date | optional |
4th Leader of the Official Opposition term end | lo-end4 | no description | Date | optional |
5th Leader of the Official Opposition | lo5 | no description | Page name | optional |
5th Leader of the Official Opposition term begin | lo-begin5 | no description | Date | optional |
5th Leader of the Official Opposition term end | lo-end5 | no description | Date | optional |
6th Leader of the Official Opposition | lo6 | no description | Page name | optional |
6th Leader of the Official Opposition term begin | lo-begin6 | no description | Date | optional |
6th Leader of the Official Opposition term end | lo-end6 | no description | Date | optional |
Speaker of the House | sc | Speaker of the Assembly | Page name | suggested |
Speaker of the House term begin | sc-begin | no description | Date | suggested |
Speaker of the House term end | sc-end | no description | Date | optional |
2nd Speaker of the House | sc2 | 2nd Speaker of the Assembly | Page name | optional |
2nd Speaker of the House term begin | scterm2 | no description | Date | optional |
2nd Speaker of the House term end | sc-end2 | no description | Date | optional |
3rd Speaker of the House | sc3 | 3rd Speaker of the Assembly | Page name | optional |
3rd Speaker of the House term begin | scterm3 | no description | Date | optional |
3rd Speaker of the House term end | sc-end3 | no description | Date | optional |
4th Speaker of the House | sc4 | 4th Speaker of the Assembly | Page name | optional |
5th Speaker of the House term end | sc-end5 | no description | Date | optional |
4th Speaker of the House term begin | scterm4 | no description | Date | optional |
4th Speaker of the House term end | sc-end4 | no description | Date | optional |
5th Speaker of the House | sc5 | 5th Speaker of the Assembly | Page name | optional |
5th Speaker of the House term begin | scterm5 | no description | Date | optional |
6th Speaker of the House | sc6 | 6th Speaker of the Assembly | Page name | optional |
6th Speaker of the House term begin | scterm6 | no description | Date | optional |
6th Speaker of the House term end | sc-end6 | no description | Date | optional |
Government House Leader | gh | no description | Page name | suggested |
Government House Leader term | ghterm | no description | Line | optional |
2nd Government House Leader | gh2 | no description | Page name | optional |
2nd Government House Leader term | ghterm2 | no description | Line | optional |
3rd Government House Leader | gh3 | no description | Page name | optional |
3rd Government House Leader term | ghterm3 | no description | Line | optional |
4th Government House Leader | gh4 | no description | Page name | optional |
4th Government House Leader term | ghterm4 | no description | Line | optional |
5th Government House Leader | gh5 | no description | Page name | optional |
5th Government House Leader term | ghterm5 | no description | Line | optional |
6th Government House Leader | gh6 | no description | Page name | optional |
6th Government House Leader term | ghterm6 | no description | Line | optional |
Official Opposition House Leader | oh | no description | Page name | suggested |
Official Opposition House Leader term | ohterm | no description | Line | optional |
2nd Official Opposition House Leader | oh2 | no description | Page name | optional |
2nd Official Opposition House Leader term | ohterm2 | no description | Line | optional |
3rd Official Opposition House Leader | oh3 | no description | Page name | optional |
3rd Official Opposition House Leader term | ohterm3 | no description | Line | optional |
4th Official Opposition House Leader | oh4 | no description | Page name | optional |
4th Official Opposition House Leader term | ohterm4 | no description | Line | optional |
5th Official Opposition House Leader | oh5 | no description | Page name | optional |
5th Official Opposition House Leader term | ohterm5 | no description | Line | optional |
6th Official Opposition House Leader | oh6 | no description | Page name | optional |
6th Official Opposition House Leader term | ohterm6 | no description | Line | optional |
Speaker of the Senate | ss | no description | Page name | optional |
Speaker of the Senate term | ssterm | no description | Line | optional |
2nd Speaker of the Senate | ss2 | no description | Page name | optional |
2nd Speaker of the Senate term | ssterm2 | no description | Line | optional |
3rd Speaker of the Senate | ss3 | no description | Page name | optional |
3rd Speaker of the Senate term | ssterm3 | no description | Line | optional |
4th Speaker of the Senate | ss4 | no description | Page name | optional |
4th Speaker of the Senate term | ssterm4 | no description | Line | optional |
5th Speaker of the Senate | ss5 | no description | Page name | optional |
5th Speaker of the Senate term | ssterm5 | no description | Line | optional |
6th Speaker of the Senate | ss6 | no description | Page name | optional |
6th Speaker of the Senate term | ssterm6 | no description | Line | optional |
Government Senate Leader | gs | no description | Page name | suggested |
Government Senate Leader term | gsterm | no description | Line | optional |
2nd Government Senate Leader | gs2 | no description | Page name | optional |
2nd Government Senate Leader term | gsterm2 | no description | Line | optional |
3rd Government Senate Leader | gs3 | no description | Page name | optional |
3rd Government Senate Leader term | gsterm3 | no description | Line | optional |
4th Government Senate Leader | gs4 | no description | Page name | optional |
4th Government Senate Leader term | gsterm4 | no description | Line | optional |
5th Government Senate Leader | gs5 | no description | Page name | optional |
5th Government Senate Leader term | gsterm5 | no description | Line | optional |
6th Government Senate Leader | gs6 | no description | Page name | optional |
6th Government Senate Leader term | gsterm6 | no description | Line | optional |
Government Senate Rep.? | gsr | If the government has an independent representative in the upper house instead of a government house leader. | Boolean | optional |
Official Opposition Senate Leader | os | no description | Line | optional |
Official Opposition Senate Leader | osterm | no description | Page name | suggested |
2nd Official Opposition Senate Leader | os2 | no description | Page name | optional |
2nd Official Opposition Senate Leader term | osterm2 | no description | Line | optional |
3rd Official Opposition Senate Leader | os3 | no description | Page name | optional |
3rd Official Opposition Senate Leader term | osterm3 | no description | Line | optional |
4th Official Opposition Senate Leader | os4 | no description | Page name | optional |
4th Official Opposition Senate Leader term | osterm4 | no description | Line | optional |
5th Official Opposition Senate Leader | os5 | no description | Page name | optional |
5th Official Opposition Senate Leader term | osterm5 | no description | Line | optional |
6th Official Opposition Senate Leader | os6 | no description | Page name | optional |
6th Official Opposition Senate Leader term | osterm6 | no description | Line | optional |
Beginning of 1st session | sessionbegin | no description | Date | required |
Ending of 1st session | sessionend | no description | Date | suggested |
Beginning of 2nd session | sessionbegin2 | no description | Date | optional |
Ending of 2nd session | sessionend2 | no description | Date | optional |
Beginning of 3rd session | sessionbegin3 | no description | Date | optional |
Ending of 3rd session | sessionend3 | no description | Date | optional |
Beginning of 4th session | sessionbegin4 | no description | Date | optional |
Ending of 4th session | sessionend4 | no description | Date | optional |
Beginning of 5th session | sessionbegin5 | no description | Date | optional |
Ending of 5th session | sessionend5 | no description | Date | optional |
Beginning of 6th session | sessionbegin6 | no description | Date | optional |
Ending of 6th session | sessionend6 | no description | Date | optional |
Ministry | ministry | no description
| Page name | suggested |
Beginning of 1st Ministry | ministrybegin | no description | Date | optional |
Ending of 1st Ministry | ministryend | no description | Date | optional |
2nd Ministry | ministry2 | no description | Page name | optional |
Beginning of 2nd Ministry | ministrybegin2 | no description | Date | optional |
Ending of 2nd Ministry | ministryend2 | no description | Date | optional |
3rd Ministry | ministry3 | no description | Page name | optional |
Beginning of 3rd Ministry | ministrybegin3 | no description | Date | optional |
Ending of 3rd Ministry | ministryend3 | no description | Date | optional |
4th Ministry | ministry4 | no description | Page name | optional |
Beginning of 4th Ministry | ministrybegin4 | no description | Date | optional |
Ending of 4th Ministry | ministryend4 | no description | Date | optional |
Image | image | An image representing the institution or office that enacted/is enacting the legislation, such as a coat of arms, a seal, an emblem or a photograph of the institution's building. Omit "File:". Overrides any automatically set image.
| File | optional |
Monarch | monarch | no description
| Line | required |
Monarch term begin | monarch-begin | no description
| Date | suggested |
Monarch term end | monarch-end | no description | Date | optional |
2nd Monarch | monarch2 | no description
| Line | optional |
2nd Monarch term begin | monarch-begin2 | no description | Date | optional |
2nd Monarch term end | monarch-end2 | no description | Date | optional |
3rd Monarch | monarch3 | only applies to terms lasting through 1936
| Page name | optional |
3rd Monarch term begin | monarch-begin3 | only applies to terms lasting through 1936
| Date | optional |
3rd Monarch term end | monarch-end3 | only applies to terms lasting through 1936
| Date | optional |
Viceroy | viceroy | Governor General or Lieutenant Governor | Page name | optional |
Viceroy term begin | viceroy-begin | no description | Date | optional |
Viceroy term end | viceroy-end | no description | Date | optional |
2nd Viceroy | viceroy2 | no description | Page name | optional |
2nd Viceroy term begin | viceroy-begin2 | no description | Date | optional |
2nd viceroy term end | viceroy-end2 | no description | Date | optional |
3rd Viceroy | viceroy3 | no description | Page name | optional |
3rd viceroy term begin | viceroy-begin3 | no description | Date | optional |
3rd viceroy term end | viceroy-end3 | no description | Date | optional |
Members | members | no description | Number | required |
Senators | senators | no description | Number | optional |
Previous Parliament | lastparl | no description
| Line | suggested |
Next Parliament | nextparl | no description
| Line | suggested |