Template:Swimming at the Olympics
![]() ![]() ![]() |
Part of a series on |
Swimming at the Olympics |
{{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]![]() ![]() ![]() |
Part of a series on |
Swimming at the 2014 Summer Youth Olympics |
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.
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:
- {{SwimmingAt1896SummerOlympics}}
- {{SwimmingAt1900SummerOlympics}}
- {{SwimmingAt1904SummerOlympics}}
- {{SwimmingAt1908SummerOlympics}}
- {{SwimmingAt1912SummerOlympics}}
- {{SwimmingAt1920SummerOlympics}}
- {{SwimmingAt1924SummerOlympics}}
- {{SwimmingAt1928SummerOlympics}}
- {{SwimmingAt1932SummerOlympics}}
- {{SwimmingAt1936SummerOlympics}}
- {{SwimmingAt1948SummerOlympics}}
- {{SwimmingAt1952SummerOlympics}}
- {{SwimmingAt1956SummerOlympics}}
- {{SwimmingAt1960SummerOlympics}}
- {{SwimmingAt1964SummerOlympics}}
- {{SwimmingAt1968SummerOlympics}}
- {{SwimmingAt1972SummerOlympics}}
- {{SwimmingAt1976SummerOlympics}}
- {{SwimmingAt1980SummerOlympics}}
- {{SwimmingAt1984SummerOlympics}}
- {{SwimmingAt1988SummerOlympics}}
- {{SwimmingAt1992SummerOlympics}}
- {{SwimmingAt1996SummerOlympics}}
- {{SwimmingAt2000SummerOlympics}}
- {{SwimmingAt2004SummerOlympics}}
- {{SwimmingAt2008SummerOlympics}}
- {{SwimmingAt2010SummerYouthOlympics}}
- {{SwimmingAt2012SummerOlympics}}
- {{SwimmingAt2016SummerOlympics}}
- {{Swimming at the 2014 Summer Youth Olympics}}
- {{Swimming at the 2020 Summer Olympics}}