Jump to content

සැකිල්ල:MedalRelatedTemplates

විකිපීඩියා වෙතින්

This template is a documentation page for the several medal record series of partial-task infobox building templates.

  • Put together in the correct order, the templates integrate into a functional wikitable modeled on other wikipedia infoboxes.

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}}


Example: Competitor who has won medals in different sports, competing for the same country
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.

Example: Competitor who has won medals in the same sport, competing for different countries
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.

[සංස්කරණය]

The following templates should be used to construct a medal record table.

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

  1. Image name without 'Image:'.
  2. Image size. Default value: 100px.
  3. 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

{{MedalCountry}} – with the parameter:

  1. Appropriate template from Wikipedia:Inline templates linking country articles as the first parameter, using the when required

{{MedalSport}} – with the parameter:

  1. Gender sport, or SportMen'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:

  1. 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}}

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

All with the parameters:
  1. 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
  2. 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&nbsp;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

{{MedalBottom}}


"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:MedalRelatedTemplates&oldid=273716" වෙතින් සම්ප්‍රවේශනය කෙරිණි