Template:Post-nominals/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Jdforrester
m Fix difference between apparent command and result.
meta>Ibagli
→‎Usage: add links to data
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}}
=====Data=====
Data templates for each supported country:
*[[Template:Postnominal-CAN|Canada]]
*[[Template:Postnominal-GBR|United Kingdom]]


<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Wikipedia formatting and function templates]]
[[Category:Wikipedia formatting and function templates]]
</includeonly>
</includeonly>

Revision as of 04:33, 5 November 2011

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 default 100%.

{{post-nominals|post-noms=PC CC OBE|size=85%}}: 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
Data

Data templates for each supported country: