Template:Post-nominals/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Sinesurfer
→‎Data: Add Template for New Zealand
meta>Sinesurfer
→‎Exceptions: Added description of Syntax for QPFSM and QPM
Line 22: Line 22:
*'''OM''' in the Canada set defaults to the [[Order of Manitoba]]. The [[Order of Merit]] is specified with '''OMt''':
*'''OM''' in the Canada set defaults to the [[Order of Manitoba]]. The [[Order of Merit]] is specified with '''OMt''':
::<nowiki>'''Joseph Jacques Jean Chrétien''', {{Post-nominals|country=CAN|PC|OMt|CC|QC}}</nowiki> returns '''Joseph Jacques Jean Chrétien''', {{Post-nominals|country=CAN|PC|OMt|CC|QC}}
::<nowiki>'''Joseph Jacques Jean Chrétien''', {{Post-nominals|country=CAN|PC|OMt|CC|QC}}</nowiki> returns '''Joseph Jacques Jean Chrétien''', {{Post-nominals|country=CAN|PC|OMt|CC|QC}}
*'''QPFSM''' 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 ''QPFSMds'' and ''QPMds''.
::<nowiki>'''John Smith''',{{Post-nominals|country=NZL|QPFSM|QPM|QPSMds|QPMds}}</nowiki> returns
'''John Smith'',{{Post-nominals|country=NZL|QPFSM|QPM|QPSMds|QPMds}}


=====Data=====
=====Data=====

Revision as of 06:41, 14 October 2012

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

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 Canada (CAN) 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.

Exceptions
'''Joseph Jacques Jean Chrétien''', {{Post-nominals|country=CAN|PC|OMt|CC|QC}} returns Joseph Jacques Jean Chrétien, PC OM CC QC
'''John Smith''',{{Post-nominals|country=NZL|QPFSM|QPM|QPSMds|QPMds}} returns

'John Smith,QPM

Data

Data templates for each supported country: