Template:Medal Display/UK

From Ethan's Workspace
< Template:Medal Display
Revision as of 12:21, 10 June 2021 by Ethan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Great Britain 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}} SteR KCVO.jpg Knight Commander of the Royal Victorian Order (KCVO)
DCVO Lua error: expandTemplate: template "post-nominals/UK" does not exist. {{Medal Display|country=UK|DCVO}} SteR KCVO.jpg Dame Commander of the Royal Victorian Order (DCVO)
CVO Lua error: expandTemplate: template "post-nominals/UK" does not exist. {{Medal Display|country=UK|CVO}} RVO-Star (CVO-LVO).jpg 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}} RVO-Star (MVO).jpg 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 Order UK ribbon.png Royal Victorian Medal (RVM)
DSC Lua error: expandTemplate: template "post-nominals/UK" does not exist. {{Medal Display|country=UK|DSC}} UK Distinguished Service Cross BAR.svg Distinguished Service Cross (United Kingdom) (DSC)
DSO Lua error: expandTemplate: template "post-nominals/UK" does not exist. {{Medal Display|country=UK|DSO}} Ribbon - Distinguished Service Order.png Distinguished Service Order (DSO)
DSO* Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. {{Medal Display|country=UK|DSO*}} Ribbon - Distinguished Service Order.png Distinguished Service Order and Bar (DSO & bar)
DSO** Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. {{Medal Display|country=UK|DSO**}} Ribbon - Distinguished Service Order.png 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***}} Ribbon - Distinguished Service Order.png 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}} Ribbon - Distinguished Service Order.png Distinguished Service Order and Bar (DSO & bar)
DSO2 Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. {{Medal Display|country=UK|DSO2}} Ribbon - Distinguished Service Order.png 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}} Ribbon - Distinguished Service Order.png 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}} Ribbon - Military Cross.png Military Cross (MC)
MC* Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. {{Medal Display|country=UK|MC*}} Military cross w bar BAR.svg Military Cross and Bar (MC & Bar)
MC** Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. {{Medal Display|country=UK|MC**}} Military cross w 2bars BAR.svg 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 w bar BAR.svg Military Cross and Bar (MC & Bar)
MC2 Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. {{Medal Display|country=UK|MC2}} Military cross w 2bars BAR.svg Military Cross and two Bars (MC & two bars)
OBE Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. {{Medal Display|country=UK|OBE}} Ribbon - British Empire Medal (Military).png Order of the British Empire (OBE)
OBEO Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. {{Medal Display|country=UK|OBEO}} Ribbon - British Empire Medal (Military).png 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}} Ribbon - British Empire Medal (Military).png 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}} Ribbon - British Empire Medal (Military).png 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}} Order of the Bath (ribbon).svg Companion of the Order of the Bath (CB)
CBh Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. {{Medal Display|country=UK|CBh}} Order of the Bath (ribbon).svg 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}} Ribbon - British Empire Medal (Military).png 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}} Order of Canada (CC) ribbon bar.png Companion of the Order of Canada (CC)
DFC Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. {{Medal Display|country=UK|DFC}} Ribbon - Distinguished Flying Cross.png Distinguished Flying Cross (United Kingdom) (DFC)
DFC* Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. {{Medal Display|country=UK|DFC*}} UK DFC w bar BAR.svg 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**}} UK DFC w 2bars BAR.svg 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}} Ribbon - Air Force Cross.png Air Force Cross (United Kingdom) (AFC)
AFC* Lua error: expandTemplate: template "post-nominals/ZAR" does not exist. {{Medal Display|country=UK|AFC*}} UK AFC w Bar ribbon2.svg 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**}} UK AFC w Bar ribbon2.svg 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}} UK AFC w Bar ribbon2.svg 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}} UK AFC w Bar ribbon2.svg 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}} Ribbon - Air Force Medal.png Air Force Medal (AFM)