Jump to content

Template:Swimming at the Olympics/doc

From Wikipedia, the free encyclopedia
{{Swimming at the Olympics|_}}

{{Swimming at the Olympics}} is a sub-template of {{Olympic events sidebar}}, a series of navigational sidebars for articles on Olympic disciplines, designed to replace the aged Summer Olympics by year and Winter Olympics by year navigational sidebar series. It is devoted specifically to the Olympic discipline of swimming, and features interchangeable lists of archery events at various Olympic games, from 1896 to 2020. It is composed of a single blank parameter, 1, designed to accept year inputs. The sidebar's interchangeable lists are powered by the {{#switch}} parser function, through the 1 parameter.

Usage

[edit]

When the 1 parameter is set to 2014 like in the following code, {{Swimming at the Olympics|2014}}, the output results in the example seen at right, where relevant wikilinks to swimming at the 2014 Summer Youth Olympics are shown, and a formatted list of swimming events at that year's Youth Olympics are shown in a collapsible format. A full list of all available inputs for this template can be seen in the table below.

Inputs
Inputs Description
1896 Swimming at the 1896 Summer Olympics
1900 Swimming at the 1900 Summer Olympics
1904 Swimming at the 1904 Summer Olympics
1908 Swimming at the 1908 Summer Olympics
1912 Swimming at the 1912 Summer Olympics
1920 Swimming at the 1920 Summer Olympics
1924 Swimming at the 1924 Summer Olympics
1928 Swimming at the 1928 Summer Olympics
1932 Swimming at the 1932 Summer Olympics
1936 Swimming at the 1936 Summer Olympics
1948 Swimming at the 1948 Summer Olympics
1952 Swimming at the 1952 Summer Olympics
1956 Swimming at the 1956 Summer Olympics
1960 Swimming at the 1960 Summer Olympics
1964 Swimming at the 1964 Summer Olympics
1968 Swimming at the 1968 Summer Olympics
1972 Swimming at the 1972 Summer Olympics
1976 Swimming at the 1976 Summer Olympics
1980 Swimming at the 1980 Summer Olympics
1984 Swimming at the 1984 Summer Olympics
1988 Swimming at the 1988 Summer Olympics
1992 Swimming at the 1992 Summer Olympics
1996 Swimming at the 1996 Summer Olympics
2000 Swimming at the 2000 Summer Olympics
2004 Swimming at the 2004 Summer Olympics
2008 Swimming at the 2008 Summer Olympics
2010 Swimming at the 2010 Summer Youth Olympics
2012 Swimming at the 2012 Summer Olympics
2014 Swimming at the 2014 Summer Youth Olympics
2016 Swimming at the 2016 Summer Olympics
2018 Swimming at the 2018 Summer Youth Olympics
2020 Swimming at the 2020 Summer Olympics

Succession

[edit]

This template is designed as a merger and replacement for 31 predecessor navigational sidebar templates, all of which should ideally redirect to {{Swimming at the Olympics}}. They are as follows: