Template:MilAward Stack/doc
This is a documentation subpage for Template:MilAward Stack. 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 Ribbon}}
template, but stacks the output as a horizontal bar of ribbons.
You can specify the size of all the ribbons by using the |size=
parameter
Otherwise, all the parameters are codes for ribbons/medals as listed on {{MilAward}}
Example:
{{MilAward Stack|SM|MMM|PP|SAM|GSM|Tshumelo|Unitas|MTD40|GoodServiceG|GoodServiceS|GoodServiceB|ORB5}}
gives{{MilAward Stack|SM|MMM|PP|SAM|GSM|Tshumelo|Unitas|MTD40|GoodServiceG|GoodServiceS|GoodServiceB|ORB5|size=x25px}}
gives
Please note that the idea is that the "Stack" will split automatically according to the space available.
For a list you can use: {{MilAward DescList|SM|MMM|PP|SAM|GSM|Tshumelo|Unitas|MTD40|GoodServiceG|GoodServiceS|GoodServiceB|ORB5|size=x25px}}
- Southern Cross Medal (1975) (SM) (South Africa)
- Military Merit Medal (MMM) (South Africa)
- Pro Patria Medal (South Africa)
- Southern Africa Medal (South Africa)
- General Service Medal (South Africa) (South Africa)
- Tshumelo Ikatelaho (General Service Medal) (South Africa)
- Unitas (Unity) Medal (South Africa)
- Medalje vir Troue Diens (Medal for Loyal Service) (40 Year Clasp) (South Africa)
- Good Service Medal (Gold (30 Years)) (South Africa)
- Good Service Medal (Silver (20 Years)) (South Africa)
- Good Service Medal (Bronze (10 Years)) (South Africa)
- Order of the Cloud and Banner (5th Grade - with Cravat) (ORB) (Taiwan)
For the Post-nominal titles you can use: {{MilAward PostNom|SM|MMM|PP|SAM|GSM|Tshumelo|Unitas|MTD40|GoodServiceG|GoodServiceS|GoodServiceB|ORB5|size=x25px}}
Display a list of awards in a horizontal stack of "ribbons"
Parameter | Description | Type | Status | |
---|---|---|---|---|
Award Code | Award Code | This is the code of the award
| String | required |
size | size | The size of the ribbons
| String | suggested |