الگو:MedalCompetition

الگو به طور دائم حفاظت‌شده است
از ویکی‌پدیا، دانشنامهٔ آزاد
{{{1}}}
توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

The Medal infobox series of templates allow editors to list an athlete or sportsperson's major medals at the top of their respective biography article, alongside the lead section.

کاربرد

The medal infobox consists of two templates:

  • {{MedalTableTop}} – for starting the table (image optional)
  • {{Medal}} – for the several elements within the table

A further template ({{MedalBox}}) is used for listing medals in the middle of the main article text.

پارامترها

بالای جدول مدال

مایکل جانسن
Alternative text here
جانسن در ورزشگاه المپیک لندن
سوابق مدال
دو و میدانی مردان
به نمایندگی از  ایالات متحده آمریکا
کاربرد ابتدایی
{{بالای جدول مدال|image=|imagesize=|alt=|caption=|name=|sport=|country_code=|medals=}}
  • image This give you the option to place a headline image in the infobox. Use just the file name and extension, excluding the namespace prefix, for example: MyImage.jpg not پرونده:MyImage.jpg.
  • imagesize This adjusts the size of the image and must consist of a number followed by "px" (e.g. 150px). The default is 100px. Sizes over 200px are no recommended for typical usage.
  • alt This provides a description of the image for accessibility users or those using weak connections
  • caption This adds a short description to describe the image. Try to be brief, using just a few words.
  • name This option adjusts the title that appears at the top of the box. This should typically be the athlete's common name. By default it will display the article title without the disambiguator, for example on مایکل جانسون "Michael Johnson" will appear by default. To deactivate the title enter no in the field.
  • header This optional field can be used to change the text in the opening "Medal record" section. This is useful when the template appears in a section of an article. See مایکل فلپس for a working example.
  • sport This option includes the athlete's sport (e.g. Men's شنا) in the first line of the medal record. This replaces the need for {{Medal|Sport}} when an athlete has medalled in only one sport. In cases where an athlete has competed in multiple sports, it is still possible to use the {{Medal|Sport}} template usage to list the different sports.
  • country_code This option uses the country code (e.g. USA = United States, CHN = China, GBR2 = Great Britain) to generate the country that the athlete represents in the second line of the medal record. This replaces the need for {{Medal|Country}} when an athlete has competed for only one country. In cases where an athlete has represented multiple countries, it is still possible to use the {{Medal|Country}} template usage to list the different countries.
  • medals This is the only compulsory field as this is used to place medals and descriptions within the infobox through the {{Medal}} template. To work correctly it must be the last field in the main template.

مدال

no
سوابق مدال
دو و میدانی مردان
به نمایندگی از  ایالات متحده آمریکا
بازی‌های المپیک
مدال طلا – جایگاه اول 2012 TEST 100 m
مدال نقره – جایگاه دوم 2012 TEST 100 m
مدال برنز – جایگاه سوم 2012 TEST 100 m
برنده 2012 TEST 100 m
نایب‌قهرمان 2012 TEST 100 m
جایگاه دوم 2012 TEST 100 m
جایگاه سوم 2012 TEST 100 m
مسابقات حذفی 2012 TEST 100 m
سلب صلاحیت 2012 TEST 100 m
بابسلد مردان
به نمایندگی از  جامائیکا
مسابقات قهرمانی بابسلد جهان
سلب صلاحیت 2013 TEST Bobsled

The Medal template is a multi-purpose one which allows for all varieties of entries within the medal table.

کاربرد ابتدایی
{{Medal|TYPE|FIELD1|FIELD2}}

There are four major types:

  • Competition This states the general competition at which the following medals were achieved (e.g. بازی‌های المپیک, مسابقات شنا پان پاسیفیک)
  • Medal performances: There are ten types of medal performances. These contain two separate fields for the year of the competition and its location (e.g. ۲۰۰۸ پکن, 2010 دهلی) and the medalling event or category (e.g. pole vault, 56 ک‌گ, 50 m freestyle). The medal types are (with shortcut in brackets):
    • Gold (G)
    • Silver (S)
    • Bronze (B)
    • Winner (W)
    • Runnerup (RU)
    • Second (2nd)
    • Third (3rd)
    • Playoffs (PO)
    • Disqualified (DQ)
no
سوابق مدال
مدال پیر دو کوبرتن 2012

The final type (TrueSpirit) is used for the Pierre de Coubertin medal. This has only one extra field for the year it was awarded.

no
سوابق مدال
سلب صلاحیت 2012 TEST ۱۰۰ متر[۱]

For the disqualified medal template, it is possible to create a reference directly after the template to explain the reason for disqualification. This can be particularly useful in the case of relay runners disqualified through no fault of their own, due to doping by team mates for example.

  1. Reason for disqualification
کشورها/ورزش‌های چندگانه

Where an athlete has competed for multiple countries or in multiple sports it will be necessary to use the Country or Sport Medal types, in addition to the main sport and country_code listings in the MedalTableTop template

  • Country This is usually the first section showing the person's relevant country (or team). Enter the country's three letter code in curly brackets (e.g. {{CHN}} ), including "the" where appropriate (e.g. the {{USA}} ). In rare cases the correct input may be something else (e.g. a team name). Independent is used for independent athletes.
  • Sport This states the sport that the athlete is competing in (e.g. Women's شنا)

جعبه مدال

مدال‌های بین‌المللی
هاکی روی یخ مردان
به نمایندگی از  کانادا
قهرمانی جهان
مدال نقره – جایگاه دوم ۱۹۸۹ سوئد هاکی روی یخ

The MedalBox template has a similar output to the MedalTableTop template, but it is specifically designed for non-infobox usages (i.e. mid-article boxes).

کاربرد ابتدایی
{{MedalBox|color=|title=|sport=|country=|medals=}}
  • color This option changes the color of the box header. If omitted, the default is light grey.
  • title This parameter allows you to customise the box title. If omitted, the default is "Medal record".
  • sport This displays the athlete's primary sport (e.g. "Men's ice hockey"). This option supersedes the "Medal|Sport" template function.
  • country This displays the athlete's primary country or team (e.g. "{{CAN}}"). This option supersedes the "Medal|Country" template function.
  • medals This is the only compulsory field as this is used to place medals and descriptions within the box through the {{Medal}} template. To work correctly it must be the last field in the main template.

Examples

For competitors who have competed in the same sport for the same country, the templates should be ordered Sport, Country, Competition1, Award, Competition2, Award and so on.

{{بالای جدول مدال|image=|imagesize=150px|alt=Alt text for image|name=نام ورزشکار
|sport=[[دو و میدانی]] مردان|country_code=AUS|medals=
{{Medal|Competition|[[بازی‌های المپیک]]}}
{{Medal|Gold|[[بازی‌های المپیک تابستانی ۲۰۰۰|۲۰۰۰ سیدنی]] | [[Athletics at the 2000 Summer Olympics – Men's 100 metres|۱۰۰ متر]] }}
{{Medal|Competition|[[بازی‌های اتحادیه کشورهای مشترک‌المنافع]]}}
{{Medal|Silver|[[2006 Commonwealth Games|۲۰۰۶ ملبورن]] | [[Athletics at the 2006 Commonwealth Games|۲۰۰ متر]] }}
{{Medal|Bronze|۲۰۰۶ ملبورن | 400 متر }}
}}
Athlete name
سوابق مدال
دو و میدانی مردان
به نمایندگی از  استرالیا
بازی‌های المپیک
مدال طلا – جایگاه اول ۲۰۰۰ سیدنی ۱۰۰ متر
کشورهای همسود
مدال نقره – جایگاه دوم ۲۰۰۶ ملبورن ۲۰۰ متر
مدال برنز – جایگاه سوم ۲۰۰۶ ملبرون ۴۰۰ متر
Example: Competitor who has won medals in different sports, competing for the same country
MedalCompetition
سوابق مدال
به نمایندگی از  بریتانیای کبیر
روئینگ زنان
بازی‌های المپیک
مدال نقره – جایگاه دوم ۲۰۰۴ آتن Quadruple sculls
دوچرخه‌سواری پیست زنان
Olympic Games
مدال طلا – جایگاه اول ۲۰۰۸ پکن تعقیبی انفردادی
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
MedalCompetition
سوابق مدال
بدمینتون زنان
بازی‌های المپیک
به نمایندگی از  اندونزی
مدال نقره – جایگاه دوم ۱۹۹۶ آتم تک‌نفره
به نمایندگی از the  هلند
مدال نقره – جایگاه دوم ۲۰۰۴ آتن تک‌نفره

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.

MedalCompetition
سوابق مدال
Women's بدمینتون
به نمایندگی از  دانمارک
بازی‌های المپیک
مدال نقره – جایگاه دوم 1996 آتلانتا تک‌نفره
قهرمانی اروپا
مدال برنز – جایگاه سوم ۲۰۰۲ مالمو تک‌نفره
به نمایندگی از  سوئد
بازی‌های المپیک
مدال نقره – جایگاه دوم ۲۰۰۴ آتن تک‌نفره
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.

جعبه مدال

Here is a basic demonstration of the MedalBox template usage:

{{MedalBox|title=مدال‌های بین‌المللی|sport=[[هاکی روی یخ]] مردان|country={{ih|CAN}}|medals=
{{Medal|Competition|[[World Junior Ice Hockey Championships|قهرمانی نوجوانان جهان]]}}
{{Medal|Gold|[[2005 World Junior Ice Hockey Championships|2005 Grand Forks]]|}}
{{Medal|Silver|[[2004 World Junior Ice Hockey Championships|۲۰۰۴ هلسینکی]]|}}
{{Medal|Competition|[[IIHF World U18 Championships|World Junior U18 Championships]]}}
{{Medal|Gold|[[2003 IIHF World U18 Championships|۲۰۰۳ یاروسلاول]]|}}
{{Medal|Competition|[[Ivan Hlinka Memorial Tournament|جام هشت کشور]]}}
{{Medal|Gold|[[2002 Ivan Hlinka Memorial Tournament|2002 اسلواکی]]|}}
}}
مدال‌های بین‌المللی
هاکی روی یخ مردان
به نمایندگی از  کانادا
قهرمانی نوجوانان جهان
مدال طلا – جایگاه اول 2005 Grand Forks
مدال نقره – جایگاه دوم ۲۰۰۴ هلسینکی
World Junior U18 Championships
مدال طلا – جایگاه اول ۲۰۰۳ یاروسلاول
جام هشت کشور
مدال طلا – جایگاه اول 2002 اسلواکی

الگوی تاریخی

Deprecated TableTop templates
{{MedalTop}} and {{MedalTopPic}} – use {{MedalTableTop}} with {{Medal|Competition|بازی‌های المپیک}}
{{MedalTop3}} – (for Paralympic Games) use {{MedalTableTop}}
{{MedalTableTopPic}} – use {{MedalTableTop}} with the same parameters
Deprecated Competition templates
{{MedalOlympic}} – use {{Medal|Competition|بازی‌های المپیک}}
{{MedalParalympic}} – use {{Medal|Competition|بازی‌های پارالمپیک}}
{{MedalWorldChampionships}} – use {{Medal|Competition|World Championships}}
{{MedalEuropeanChampionships}} – use {{Medal|Competition|European Championships}}
Deprecated Medal templates

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

For competitions differing from Gold, Silver and Bronze terminology {{MedalW}}
{{MedalRU}}

Deprecated closing template

{{MedalBottom}} - table now automatically closes by using the |medals= parameter and moving two curly brackets to the end of the templates.