ଛାଞ୍ଚ:OlympicEvent/doc

ଉଇକିପିଡ଼ିଆ‌ରୁ

Usage[ସମ୍ପାଦନା]

{{OlympicEvent|event|games}}

This template is used to link to articles about Olympic events.

  • event - the name of the sport.
  • games - <year> Summer or <year> Winter to link to an event in specific games. Summer or Winter to link to an overview of a sport's history in the Olympics.

Optional parameters:

  • image - adding an image of the event (f.e. ).
  • subcategory - add in case you want to link to a subcategory page (f.e. Tennis at the 2008 Summer Olympics – Men's singles).
  • title - changing the written text ([[event at the XXXX Olympics|title]]). If not filled, the title will be event or event - subcategory.
  • number - number of subcategories in this event..
  • paralympic - if yes, the template will link to a Paralympic event.

Examples:

  • {{OlympicEvent|Athletics|Summer}} → [[Athletics at the Summer Olympics|Athletics]] → Athletics
  • {{OlympicEvent|Swimming|2004 Summer|image=Yes}} → [[Image:Swimming pictogram.svg|20px]] [[Swimming at the 2004 Summer Olympics|Swimming]] →  Swimming
  • {{OlympicEvent|Speed skating|2006 Winter|number=10|title=Turin}} → [[Speed skating at the 2006 Winter Olympics|Turin]] (10) → Turin (10)
  • {{OlympicEvent|Wheelchair tennis|2008 Summer|subcategory=Men's doubles|paralympic=yes|image=yes}} → [[Image:Wheelchair_tennis_-_Paralympic_pictogram.svg]] [[Wheelchair tennis at the 2008 Summer Paralympics – Men's doubles|Wheelchair tennis – Men's doubles]] →  Wheelchair tennis - Men's doubles