跳转到内容

Template:Canadian Parliament links/doc

维基百科,自由的百科全书

This template creates external links to Canadian Parliament information pages. By default it outputs one or more links in list format.

Usage

[编辑]

{{Canadian Parliament links|ID=|parliament=|openparl=}}

  • parlinfo or ID is the item number used in the URL for a profile at https://lop.parl.ca/sites/ParlInfo/default/en_CA/People/Profile?personId=
  • parliament is the key number used in the URL for a profile at https://www.ourcommons.ca/Parliamentarians/en/members/
  • 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

{{Canadian Parliament links|ID=17296|parliament=170532|openparl=gail-shea|2=Gail Shea}}

No list markup

{{Canadian Parliament links|ID=17296|nolist=yes}}
Gail Shea – 加拿大国会传记