Template:Medal Display/UK: Difference between revisions
(Created page with "{{#switch: {{{1}}} <!-- GBR Awards --> | GCVO = {{{size}}} Knight Grand Cross of the Royal Victorian Order (GCVO)<...") |
No edit summary |
||
Line 40: | Line 40: | ||
| AFM = [[File:Ribbon - Air Force Medal.png|border|{{{size}}}]] [[Air Force Medal]] (AFM) | | AFM = [[File:Ribbon - Air Force Medal.png|border|{{{size}}}]] [[Air Force Medal]] (AFM) | ||
| KP = [[File:Ribbon_bar_Order_of_St._Patrick.jpg|border|{{{size}}}]] [[Order of St Patrick]] | | KP = [[File:Ribbon_bar_Order_of_St._Patrick.jpg|border|{{{size}}}]] [[Order of St Patrick]] | ||
| CMG = [[File:File:UK_Order_St-Michael_St-George_ribbon.svg|border|{{{size}}}]] [[Order of St Michael and St George]] | |||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 12:21, 10 June 2021
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
Usage
Use this template by inserting the following: {{Medal Display|Short Code for Medal|display size}}
The first parameter must be the short code of the medal using the abbreviation from the below list and the wikilinked name of the medal/decoration will be displayed, preceded by the image of the ribbon (if available) and followed by the post nominal titles (if applicable).
The second, optional, param is the size that the image must be, for example 25px. The default size is 40px.
Take note that making changes to the DOCUMENTATION on this page does not change the actual template!
Issues
At this point, using these in a list causes the list to generate a new UL for each item. Corrections to fix this would be greatly appreciated.
Future
Having an if statement with parameters to allow the turning on or off of the ribbon display etc. would be nice.
Badges
Please NOTE, if you are looking for the Proficiency and Qualification badges, please use the template {{Badge Display}} (South African ones are in {{Badge Display/ZAR}})
Non-South African
UK awards
Code | Example | Demo | Post Nom |
---|---|---|---|
GCVO | Template:Postnominals | {{Medal Display|country=UK|GCVO}} |
Template:Medal Display/GBR |
KCVO | Template:Postnominals | {{Medal Display|country=UK|KCVO}} |
Knight Commander of the Royal Victorian Order (KCVO) |
DCVO | Lua error: expandTemplate: template "post-nominals/UK" does not exist. | {{Medal Display|country=UK|DCVO}} |
Dame Commander of the Royal Victorian Order (DCVO) |
CVO | Lua error: expandTemplate: template "post-nominals/UK" does not exist. | {{Medal Display|country=UK|CVO}} |
Commander of the Royal Victorian Order (CVO) |
LVO | Lua error: expandTemplate: template "post-nominals/UK" does not exist. | {{Medal Display|country=UK|LVO}} |
Template:Medal Display/GBR |
MVO | Lua error: expandTemplate: template "post-nominals/UK" does not exist. | {{Medal Display|country=UK|MVO}} |
Template:Medal Display/GBR |
MVOh | Lua error: expandTemplate: template "post-nominals/UK" does not exist. | {{Medal Display|country=UK|MVOh}} |
Honorary Member of the Royal Victorian Order (MVO) |
RVM | Lua error: expandTemplate: template "post-nominals/UK" does not exist. | {{Medal Display|country=UK|RVM}} |
Royal Victorian Medal (RVM) |
DSC | Lua error: expandTemplate: template "post-nominals/UK" does not exist. | {{Medal Display|country=UK|DSC}} |
Distinguished Service Cross (United Kingdom) (DSC) |
DSO | Lua error: expandTemplate: template "post-nominals/UK" does not exist. | {{Medal Display|country=UK|DSO}} |
Distinguished Service Order (DSO) |
DSO* | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|DSO*}} |
Distinguished Service Order and Bar (DSO & bar) |
DSO** | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|DSO**}} |
Distinguished Service Order and two Bars (DSO & 2 bars) |
DSO*** | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|DSO***}} |
Distinguished Service Order and three Bars (DSO & 3 bars) |
DSO1 | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|DSO1}} |
Distinguished Service Order and Bar (DSO & bar) |
DSO2 | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|DSO2}} |
Distinguished Service Order and two Bars (DSO & 2 bars) |
DSO3 | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|DSO3}} |
Distinguished Service Order and three Bars (DSO & 3 bars) |
MC | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|MC}} |
Military Cross (MC) |
MC* | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|MC*}} |
Military Cross and Bar (MC & Bar) |
MC** | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|MC**}} |
Military Cross and two Bars (MC & two bars) |
MC1 | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|MC1}} |
Military Cross and Bar (MC & Bar) |
MC2 | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|MC2}} |
Military Cross and two Bars (MC & two bars) |
OBE | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|OBE}} |
Order of the British Empire (OBE) |
OBEO | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|OBEO}} |
Officer of the Order of the British Empire (OBE) |
CBE | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|CBE}} |
Commander of the Order of the British Empire (CBE) |
KBE | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|KBE}} |
Knight Commander of the Order of the British Empire (KBE) |
CB | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|CB}} |
Companion of the Order of the Bath (CB) |
CBh | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|CBh}} |
Honorary Companion of the Order of the Bath (CB) |
CBEh | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|CBEh}} |
Honorary Commander of the Order of the British Empire (CBE) |
CC | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|CC}} |
Companion of the Order of Canada (CC) |
DFC | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|DFC}} |
Distinguished Flying Cross (United Kingdom) (DFC) |
DFC* | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|DFC*}} |
Distinguished Flying Cross and Bar (United Kingdom) (DFC and Bar) |
DFC** | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|DFC**}} |
Distinguished Flying Cross and two Bars (United Kingdom) (DFC & two bars) |
AFC | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|AFC}} |
Air Force Cross (United Kingdom) (AFC) |
AFC* | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|AFC*}} |
Air Force Cross and Bar (United Kingdom) (AFC & Bar) |
AFC** | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|AFC**}} |
Air Force Cross and two Bars (United Kingdom) (AFC & two Bars) |
AFC1 | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|AFC1}} |
Air Force Cross and Bar (United Kingdom) (AFC & Bar) |
AFC2 | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|AFC2}} |
Air Force Cross and two Bars (United Kingdom) (AFC & two Bars) |
AFM | Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. | {{Medal Display|country=UK|AFM}} |
Air Force Medal (AFM) |