Template:Badge Display

From blackwiki
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Usage

Use this template by inserting the following: {{Badge Display|Short Code for Badge|display size}} The first parameter must be the short code of the badge using the abbreviation from the list on the specific country page and the wikilinked name of the badge will be displayed, preceded by the image of the badge (if available).

The second, optional, param is the size that the image must be, for example 25px. The default size is 40px.

The default country is {{Badge Display/ZAR}} To specify other countries, include the parameter country=YYY e.g. {{Badge Display|BRVS|country=XXX|100px}}

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.