Template:MilAward DescList
From Wikipedia, the free encyclopedia
This template uses Lua: |
Usage
This template is equivalent to the {{MilAward Desc}}
template, but accepts a list of award codes and creates a list of them.
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:
- For the 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 a ribbon stack you can use
{{MilAward Stack|size=x12px|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 the Post-nominal titles you can use:
{{MilAward PostNom|SM|MMM|PP|SAM|GSM|Tshumelo|Unitas|MTD40|GoodServiceG|GoodServiceS|GoodServiceB|ORB5|size=x25px}}
- SM, MMM, ORB
More information Parameter, Description ...
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 |
Close
The above documentation is transcluded from Template:MilAward DescList/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.