Template:Post-nominals/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Sinesurfer
→‎Data: added link to NZL-cats
meta>Pdfpdf
Line 16: Line 16:
<nowiki>{{post-nominals|country=CAN|PC|CC|OBE}}</nowiki>: {{post-nominals|country=CAN|PC|CC|OBE}}
<nowiki>{{post-nominals|country=CAN|PC|CC|OBE}}</nowiki>: {{post-nominals|country=CAN|PC|CC|OBE}}


Countries are specified using [[ISO 3166-1 alpha-3]] codes. The only countries currently supported are 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.
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.
Note that this is case-sensitive; "country=GBR" will invoke the British list, but "Country=GBR" will default to the Canadian list.
Line 30: Line 30:
=====Data=====
=====Data=====
Data templates for each supported country:
Data templates for each supported country:
*[[Template:Post-nominals/AUS|Australia]]
*[[Template:Post-nominals/CAN|Canada]]
*[[Template:Post-nominals/CAN|Canada]]
*[[Template:Post-nominals/NZL|New Zealand]] and [[Template:Post-nominals/NZL-cats|New Zealand with Categories]]
*[[Template:Post-nominals/NZL|New Zealand]] and [[Template:Post-nominals/NZL-cats|NZ with Categories]]
*[[Template:Post-nominals/GBR|United Kingdom]]
*[[Template:Post-nominals/GBR|United Kingdom]] and [[Template:Post-nominals/GBR-cats|UK with Categories]]
 


<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 15:24, 4 April 2013

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 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
'''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|QFSM|QPM|QPSMds|QPMds}} returns

John Smith QFSM QPM

Data

Data templates for each supported country: