Jump to content

Template:SR/Olympics sport at games/doc

From Wikipedia, the free encyclopedia

Usage[edit]

Template:SR/Olympics sport at games displays an external link to a page at Olympics at Sports-Reference.com, also known as SR/Olympics. It is intended for use in the external links section of an article.

The link is archived since the Sports Reference Olympic site closed on 14 May 2020. The web archive defaults to Memento Project which searches multiple sites to find an archived link. The archive date defaults to 2016 because pages archived after 4 December 2016 may display incorrect output for extended characters. A specific archive at the Wayback Machine may be specified via the |archive= parameter.

This template uses {{SR/Olympics sport at games/url}} to generate the sports-reference.com/olympics/ URL.

Examples[edit]

No parameters[edit]

Usage in Archery at the 2012 Summer Olympics:

* {{SR/Olympics sport at games}}

Output:

URL:

https://web.archive.org/web/2016/https://www.sports-reference.com/olympics/summer/2012/ARC/

sport parameter (optional)[edit]

Usage in Gliding at the 1936 Summer Olympics:

* {{SR/Olympics sport at games | sport= Aeronautics }}

Output:

URL:

https://web.archive.org/web/2016/https://www.sports-reference.com/olympics/summer/1936/AER/

archive parameter (optional)[edit]

Usage in Ski jumping at the 1988 Winter Olympics:

* {{SR/Olympics sport at games | archive= 20161118055835 }}

Output:

URL:

https://web.archive.org/web/20161118055835/https://www.sports-reference.com/olympics/winter/1988/SKJ/

See also[edit]