Difference between revisions of "Template:MedalCompetition"

From blackwiki
Jump to navigation Jump to search
imported>Mr.Z-man
m (Changed protection level for "Template:MedalCompetition": Heavily used template [edit=sysop:move=sysop])
imported>R'n'B
m (Disambiguate athletics)
Line 34: Line 34:
 
==Usage Example==
 
==Usage Example==
 
{{MedalTableTop}}
 
{{MedalTableTop}}
{{MedalSport | [[Athletics (track and field)|Athletics]]}}
+
{{MedalSport | [[Athletics (sport)|Athletics]]}}
 
{{MedalCompetition|[[Olympic Games]]}}
 
{{MedalCompetition|[[Olympic Games]]}}
 
{{MedalGold  | [[2000 Summer Olympics|2000 Sydney]] | 400 m }}
 
{{MedalGold  | [[2000 Summer Olympics|2000 Sydney]] | 400 m }}
Line 45: Line 45:
 
<pre>
 
<pre>
 
{{MedalTableTop}}
 
{{MedalTableTop}}
{{MedalSport | [[Athletics (track and field)|]]}}
+
{{MedalSport | [[Athletics (sport)|]]}}
 
{{MedalCompetition|[[Olympic Games]]}}
 
{{MedalCompetition|[[Olympic Games]]}}
 
{{MedalGold  | [[2000 Summer Olympics|2000 Sydney]] | 400 m }}
 
{{MedalGold  | [[2000 Summer Olympics|2000 Sydney]] | 400 m }}

Revision as of 15:02, 21 May 2010

{{{1}}}



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 (sport)|]]}}
{{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:

  1. Redirect Template:Medal templates documentation

es:Plantilla:CompeticionDeMedalla ja:Template:MedalCompetition ro:Format:MedalCompetition zh:Template:MedalCompetition