Template:Post-nominals/doc

From Zoophilia Wiki
Revision as of 10:16, 21 August 2014 by meta>Sardanaphalus (→‎Exceptions: order)
Jump to navigationJump to search

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 post-nominals

To list post-nominals without links, use |unlinked= (or |post-noms=):

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

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: