Template:IOC medals
外观
Results and Medalists. Olympic.org. International Olympic Committee.
Usage
[编辑]{{IOC medals|games=|NOC=|sport=|accessdate=}}
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.
Parameters
[编辑]All parameters are individually optional, although at least one is required, and multiple specified parameters will yield a more precise database search.
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 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|NOC=BRA}}
- Results and Medalists. Olympic.org. International Olympic Committee.
- All medalists for Brazil at the 2008 Games. Suitable as a reference on the Brazil at the 2008 Summer Olympics article.
{{IOC medals|games=2006 Winter|sport=Alpine skiing}}
- Results and Medalists. Olympic.org. International Olympic Committee.
- All medalists in alpine skiing at the 2006 Games. Suitable as a reference on the Alpine skiing at the 2006 Winter Olympics article.
{{IOC medals|NOC=KEN}}
- Results and Medalists. Olympic.org. International Olympic Committee.
- All medalists from Kenya, from all Games. Suitable as a reference on the Kenya at the Olympics article.
{{IOC medals|sport=Triathlon}}
- Results and Medalists. Olympic.org. International Olympic Committee.
- All medalists in triathlon, from all Games. Suitable as a reference on the Triathlon at the Olympics article.