Template:MilAward PostNom/doc
Appearance
This is a documentation subpage for Template:MilAward PostNom. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Usage
[edit]This template is equivalent to the {{MilAward Stack}}
template, but creates a comma separated list of the post-nominal titles.
You can specify the size of all the text by using the |size=100%
parameter
Otherwise, all the parameters are codes for ribbons/medals as listed on {{MilAward}}
Example:
{{MilAward PostNom|SM|MMM|PP|SAM|GSM|Tshumelo|Unitas|MTD40|GoodServiceG|GoodServiceS|GoodServiceB|ORB5}}
gives- SM, MMM, ORB
{{MilAward PostNom|SM|MMM|PP|SAM|GSM|Tshumelo|Unitas|MTD40|GoodServiceG|GoodServiceS|GoodServiceB|ORB5|size=50%}}
gives- SM MMM ORB
You can just copy the "Stack" and replace Stack with PostNom and it will only display the Postnominal titles for those awards which have one. Note the size will be ignored if it's not converted to a percentage.
Display a list of Post-nominal Titles
Parameter | Description | Type | Status | |
---|---|---|---|---|
Award Code | Award Code | This is the code of the award
| String | required |
size | size | The size of the text
| String | suggested |
Separator | sep | Separator. Use the word 'none' to have no separators. Include a space if you specify a character.
| String | suggested |