සැකිල්ල:MedalTableTop
Medal record |
---|
This template is part of the medal record series of templates.
Usage examples
[සංස්කරණය]For competitors who have competed in the same sport for the same country, the templates should be ordered Country, Sport, Competition1, Award, Competition2, Award and so on.
Medal record | ||
---|---|---|
Athlete name | ||
ඕස්ට්රේලියාව සඳහා තරඟකරු | ||
Men's athletics | ||
Olympic Games | ||
Gold | 2000 Sydney | 100 m |
Commonwealth Games | ||
Silver | 2006 Melbourne | 200 m |
Bronze | 2006 Melbourne | 400 m |
{{MedalTop}} OR {{MedalTableTop|Example.jpg|150px|Athlete name}} OR {{MedalTop|width=200px}} OR {{MedalTableTop|Example.jpg|150px|Athlete name|maxwidth=180px}}
where in {{MedalTableTop}} (only):
{{{1}}}==Athelete's picture,
{{{2}}}==Width of picture,
{{{3}}}==Athelete's Picture Caption
and wherein width= and max-width= can be used to override the default infobox width behavior.
- • maxwidth= will constrain the outside of the infobox and force the image to stay inside it, whereas width=200p will set a minimum size of the infobox width, which might experience expansion from inside content, whether desired or not, and differently within different browsers.
Unexpected use of template {{2}} - see Template:2 for details.
then continue with...
{{MedalCountry | {{AUS}} }} {{MedalSport | [[Athletics (track and field)|athletics]]}} {{MedalCompetition|[[Olympic Games]]}} {{MedalGold | [[2000 Summer Olympics|2000 Sydney]] | [[Athletics at the 2000 Summer Olympics - Men's 100 metres|100 m]] }} {{MedalCompetition|[[Commonwealth Games]]}} {{MedalSilver | [[2006 Commonwealth Games|2006 Melbourne]] | [[Athletics at the 2006 Commonwealth Games|200 m]] }} {{MedalBronze | 2006 Melbourne | 400 m }} {{MedalBottom}}
Medal record | ||
---|---|---|
එක්සත් රාජධානිය සඳහා තරඟකරු | ||
Women's rowing | ||
Olympic Games | ||
Silver | 2004 Athens | Quadruple sculls |
Women's track cycling | ||
Olympic Games | ||
Gold | 2008 Beijing | Individual pursuit |
For competitors who have won medals in different sports, competing for the same country, the templates should be ordered Country, Sport1, Competition, Award, Sport2, Competition, Award and so on. The example shown is based on Rebecca Romero.
Medal record | ||
---|---|---|
Women’s badminton | ||
Olympic Games | ||
ඉන්දුනීසියාව සඳහා තරඟකරු | ||
Silver | 1996 Atlanta | Singles |
the නෙදර්ලන්තය සඳහා තරඟකරු | ||
Silver | 2004 Athens | Singles |
For competitors who have won medals in the same sport at the same competition, competing for different countries, the templates should be ordered Sport, Competition, Country1, Award, Country2, Award and so on. The example shown is from Mia Audina.
Medal record | ||
---|---|---|
Women’s badminton | ||
ඩෙන්මාර්කය සඳහා තරඟකරු | ||
Olympic Games | ||
Silver | 1996 Atlanta | Singles |
European Championships | ||
Bronze | 2002 Malmö | Singles |
ස්වීඩනය සඳහා තරඟකරු | ||
Olympic Games | ||
Silver | 2004 Athens | Singles |
For competitors who have won medals in the same sport at different competitions, competing for different countries, the templates should be ordered Sport, Country1, Competition1, Award, Competition2, Award, Country2, Competition1, Award and so on.
Related templates and usage
[සංස්කරණය]The following templates should be used to construct a medal record table.
Heading
[සංස්කරණය]{{MedalTableTop}} – with the optional image parameters (see example above):
- Image name without 'Image:'.
- Image size. Default value: 100px.
- Caption. This should always be the name of the competitor, with a description of the image if appropriate.
Deprecated templates:
- {{MedalTop}} and {{MedalTopPic}} – use {{MedalTableTop}} with {{MedalCompetition|Olympic Games}}
- {{MedalTableTopPic}} – use {{MedalTableTop}} with the same parameters
Sub headings
[සංස්කරණය]{{MedalCountry}} – with the parameter:
- Appropriate template from Wikipedia:Inline templates linking country articles as the first parameter, using the when required
{{MedalSport}} – with the parameter:
- Gender sport, or Sport — Men's or Women's followed by a link to the sport page piped appropriately, e.g.
Men's [[Athletics (track and field)|athletics]]
,Women's [Rowing (sport)|rowing]]
. For mixed gender sports, link to the sport only
{{MedalCompetition}} – with the parameter:
- Link to the competition article, e.g.
[[Olympic Games]]
,[[Commonwealth Games]]
Depreciated templates:
- {{MedalOlympic}} – use {{MedalCompetition|Olympic Games}}
- {{MedalParalympic}} – use {{MedalCompetition|Paralympic Games}}
- {{MedalWorldChampionships}} – use {{MedalCompetition}}
- {{MedalCommonwealthGames}} – use {{MedalCompetition|Commonwealth Games}}
- {{MedalEuropeanChampionships}} – use {{MedalCompetition}}
Awards
[සංස්කරණය]{{MedalGold}}
{{MedalSilver}}
{{MedalBronze}}
{{MedalDisqualified}}
- All with the parameters:
- Year City — Year of competition and host city, linked to the appropriate article, e.g.
[[2008 Summer Olympics|2008 Beijing]]
. For multiple awards at the same event, only link the first occurance - Event — Event in which the medal was won, linked to the appropriate article, e.g.
[[Athletics at the 2000 Summer Olympics - Men's 100 metres|100 m]]
</nowiki>. Use a non-breaking space between a value and a unit.
{{MedalTrueSpirit}} – for athletes awarded with the Pierre de Coubertin medal, with the year of award as the first parameter
Footer
[සංස්කරණය]{{MedalBottom}}