Template:Canadian Parliament links/doc
40px | This is a documentation subpage for Template:Canadian Parliament links. It contains usage information, categories and other content that is not part of the original template page. |
This template creates external links to Canadian Parliament information pages. By default it outputs one or more links in list format.
Usage
{{CanParlbio|ID=|parliament=|openparl=}}
- parlinfo or ID is the item number used in the URL for a profile at http://www.parl.gc.ca/parlinfo/Files/Parliamentarian.aspx?Item=
- parliament is the key number used in the URL for a profile at http://www.parl.gc.ca/MembersOfParliament/ProfileMP.aspx?Key=
- openparl is the subpage used in the URL for a list of speeches, votes, and activity at http://openparliament.ca/politicians/
- 2 can be used to change the name in the Parliament of Canada biography. If omitted, the page title is used.
- nolist is used to suppress formatting links as a list, mainly for use in references.
Example
- List of links
{{CanParlbio|ID=70388a77-892d-4a62-b707-aef2a521b436|parliament=170532|openparl=gail-shea|2=Gail Shea}}
- Profile at Parliament of Canada
- Gail Shea – Parliament of Canada biography
- Speeches, votes and activity at OpenParliament.ca
- No list markup
{{CanParlbio|ID=70388a77-892d-4a62-b707-aef2a521b436|nolist=yes}}
Gail Shea – Parliament of Canada biography