Permanently protected template

Template:Post-nominals

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

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%. As per MOS:FONTSIZE, this must be added when the template is used in infoboxes and can be used elsewhere when there are few post-nominal letters.

Jane Smith {{post-nominals|size=100|PC|CC|OBE}} produces: Jane Smith 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):

Jane Smith, {{post-nominals|size=100%|commas=on|PC|CC|OBE}} produces: Jane Smith, PC, CC, OBE

Country

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

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

Currently, the countries supported are Australia (AUS); Canada (CAN); Hong Kong (HKG); New Zealand (NZL); Nigeria (NG); the United Kingdom (GBR); and South Africa (ZAR). United States (USA) is functional but incomplete. (See data links below.)

If country is missing and none of unlinked, list, post-noms are used then Category:Pages using Template:Post-nominals with missing parameters is added to the page.

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|size=100%|sep=,|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:

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Post-nominals

Show a person's post-nominals cleanly and with links to the relevant articles.

Template parameters

This template has custom formatting.

Parameter Description Type Status
Country country

Which set of awards to use, by ISO 3166-1 alpha-3 country code. By default, the Canadian set is used.

Default
CAN
Example
GBR
Auto value
empty
String suggested
1st post-nominal 1

A post-nominal to show with a link to the relevant page.

Default
empty
Example
GCB
Auto value
empty
String suggested
2nd post-nominal 2

A post-nominal to show with a link to the relevant page.

Default
empty
Example
GCB
Auto value
empty
String optional
3rd post-nominal 3

A post-nominal to show with a link to the relevant page.

Default
empty
Example
GCB
Auto value
empty
String optional
4th post-nominal 4

A post-nominal to show with a link to the relevant page.

Default
empty
Example
GCB
Auto value
empty
String optional
5th post-nominal 5

A post-nominal to show with a link to the relevant page.

Default
empty
Example
GCB
Auto value
empty
String optional
6th post-nominal 6

A post-nominal to show with a link to the relevant page.

Default
empty
Example
GCB
Auto value
empty
String optional
7th post-nominal 7

A post-nominal to show with a link to the relevant page.

Default
empty
Example
GCB
Auto value
empty
String optional
8th post-nominal 8

A post-nominal to show with a link to the relevant page.

Default
empty
Example
GCB
Auto value
empty
String optional
9th post-nominal 9

A post-nominal to show with a link to the relevant page.

Default
empty
Example
GCB
Auto value
empty
String optional
10th post-nominal 10

A post-nominal to show with a link to the relevant page.

Default
empty
Example
GCB
Auto value
empty
String optional
11th post-nominal 11

A post-nominal to show with a link to the relevant page.

Default
empty
Example
GCB
Auto value
empty
String optional
12th post-nominal 12

A post-nominal to show with a link to the relevant page.

Default
empty
Example
GCB
Auto value
empty
String optional
13th post-nominal 13

A post-nominal to show with a link to the relevant page.

Default
empty
Example
GCB
Auto value
empty
String optional
14th post-nominal 14

A post-nominal to show with a link to the relevant page.

Default
empty
Example
GCB
Auto value
empty
String optional
15th post-nominal 15

A post-nominal to show with a link to the relevant page.

Default
empty
Example
GCB
Auto value
empty
String optional
16th post-nominal 16

A post-nominal to show with a link to the relevant page.

Default
empty
Example
GCB
Auto value
empty
String optional
17th post-nominal 17

A post-nominal to show with a link to the relevant page.

Default
empty
Example
GCB
Auto value
empty
String optional
18th post-nominal 18

A post-nominal to show with a link to the relevant page.

Default
empty
Example
GCB
Auto value
empty
String optional
19th post-nominal 19

A post-nominal to show with a link to the relevant page.

Default
empty
Example
GCB
Auto value
empty
String optional
20th post-nominal 20

A post-nominal to show with a link to the relevant page.

Default
empty
Example
GCB
Auto value
empty
String optional
Separator sepcommas

What separator to use. By default, this uses a space; you can use commas if you wish.

Default
Example
empty
Auto value
empty
String optional
Size size

At what size to show the list; only over-ride if appropriate.

Default
85%
Example
100%
Auto value
empty
String optional
Unformatted list listunlinkedpost-noms

A list of post-nominals to display without links, or with customised linking.

Default
empty
Example
PC [[Order of the British Empire|KBE]]
Auto value
empty
Unbalanced wikitext optional