Template:Pre-nominal styles/doc

From HandWiki
< Template:Pre-nominal styles
Revision as of 14:06, 27 July 2021 by imported>Jworkorg (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === ====Default==== <code><nowiki>{{pre-nominal styles|MRevd|&RH...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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