Template:Athletics at the Olympics/doc

Athletics 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 ' and ' navigational sidebar series. It is devoted specifically to the Olympic discipline of athletics, and features interchangeable lists of archery events at various Olympic games, from 1896 to 2020. It is composed of a single blank parameter,, designed to accept year inputs. The sidebar's interchangeable lists are powered by the  parser function, through the   parameter.

Usage
When the  parameter is set to   like in the following code, , the output results in the example seen at right, where relevant wikilinks to athletics at the 2014 Summer Youth Olympics are shown, and a formatted list of athletics 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
This template is designed as a merger and replacement for 32 predecessor navigational sidebar templates, all of which should ideally redirect to Athletics at the Olympics. They are as follows:


 * AthleticsAt1896SummerOlympics
 * AthleticsAt1900SummerOlympics
 * AthleticsAt1904SummerOlympics
 * AthleticsAt1908SummerOlympics
 * AthleticsAt1912SummerOlympics
 * AthleticsAt1920SummerOlympics
 * AthleticsAt1924SummerOlympics
 * AthleticsAt1928SummerOlympics
 * AthleticsAt1932SummerOlympics
 * AthleticsAt1936SummerOlympics
 * AthleticsAt1948SummerOlympics
 * AthleticsAt1952SummerOlympics
 * AthleticsAt1956SummerOlympics
 * AthleticsAt1960SummerOlympics
 * AthleticsAt1964SummerOlympics
 * AthleticsAt1968SummerOlympics
 * AthleticsAt1972SummerOlympics
 * AthleticsAt1976SummerOlympics
 * AthleticsAt1980SummerOlympics
 * AthleticsAt1984SummerOlympics
 * AthleticsAt1988SummerOlympics
 * AthleticsAt1992SummerOlympics
 * AthleticsAt1996SummerOlympics
 * AthleticsAt2000SummerOlympics
 * AthleticsAt2004SummerOlympics
 * AthleticsAt2008SummerOlympics
 * AthleticsAt2010SummerYouthOlympics
 * AthleticsAt2012SummerOlympics
 * AthleticsAt2014SummerYouthOlympics
 * Athletics at the 2016 Summer Olympics
 * Athletics at the 2018 Summer Youth Olympics
 * Athletics at the 2020 Summer Olympics