Template:IOC medals/doc
Jump to navigation
Jump to search
![]() | This is a documentation subpage for Template:IOC medals. It contains usage information, categories and other content that is not part of the original template page. |
Usage
![]() | As of April 2018[update] the Olympic.org website no longer provides linkable access to its results database. Consequently this template provides less useful links than its parameters would suggest. It is not suitable for use as a reference and is of limited value as an external link. |
{{IOC medals|games=|NOC=|sport=|accessdate=}}
The former functionality was
Generates a reference (using {{cite web}}) to the International Olympic Committee's medal database on the Olympic.org website. Based on the parameters chosen, renders a link to the search results page with the selected subset of medalists.
All parameters are individually optional, although at least one is required, and multiple specified parameters will yield a more precise database search.
The current lesser functionality simply links to a base page from which results may be accessible:
- If
NOC
is specified, to the NOC base page - Otherwise
- If
sport
is specified but notgames
, to the sport base page - If
games
is specified but notsport
, to the games base page (same as {{IOC games}}) - If
sport
andgames
are both specified , to the sport page for that games
- If
Parameters
games
– specifies the Games of interest, such as "games=2008 Summer" or "games=2006 Winter", or "games=2008 Summer Olympics" or "games=2006 Winter Olympics" (provided so that IOC medals/doc can be used in main Olympic pages.NOC
– IOC country code for the National Olympic Committee of interestsport
– name of the sport of interest. The following strings are recognized:
|
|
|
|
|
accessdate
– as used by {{cite web}}
Examples
{{IOC medals|games=2008 Summer}}
- "Results and Medalists—2008 Summer". Olympic.org. International Olympic Committee.
- Base page for the 2008 Games.
{{IOC medals|games=2008 Summer|NOC=BRA}}
- "Results and Medalists—Brazil". Olympic.org. International Olympic Committee.
- Template:StrikethroughBase page for Brazil Template:Strikethrough
- As noted above, this no longer work as described. The games is ignored.
{{IOC medals|games=2006 Winter|sport=Alpine skiing}}
- "Results and Medalists—2006 Winter—Alpine skiing". Olympic.org. International Olympic Committee.
- Template:StrikethroughBase page in alpine skiing at the 2006 Games. Template:Strikethrough
{{IOC medals|NOC=KEN}}
- "Results and Medalists—Kenya". Olympic.org. International Olympic Committee.
- Template:StrikethroughBase page from Kenya, from all Games. Template:Strikethrough
{{IOC medals|sport=Triathlon}}
- "Results and Medalists—Triathlon". Olympic.org. International Olympic Committee.
- Template:StrikethroughBase page in triathlon, from all Games. Template:Strikethrough