Template:Pre-nominal styles

From HandWiki

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

Usage

Default

{{pre-nominal styles|MRevd|&RHPC}} produces: Lua error: expandTemplate: template "Pre-nominal styles/GBR" does not exist.

Unlinked pre-nominals

To list pre-nominals without links and/or with customised linking, use the |pre-noms= parameter:

{{pre-nominal styles|pre-noms=The Rt Revd and Hon}} produces: The Rt Revd and Hon

Font size

The optional |size= parameter allows for the size of the text, as a percentage, to be changed from the template's default of 85%. This should be added when using the template in an infobox.

{{pre-nominal styles|size=100%|MRevd|&RHPC}} produces: Lua error: expandTemplate: template "Pre-nominal styles/GBR" does not exist.

{{pre-nominal styles|pre-noms=The Rt Revd and Hon|size=100%}} produces: The Rt Revd and Hon

Country

Countries are specified using ISO 3166-1 alpha-3 codes. The only country currently supported is the United Kingdom (GBR).

{{pre-nominal styles|country=GBR|MRevd|&RHPC}} produces: Lua error: expandTemplate: template "Pre-nominal styles/GBR" does not exist.

Notes
  • Distinguish RHon and &RHon, which link to The Right Honourable and are suitable for peers, from RHPC and &RHPC, which link to Privy Counsellor (UK) and are suitable for commoners who are privy counsellors.
Data

Data templates for each supported country:

  • United Kingdom: GBR

See also