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 source]Default
[edit source]{{pre-nominal styles|MRevd|&RHPC}} produces: The Most Reverend and Right Honourable
Unlinked pre-nominals
[edit source]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 source]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 source]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 source]- Distinguish
RHonand&RHon, which link to The Right Honourable and are suitable for peers, fromRHPCand&RHPC, which link to Privy Counsellor (UK) and are suitable for commoners who are privy counsellors.
Data
[edit source]Data templates for each supported country:
- United Kingdom: GBR
See also
[edit source]- {{Post-nominals}}