Sari la conținut

Format:MedalCompetition

De la Wikipedia, enciclopedia liberă
{{{1}}}



Allows a medal list to include multiple competitions, e.g. Olympic Games, Commonwealth Games, World Championships, National Titles, Goodwill Games, Paralympic Games, etc.

Usage Example

[modificare sursă]
MedalCompetition
Medalii
Athletics
Olympic Games
Aur 2000 Sydney 400 m
Commonwealth Games
Bronz 2006 Melbourne 400 m

The table on the right is produced with the code below:

{{MedalTableTop}}
{{MedalSport | [[Athletics (track and field)|]]}}
{{MedalCompetition|[[Olympic Games]]}}
{{MedalGold  | [[2000 Summer Olympics|2000 Sydney]] | 400 m }}
{{MedalCompetition|[[Commonwealth Games]]}}
{{MedalBronze | [[2006 Commonwealth Games|2006 Melbourne]] | 400 m }}
{{MedalBottom}}
[modificare sursă]

Usage example

[modificare sursă]
MedalCompetition

Athlete name
Medalii
Competitor pentru Australia Australia
Men's athletics
Olympic Games
Aur 2000 Sydney 400 m
Commonwealth Games
Argint 2006 Melbourne 200 m
Bronz 2006 Melbourne 400 m
{{MedalTableTop|Example.jpg|150px|Athlete name}}
{{MedalCountry | {{AUS}} }}
{{MedalSport | [[Athletics (track and field)|Athletics]]}}
{{MedalCompetition|[[Olympic Games]]}}
{{MedalGold  | [[2000 Summer Olympics|2000 Sydney]] | 
   [[Athletics at the 2000 Summer Olympics|400 m]] }}
{{MedalCompetition|[[Commonwealth Games]]}}
{{MedalSilver | [[2006 Commonwealth Games|2006 Melbourne]] | 
   [[Athletics at the 2006 Commonwealth Games|200 m]] }}
{{MedalBronze | 2006 Melbourne | 400 m }}
{{MedalBottom}}
[modificare sursă]

{{MedalTableTop}} – with the optional image parameters (see example above):

  1. Image name without 'Image:'.
  2. Image size. Default value: 100px.
  3. Caption. Default value: {{PAGENAME}}.

Deprecated templates:

{{MedalTop}} and {{MedalTopPic}} – use {{MedalTableTop}} with a competition template
{{MedalTableTopPic}} – use {{MedalTableTop}} with the same parameters

Sub Headings

[modificare sursă]

{{MedalCountry}}
{{MedalSport}}
{{MedalCompetition}}

{{MedalOlympic}} - deprecated (use {{MedalCompetition}} instead)
{{MedalParalympic}} - deprecated (use {{MedalCompetition}} instead)
{{MedalWorldChampionships}} - deprecated (use {{MedalCompetition}} instead)
{{MedalCommonwealthGames }} - deprecated (use {{MedalCompetition}} instead)
{{MedalEuropeanChampionships}} - deprecated (use {{MedalCompetition}} instead)

{{MedalGold}}
{{MedalSilver}}
{{MedalBronze}}
{{MedalDisqualified}}

All with the usage: {{MedalType | Year City | Event}} (see example above)

{{MedalTrueSpirit}}

Usage {{MedalTrueSpirit | Year of award}}

{{MedalBottom}}