Template:Post-nominals/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>BoonDock
→‎Country: Added South Africa
meta>Abraham, B.S.
tweak to represent change in default size
Line 12: Line 12:


====Font size====
====Font size====
The optional {{para|size}} parameter allows for the size of the text, as a percentage, to be changed from the template's default of 85%:
The optional {{para|size}} parameter allows for the size of the text, as a percentage, to be changed from the template's default of 100%:
: <code><nowiki>{{post-nominals|size=100%|PC|CC|OBE}}</nowiki></code> produces: {{post-nominals|size=100%|PC|CC|OBE}}
: <code><nowiki>{{post-nominals|size=85%|PC|CC|OBE}}</nowiki></code> produces: {{post-nominals|size=85%|PC|CC|OBE}}


====Commas====
====Commas====

Revision as of 22:42, 17 March 2015

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

{{post-nominals|size=85%|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); the United Kingdom (GBR); and South Africa (ZAR). (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: