close
Sayahna Sayahna
Search

Difference between revisions of "Template:Canadian Parliament links/sandbox"


m (MSGJ moved page Template:CanParlbio/sandbox to Template:Canadian Parliament links/sandbox: clearer name for template)
 
m (1 revision)
 
(No difference)

Latest revision as of 04:07, 22 March 2014

Documentation icon Template documentation[view] [edit] [history] [purge]

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

No list markup

{{CanParlbio|ID=70388a77-892d-4a62-b707-aef2a521b436|nolist=yes}}
Gail Shea – Parliament of Canada biography

de:Vorlage:CAParlbio fr:Modèle:CanParlbio ko:틀:CanParlbio