Template:OlympicEvent/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:OlympicEvent. It may contain usage information, categories and other content that is not part of the original template page. |
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
orWinter
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}}
→ [[File: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}}
→ [[File: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