Jump to content

Template:SR/Olympics country at games/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Template:SR/Olympics country 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 country at games/url}} to generate the sports-reference.com/olympics/ URL.

Examples

[edit]

No parameters

[edit]

Usage in Australia at the 2012 Summer Olympics:

* {{SR/Olympics country at games}}

Output:

URL:

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

country parameter (optional)

[edit]

Usage in Ivory Coast at the 1996 Summer Olympics:

* {{SR/Olympics country at games | country= Cote d'Ivoire }}

Output:

URL:

https://web.archive.org/web/2016/https://www.sports-reference.com/olympics/countries/CIV/summer/1996/

archive parameter (optional)

[edit]

Usage in Norway at the 1988 Winter Olympics:

* {{SR/Olympics country at games | archive= 20160624111226 }}

Output:

URL:

https://web.archive.org/web/20160624111226/https://www.sports-reference.com/olympics/countries/NOR/winter/1988/

See also

[edit]