Template:Post-nominals/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Sardanaphalus
update ("list")
meta>BoonDock
→‎Data: Added South Africa to the list
Line 48: Line 48:
*[[Template:Post-nominals/NZL|New Zealand]] and [[Template:Post-nominals/NZL-cats|NZ with Categories]]
*[[Template:Post-nominals/NZL|New Zealand]] and [[Template:Post-nominals/NZL-cats|NZ with Categories]]
*[[Template:Post-nominals/GBR|United Kingdom]] and [[Template:Post-nominals/GBR-cats|UK with Categories]]
*[[Template:Post-nominals/GBR|United Kingdom]] and [[Template:Post-nominals/GBR-cats|UK with Categories]]
*[[Template:Post-nominals/ZAR|South Africa]]


<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |

Revision as of 15:25, 20 November 2014

Usage

The default use provides post-nominals linked to the relevant article for the award. By default, the Canadian set of awards is used:

{{post-nominals|PC|CC|OBE}} produces: PC CC OBE

Unlinked and/or custom-linked post-nominals

To list post-nominals without links and/or with customised linking, use |unlinked= or |list= (or |post-noms=):

{{post-nominals|unlinked=PC CC OBE}} produces: PC CC OBE
{{post-nominals|list=[[Order of the British Empire|KBE]]}} produces: KBE

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%:

{{post-nominals|size=100%|PC|CC|OBE}} produces: PC CC OBE

Commas

By default, a single space is placed between each linked post-nominal (see above). To include a comma, set |commas= (or |sep=) as "on", "true", "," etc (without quotemarks):

{{post-nominals|commas=on|PC|CC|OBE}} produces: PC, CC, OBE

Country

By default, the template links to articles on the Canadian versions of the honours indicated by the post-nominals. To specify another country, include |country=XXX where XXX is the ISO 3166-1 alpha-3 code for that country:

{{post-nominals|country=NZL|PC|OBE}} produces: PC OBE

Currently, the countries supported are Australia (AUS); Canada (CAN); New Zealand (NZL); and the United Kingdom (GBR). (See data links below.)

Exceptions
  • GNZM GCB GCMG GBE designates both a Knight Grand Cross/Companion and a Dame Grand Cross/Companion. In order to link correctly, however, more specific abbreviations are needed to differentiate between the Knight and Dame. For instance, "Sir John Smith GNZM GCB GCMG GBE" is produced by:
Sir John Smith {{post-nominals|country=NZL|GNZM|GCB|GCMG|GBE}}
while "Dame Jane Jones GNZM GCB GCMG GBE" is produced by:
Dame Jane Jones {{post-nominals|country=NZL|GNZMf|GCBf|GCMGf|GBEf}}
Joseph Jacques Jean Chrétien, {{post-nominals|country=CAN|PC|OMt|CC|QC}}
John Smith {{post-nominals|country=NZL|QFSM|QPM|QPSMd|QPMd}} produces: John Smith QFSM QPM QFSM QPM
Data

Data templates for each supported country: