Jump to content

Template:SP-MSP/doc

From Wikipedia, the free encyclopedia

This template is used to construct a link to the Scottish Parliament website's page on an individual Member of the Scottish Parliament (MSP).

The link may be formatted in several different ways.

Usage

[edit]

Basic usage

[edit]

The basic usage takes the MSP's name from the title of the article, and creates a link formatted in a style suited to the external links section of an article:

  • {{SP-MSP}}

e.g. on the article Tricia Marwick,

Specified name

[edit]

If the name of the MSP is not the same as the current article, the name may be specified with a single, unnamed parameter:

e.g.

  • {{SP-MSP|Tricia Marwick}} → Scottish Parliament profiles of MSPs: Tricia Marwick
  • {{SP-MSP|Ken Macintosh}} → Scottish Parliament profiles of MSPs: Ken Macintosh
  • {{SP-MSP|Alison Johnstone}} → Scottish Parliament profiles of MSPs: Alison Johnstone

Modes

[edit]

The template supports four different modes, for use in different contexts. These are specified using the |mode= parameter:

mode=profile (default)
  • {{SP-MSP|Tricia Marwick|mode=profile}} → Scottish Parliament profiles of MSPs: Tricia Marwick
mode=cite (for use inside <ref>...</ref> tags)
  • {{SP-MSP|Tricia Marwick|mode=cite}}"Tricia Marwick". Members of the Scottish Parliament (MSPs). Scottish Parliament.
mode=url (just the bare URL of the profile page)
mode=nameonly (the only text is the linked name)

Sub-templates

[edit]