வார்ப்புரு:பதக்கம் தொடர்பான வார்ப்புருக்கள்
{{documentation subpage
 | text1 = This is a [[Wikipedia:Template documentation|documentation]] page for [[Template:MedalTableTop]] and the associated medal record series of templates.
 | text2 = It contains usage information, [[Wikipedia:Categorization|categories]] and other content that is not part of the original template pages.
 }}
 
 This template is part of the medal record series of templates for building a medal record table.
 
 === 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.
 &lt;pre&gt;
 {{MedalTableTop|Example.jpg|150px|alt=Alt text for image|Athlete name}}
 {{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&amp;amp;nbsp;m]] }}
 {{MedalCompetition|[[Commonwealth Games]]}}
 {{MedalSilver | [[2006 Commonwealth Games|2006 Melbourne]] | 
    [[Athletics at the 2006 Commonwealth Games|200&amp;amp;nbsp;m]] }}
 {{MedalBronze | 2006 Melbourne | 400&amp;amp;nbsp;m }}
 {{MedalBottom}}
 &lt;/pre&gt;
 {{MedalTableTop|Example.jpg|150px|alt=Alt text for image|Athlete name}}
 {{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&amp;amp;nbsp;m]] }}
 {{MedalCompetition|[[Commonwealth Games]]}}
 {{MedalSilver | [[2006 Commonwealth Games|2006 Melbourne]] | [[Athletics at the 2006 Commonwealth Games|200&amp;amp;nbsp;m]] }}
 {{MedalBronze | 2006 Melbourne | 400&amp;amp;nbsp;m }}
 {{MedalBottom}}
 {{-}}
 {{hidden begin
 | title      = Examples: Competitor who has won medals in different sports, competing for the same country
 | titlestyle = background: #B0C4DE; border: 1px solid #B0C4DE; text-align:center;
 | bodystyle  = background: #F9F9F9; padding: 0.5em 1em 0em 1em; border: 1px solid #B0C4DE;
 }}
 {{MedalTableTop}}
 {{MedalCountry|{{GBR2}}}}
 {{MedalSport | Women's [[Rowing (sport)|rowing]]}}
 {{MedalCompetition|[[Olympic Games]]}}
 {{MedalSilver  | [[2004 Summer Olympics|2004 Athens]] | [[Rowing at the 2004 Summer Olympics - Women's quadruple sculls|Quadruple sculls]]}}
 {{MedalSport | Women's [[track cycling]]}}
 {{MedalCompetition|Olympic Games}}
 {{MedalGold | [[2008 Summer Olympics|2008 Beijing]] | [[Cycling at the 2008 Summer Olympics - Women's individual pursuit|Individual pursuit]]}}
 {{MedalBottom}}
 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]].&lt;br clear=&quot;all&quot; /&gt;
 {{hidden end}}
 
 {{hidden begin
 | title = Example: Competitor who has won medals in the same sport, competing for different countries
 | titlestyle = background: #B0C4DE; border: 1px solid #B0C4DE; text-align:center;
 | bodystyle  = background: #F9F9F9; padding: 0.5em 1em 0em 1em; border: 1px solid #B0C4DE;
 }}
 {{MedalTableTop}}
 {{MedalSport | Women’s [[badminton]]}}
 {{MedalCompetition|[[Olympic Games]]}}
 {{MedalCountry | {{INA}}}}
 {{MedalSilver| [[1996 Summer Olympics | 1996 Atlanta]] | [[Badminton at the 1996 Summer Olympics|Singles]]}}
 {{MedalCountry | the {{NED}}}}
 {{MedalSilver| [[2004 Summer Olympics | 2004 Athens]] | [[Badminton at the 2004 Summer Olympics - Women's singles|Singles]]}}
 {{MedalBottom}}
 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]].
 &lt;br clear=&quot;all&quot; /&gt;
 {{MedalTableTop}}
 {{MedalSport | Women’s [[badminton]]}}
 {{MedalCountry | {{DEN}}}}
 {{MedalCompetition|[[Olympic Games]]}}
 {{MedalSilver| [[1996 Summer Olympics | 1996 Atlanta]] | [[Badminton at the 1996 Summer Olympics|Singles]]}}
 {{MedalCompetition|[[European Badminton Championships|European Championships]]}}
 {{MedalBronze| [[2002 European Badminton Championships|2002 Malmö]] | Singles }}
 {{MedalCountry | {{SWE}}}}
 {{MedalCompetition|[[Olympic Games]]}}
 {{MedalSilver| [[2004 Summer Olympics | 2004 Athens]] | [[Badminton at the 2004 Summer Olympics - Women's singles|Singles]]}}
 {{MedalBottom}}
 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.&lt;br clear=&quot;all&quot; /&gt;
 {{hidden end}}
 
 === Related templates and usage ===
 The following templates should be used to construct a medal record table.
 
 ==== Heading ====
 
 {{tlx|MedalTableTop}} – with the optional image parameters (see example above):
 # Image name without the 'Image:' or 'File:' prefix.
 # Image size. Default value: 100px.
 # Caption. This should always be the name of the competitor, with a description of the image if appropriate.&lt;!--Default value: &lt;nowiki&gt;{{PAGENAME}}&lt;/nowiki&gt; which looks odd if a 'no free image available' image is used, so a caption should always be specified--&gt;
 The &lt;code&gt;alt=''Alt text''&lt;/code&gt; parameter contains a description of the image's visual appearance, for visually impaired readers; see [[WP:ALT]]. It should be specified if the image is specified.
 
 Deprecated templates:
 :{{tlx|MedalTop}} and {{tlx|MedalTopPic}} – use {{tlx|MedalTableTop}} with {{tlx|MedalCompetition|[[Olympic Games]]}}
 :{{tlx|MedalTableTopPic}} – use {{tlx|MedalTableTop}} with the same parameters
 
 ==== Sub headings ====
 
 {{tlx|MedalCountry}} – with the parameter:
 # Appropriate template from [[Wikipedia:Inline templates linking country articles]] as the first parameter, using ''the'' when required&lt;br /&gt;
 {{tlx|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. &lt;code&gt;&lt;nowiki&gt;Men's [[Athletics (track and field)|athletics]]&lt;/nowiki&gt;&lt;/code&gt;, &lt;code&gt;&lt;nowiki&gt;Women's [[Rowing (sport)|rowing]]&lt;/nowiki&gt;&lt;/code&gt;. For mixed gender sports, link to the sport only&lt;br /&gt;
 {{tlx|MedalCompetition}} – with the parameter:
 # Link to the competition article, e.g. &lt;code&gt;&lt;nowiki&gt;[[Olympic Games]]&lt;/nowiki&gt;&lt;/code&gt;, &lt;code&gt;&lt;nowiki&gt;[[Commonwealth Games]]&lt;/nowiki&gt;&lt;/code&gt;&lt;br /&gt;
 
 Depreciated templates:
 :{{tlx|MedalOlympic}} – use {{tlx|MedalCompetition|[[Olympic Games]]}}
 :{{tlx|MedalParalympic}} – use {{tlx|MedalCompetition|[[Paralympic Games]]}}
 :{{tlx|MedalWorldChampionships}} – use {{tlx|MedalCompetition}}
 :{{tlx|MedalCommonwealthGames}} – use {{tlx|MedalCompetition|[[Commonwealth Games]]}}
 :{{tlx|MedalEuropeanChampionships}} – use {{tlx|MedalCompetition}}
 
 ==== Awards ====
 
 {{tlx|MedalGold}}&lt;br /&gt;
 {{tlx|MedalSilver}}&lt;br /&gt;
 {{tlx|MedalBronze}}&lt;br /&gt;
 {{tlx|MedalDisqualified}}&lt;br /&gt;
 :All with the parameters:
 # ''Year City'' — Year of competition and host city, linked to the appropriate article, e.g. &lt;code&gt;&lt;nowiki&gt;[[2008 Summer Olympics|2008 Beijing]]&lt;/nowiki&gt;&lt;/code&gt;. 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. &lt;code&gt;&lt;nowiki&gt;[[Athletics at the 2000 Summer Olympics - Men's 100 metres|100&amp;amp;nbsp;m]]&lt;/nowiki&gt;&lt;/code&gt;. Use a [[non-breaking space]] between a value and a unit.
 
 {{tlx|MedalTrueSpirit}} – for athletes awarded with the [[Pierre de Coubertin medal]], with the year of award as the first parameter&lt;br /&gt;
 
 ==== Footer ====
 {{tlx|MedalBottom}}
 
 &lt;noinclude&gt;
 [[Category:Medal infobox templates|{{PAGENAME}}]]