Templat:Post-nominals
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
editDefault
editThe 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: Ralat Lua: expandTemplate: template "Post-nominals/CAN" does not exist.
Unlinked and/or custom-linked post-nominals
editTo 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
editThe 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 en:MOS:FONTSIZE, this must be added when the template is used in infoboxes (it should be set to 100%), because infoboxes already use size-reduced text. It can be used elsewhere when there are few post-nominal letters.
Jane Smith {{post-nominals|size=100%|PC|CC|OBE}}
produces: Jane Smith Ralat Lua: expandTemplate: template "Post-nominals/CAN" does not exist.
Commas
editBy 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, Ralat Lua: expandTemplate: template "Post-nominals/CAN" does not exist.
Country
editBy 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 Templat:Var is the ISO 3166-1 alpha-3 code for that country:
Jane Smith {{post-nominals|country=NZL|PC|OBE}}
produces: Jane Smith Ralat Lua: expandTemplate: template "Post-nominals/NZL" does not exist.
Currently, the countries supported are Australia (AUS); Canada (CAN); Ghana (GHA); Gibraltar (GIB); Holy See (VAT); Hong Kong (HKG); Jamaica (JAM); New Zealand (NZL); Nigeria (NGA); the United Kingdom (GBR); and South Africa (ZAR). United States (USA) is functional but blank. (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
edit- AM is ambiguous in British honours. Use AMl ("AM" followed by a lowercase "L") for a member of the London Assembly; AMw for a member of the National Assembly for Wales; and AMh for an honorary Member of the Order of Australia.
- 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, Ralat Lua: expandTemplate: template "Post-nominals/NZL" does not exist." is produced by:
Sir John Smith, {{post-nominals|country=NZL|size=100%|sep=,|GNZM|GCB|GCMG|GBE}}
- while "Dame Jane Jones Ralat Lua: expandTemplate: template "Post-nominals/NZL" does not exist." is produced by:
Dame Jane Jones {{post-nominals|country=NZL|GNZMf|GCBf|GCMGf|GBEf}}
- Kt, in the British set of honours, indicates a Knight Bachelor who also holds other knighthoods, baronetcies and/or peerages; KT indicates a Knight of the Thistle.
- OM in the Canadian set defaults to the Order of Manitoba, while the Order of Merit is specified by OMt. "Joseph Jacques Jean Chrétien Ralat Lua: expandTemplate: template "Post-nominals/CAN" does not exist.", for instance, is produced by:
Joseph Jacques Jean Chrétien {{post-nominals|country=CAN|PC|OMt|CC|QC}}
- QFSM, in New Zealand, designates both the Queen's Fire Service Medal for Gallantry and Queen's Fire Service Medal for Distinguished Service. QPM designates both Queen's Police Medal for Gallantry and Queen's Police Medal for Distinguished Service. In both instances, the Medal for Distinguished Service is specified with QFSMd and QPMd:
John Smith {{post-nominals|country=NZL|QFSM|QPM|QPSMd|QPMd}}
produces: John Smith Ralat Lua: expandTemplate: template "Post-nominals/NZL" does not exist.
Data
editData templates for each supported country:
- Antigua: AG
- Australia: AUS or AUS-cats (Templat:Compare pages)
- Barbados: BRB
- Belgium: BE
- Brunei: BRN
- Canada: CAN or CAN-cats (Templat:Compare pages)
- Fiji: FJI or FJI-cats (Templat:Compare pages)
- Germany: DEU
- Ghana: GHA
- Gibraltar: GIB
- Holy See: VAT
- Hong Kong: HKG
- India: IND
- Jamaica: JAM
- Kenya: KEN
- New Zealand: NZL
- Nigeria: NGA
- Pakistan: PAK
- South Africa: ZAR
- Sri Lanka: SRI
- Sweden: SWE
- United Kingdom: GBR or GBR-cats (Templat:Compare pages)
- United States: USA-cats
Tracking categories
edit- Category:Pages using Template:Post-nominals with customized linking (6)
- Category:Pages using Template:Post-nominals with missing parameters (3)
TemplateData
editTemplateData for Post-nominals
Show a person's post-nominals cleanly and with links to the relevant articles.
Parameter | Keterangan | Jenis | Status | |
---|---|---|---|---|
Country | country | Which set of awards to use, by ISO 3166-1 alpha-3 country code. By default, the Canadian set is used.
| Rentetan | disarankan |
1st post-nominal | 1 | A post-nominal to show with a link to the relevant page.
| Rentetan | disarankan |
2nd post-nominal | 2 | A post-nominal to show with a link to the relevant page.
| Rentetan | pilihan |
3rd post-nominal | 3 | A post-nominal to show with a link to the relevant page.
| Rentetan | pilihan |
4th post-nominal | 4 | A post-nominal to show with a link to the relevant page.
| Rentetan | pilihan |
5th post-nominal | 5 | A post-nominal to show with a link to the relevant page.
| Rentetan | pilihan |
6th post-nominal | 6 | A post-nominal to show with a link to the relevant page.
| Rentetan | pilihan |
7th post-nominal | 7 | A post-nominal to show with a link to the relevant page.
| Rentetan | pilihan |
8th post-nominal | 8 | A post-nominal to show with a link to the relevant page.
| Rentetan | pilihan |
9th post-nominal | 9 | A post-nominal to show with a link to the relevant page.
| Rentetan | pilihan |
10th post-nominal | 10 | A post-nominal to show with a link to the relevant page.
| Rentetan | pilihan |
11th post-nominal | 11 | A post-nominal to show with a link to the relevant page.
| Rentetan | pilihan |
12th post-nominal | 12 | A post-nominal to show with a link to the relevant page.
| Rentetan | pilihan |
13th post-nominal | 13 | A post-nominal to show with a link to the relevant page.
| Rentetan | pilihan |
14th post-nominal | 14 | A post-nominal to show with a link to the relevant page.
| Rentetan | pilihan |
15th post-nominal | 15 | A post-nominal to show with a link to the relevant page.
| Rentetan | pilihan |
16th post-nominal | 16 | A post-nominal to show with a link to the relevant page.
| Rentetan | pilihan |
17th post-nominal | 17 | A post-nominal to show with a link to the relevant page.
| Rentetan | pilihan |
18th post-nominal | 18 | A post-nominal to show with a link to the relevant page.
| Rentetan | pilihan |
19th post-nominal | 19 | A post-nominal to show with a link to the relevant page.
| Rentetan | pilihan |
20th post-nominal | 20 | A post-nominal to show with a link to the relevant page.
| Rentetan | pilihan |
Separator | sep commas | What separator to use. By default, this uses a space; you can use commas if you wish.
| Rentetan | pilihan |
Size | size | At what size to show the list; only over-ride if appropriate.
| Rentetan | pilihan |
Unformatted list | list unlinked post-noms | A list of post-nominals to display without links, or with customised linking.
| Wikiteks tidak seimbang | pilihan |