සැකිල්ල:MedalTableTop

විකිපීඩියා, නිදහස් විශ්වකෝෂය වෙතින්
වෙත පනින්න: සංචලනය, සොයන්න
Medal record
[සංස්කරණය] [විමෝචනය] Documentation icon සැකිලි ප්‍රලේඛනය

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
Competitor for  ඕස්ට්‍රේලියාව
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.

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

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):

  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

Sub headings[සංස්කරණය]

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

Awards[සංස්කරණය]

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

Footer[සංස්කරණය]

{{MedalBottom}}


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