Template:Pre-nominal styles/sandbox
This is the template sandbox page for Template:Pre-nominal styles (diff). See also the companion subpage for test cases. |
Usage
[edit]Default
[edit]{{pre-nominal styles|MRevd|&RHPC}}
produces: The Most Reverend and Right Honourable
Unlinked pre-nominals
[edit]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
[edit]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: The Most Reverend and Right Honourable
{{pre-nominal styles|pre-noms=The Rt Revd and Hon|size=100%}}
produces: The Rt Revd and Hon
Country
[edit]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: The Most Reverend and Right Honourable
Notes
[edit]- Distinguish
RHon
and&RHon
, which link to The Right Honourable and are suitable for peers, fromRHPC
and&RHPC
, which link to Privy Counsellor (UK) and are suitable for commoners who are privy counsellors.
Data
[edit]Data templates for each supported country:
- United Kingdom: GBR
See also
[edit]- {{Post-nominals}}