Template talk:MedalsBox

From Wikipedia, the free encyclopedia

Usage:

Creates a box to display the number of each type of medal won by a nation in a year.

Contents

[edit] Arguments

  • Image: Selects the image to display in the top left hand corner of the box. Currently defaults to the 1896 medals, as I have no idea what else to use (that's free, rather than the fair use Olympic rings).
  • Flag: National flag displayed to the left of the nation's name. Defaults to a white box with a question mark.
  • Nation: The display name of the nation and the caption for the flag image. No default; it's pretty much necessary.
  • NationLink: If you want the link to go somewhere other than the displayed name, use this. If the display name links to the right place, no need for this.
  • Gold: Number of gold medals. Defaults to 0, so if the nation didn't win any, just don't add the argument.
  • Silver: Number of silver medals. Defaults to 0, so if the nation didn't win any, just don't add the argument.
  • Bronze: Number of bronze medals. Defaults to 0, so if the nation didn't win any, just don't add the argument.
  • Total: Number of total medals. Defaults to 0, so if the nation didn't win any, just don't add the argument.

[edit] Example

[edit] Syntax

{{MedalsBox
| Image = 1896 Olympic medal.jpg
| Flag = Flag of the United Kingdom.svg
| NationLink = United Kingdom of Great Britain and Ireland
| Nation = Great Britain
| Gold = 2
| Silver = 3
| Bronze = 2
| Total = 7}}

[edit] Display

Gold Silver Bronze Total
Great Britain Great Britain 2 3 2 7