Template:Post-nominals/doc: Difference between revisions
meta>DBD 2 notes |
meta>HJ Mitchell →postnoms field: add documentation for |sep=, |
||
Line 11: | Line 11: | ||
<nowiki>{{post-nominals|post-noms=PC CC OBE|size=100%}}</nowiki>: {{post-nominals|post-noms=PC CC OBE|size=100%}} | <nowiki>{{post-nominals|post-noms=PC CC OBE|size=100%}}</nowiki>: {{post-nominals|post-noms=PC CC OBE|size=100%}} | ||
==== Separator ==== | |||
To use a separator, e.g. a comma, between post-nominals, use | |||
{{para|sep|,}} | |||
or any punctuation character desired. | |||
====Automatic linking==== | ====Automatic linking==== |
Revision as of 16:01, 19 January 2014
This is a documentation subpage for Template:Post-nominals. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
postnoms field
{{post-nominals|post-noms=PC CC OBE}}: PC CC OBE
The optional "size" field allows for the size of the text, as a percentage, to be changed from the template's default of 85%.
{{post-nominals|post-noms=PC CC OBE|size=100%}}: PC CC OBE
Separator
To use a separator, e.g. a comma, between post-nominals, use
|sep=,
or any punctuation character desired.
Automatic linking
{{post-nominals|country=CAN|PC|CC|OBE}}: PC CC OBE
Countries are specified using ISO 3166-1 alpha-3 codes. The only countries currently supported are Australia (AUS), Canada (CAN), New Zealand (NZL), and the United Kingdom (GBR). If a country is not specified, the Canadian list will be used, as it duplicates most of the British list.
Note that this is case-sensitive; "country=GBR" will invoke the British list, but "Country=GBR" will default to the Canadian list.
Exceptions
- OM in the Canada set defaults to the Order of Manitoba. The Order of Merit is specified with OMt:
- GNZM GCB GCMG GBE Designates both a Knight Grand Cross/Companion and a Dame Grand Cross/Companion however different parameters are used to link to a Dame Grand Cross or Companion.
- 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.
- AM is ambiguous in the British list: use AMl (lower case 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.
- In the British list, distinguish Kt for a Knight Bachelor (nb: the post-nominal is used only for knights bachelor who hold other knighthoods, baronetcies and/or peerages) from KT for a Knight of the Thistle.
Data
Data templates for each supported country: