الگو:Infobox Olympic event

از ویکی‌پدیا، دانشنامهٔ آزاد
پرش به ناوبری پرش به جستجو
توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

Usage[ویرایش]

{{{event}}}
در بازی‌های المپیک
[[File:{{{image}}}|frameless]]
{{{caption}}}
محل‌های برگزاری{{{venues}}}
محل برگزاری{{{venue}}}
تاریخ{{{dates}}}
تاریخ{{{date}}}
تعداد رویدادها{{{num_events}}}
رقابت‌کنندگان{{{competitors}}} از {{{nations}}} کشور
{{{team_descriptor}}}{{{teams}}}
زمان قهرمانی{{{win_value}}}
مدال‌آوران
1 {{{gold}}}
1 {{{gold2}}}
1 {{{gold3}}}
2 {{{silver}}}
2 {{{silver2}}}
2 {{{silver3}}}
3 {{{bronze}}}
3 {{{bronze2}}}
3 {{{bronze3}}}
← {{{next}}}
{{{prev}}} →
{{Infobox Olympic event
| event = 
| games = 
| image = 
| caption = 
| venue = <!-- or: venues -->
| date = <!-- or: dates, use {{تاریخ آغاز|YYYY|MM|DD}} -->
| num_events = 
| competitors = 
| nations = 
| teams = 
| win_value = 
| gold = 
| goldNOC = 
| gold2 = 
| goldNOC2 = 
| gold3 = 
| goldNOC3 = 
| silver = 
| silverNOC = 
| silver2 = 
| silverNOC2 = 
| silver3 = 
| silverNOC3 = 
| bronze = 
| bronzeNOC = 
| bronze2 = 
| bronzeNOC2 = 
| bronze3 = 
| bronzeNOC3 = 
| prev = 
| next = 
}}

Parameters[ویرایش]

event 
Required for infobox title
games 
String such as 2008 Summer or 2006 Winter, for example
image 
(Optional) image filename only
image_size 
(Optional) defaults to 220px
alt 
(Optional) alt text, see ویکی‌پدیا:متن جایگزین برای تصاویر for more
caption 
(Optional) displays under the image
venue or venues 
Required
num_events 
(Optional) total number of competitions for one "event" such as Alpine skiing
date or dates 
Required, date(s) of the competition. Use {{Start date}} (and {{End date}}) for the first (and last), over multiple lines if necessary.
competitors 
(Optional) total number of competitors for individual events
nations 
(Optional) total number of unique nations represented in this event
teams 
(Optional) number of teams in the tournament for team sports
win_value 
(Optional) winning time or score. Use win_label = Winning score to change the label from Winning time to Winning score, for example.
gold, silver, bronze 
Athlete name or team name. Use gold = {{FlagIOCteam|CHN|2008 Summer}} (for example) for a team name, instead of giving a full list of athletes. For duos and small teams, separate entries with {{Plainlist}}
goldNOC, silverNOC, bronzeNOC 
(Optional) فهرست کدهای کمیته بین‌المللی المپیک for the gold medal winner. Do not specify this if the gold parameter specifies a team name instead of an individual name.
gold2 and goldNOC2 
As for gold and goldNOC, but used for situations where there is a tie for first place and two gold medals are awarded (The template currently supports up to three of each medal type.).
prev 
Link to article on the same event/sport from the previous edition of the Olympic Games
next 
Link to article on the same event/sport from the following edition of the Olympic Games

Example[ویرایش]

Men's 400 metre individual medley
در بیست و نهمین دوره بازی‌های المپیک
Michael Phelps Ryan Lochte Laszlo Cseh medals 2008 Olympics.jpg
Medal winners
محل برگزاریمرکز ملی ورزش‌های آبی پکن
تاریخ۹ اوت ۲۰۰۸ (۲۰۰۸-08-۰۹) (heats)
۱۰ اوت ۲۰۰۸ (۲۰۰۸-08-۱۰) (final)
رقابت‌کنندگان29 از 22 کشور
مدال‌آوران
1 مایکل فلپس پرچم ایالات متحده آمریکاایالات متحده آمریکا
2 لاسلو چه پرچم مجارستانمجارستان
3 رایان لاکتی پرچم ایالات متحده آمریکاایالات متحده آمریکا
← 2012
2004 →
{{Infobox Olympic event
| event = Men's 400 metre individual medley
| games = 2008 Summer
| image = Michael Phelps Ryan Lochte Laszlo Cseh medals 2008 Olympics.jpg
| image_size = 240px
| caption = Medal winners
| venue = [[مرکز ملی ورزش‌های آبی پکن]]
| dates = {{تاریخ آغاز|2008|08|09}} (heats)<br/>{{تاریخ پایان|2008|08|10}} (final)
| competitors = 29
| nations = 22
| gold = [[مایکل فلپس]]
| goldNOC = USA
| silver = [[لاسلو چه]]
| silverNOC = HUN
| bronze = [[رایان لاکتی]]
| bronzeNOC = USA
| prev = [[Swimming at the 2004 Summer Olympics – Men's 400 metre individual medley|2004]]
| next = [[Swimming at the 2012 Summer Olympics – Men's 400 metre individual medley|2012]]
}}

Microformat[ویرایش]

The HTML mark up produced by this template includes an hCalendar microformat, which makes the event details تجزیه‌کننده by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary application. For more information about the use of microformats on Wikipedia, please see the microformat project.

Dates will only appear if you use {{Start date}} or {{End date}} (use the former for single dates).

hCalendar uses HTML classes including:

  • "dtend"
  • "dtstart"
  • "location"
  • "summary"
  • "vevent"


Tracking categories[ویرایش]

See also[ویرایش]

Supporting template
Similar templates