Difference between revisions of "Template:MedalCompetition"

From blackwiki
Jump to navigation Jump to search
imported>Mahagaja
(repair: that edit broke the template)
imported>CeeGee
(changed bgcolor from lightgrey to lightblue to avoid confusion with silver medal)
Line 1: Line 1:
 
<noinclude>{| class="infobox" style="width: 25em; font-size: 95%;"
 
<noinclude>{| class="infobox" style="width: 25em; font-size: 95%;"
</noinclude>|- bgcolor="#cccccc" align=center
+
</noinclude>|- bgcolor=lightblue align=center
 
! colspan="3" | {{{1|Competition Name}}}<noinclude>
 
! colspan="3" | {{{1|Competition Name}}}<noinclude>
 
|}
 
|}

Revision as of 07:59, 11 February 2007

Competition Name



Purpose

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

Template:PAGENAMEBASE
Medal record
Athletics
Olympic Games
Gold medal – first place 2000 Sydney 400 m
Commonwealth Games
Bronze medal – third place 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}}



Related templates:

{{MedalTop}}, {{MedalTopPic}}, {{MedalTableTop}} or {{MedalTableTopPic}} (use only one)
{{MedalTrueSpirit}}
{{MedalOlympic}}
{{MedalWorldChampionships}}
{{MedalEuropeanCup}}
{{MedalWorldIndoorChampionships}}
{{MedalWorldCup}}
{{MedalCommonwealthGames }}
{{MedalGoodwillGames}}
{{MedalEuropeanChampionships}}
{{MedalXGames}}
{{MedalCompetition}}
{{MedalSport}}
{{MedalGold}}
{{MedalSilver}}
{{MedalBronze}}
{{MedalDisqualified}}
{{MedalBottom}} hu:Sablon:MedalCompetition