Template:Football and futsal at the Olympics/doc

Football and futsal 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 disciplines of football and futsal, and features interchangeable lists of football and futsal events at various Olympic games, from 1900 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.

Example
When the  parameter is set to   like in the following code, , the output results in the example seen at right, where relevant wikilinks to football at the 1912 Summer Olympics are shown, and a formatted list of football events at that year's Olympics are shown in a collapsible format. A full list of all available inputs for this template can be seen in the table below, in the "Inputs" section.

Succession
This template is designed as a merger and replacement for thirteen predecessor navigational sidebar templates, all of which should ideally redirect to Football and futsal at the Olympics. They are as follows:


 * FootballAt1912SummerOlympics
 * FootballAt1920SummerOlympics
 * FootballAt1988SummerOlympics
 * FootballAt1996SummerOlympics
 * FootballAt2000SummerOlympics
 * FootballAt2004SummerOlympics
 * FootballAt2008SummerOlympics
 * FootballAt2010SummerYouthOlympics
 * FootballAt2012SummerOlympics
 * FootballAt2016SummerOlympics
 * Football at the 2014 Summer Youth Olympics
 * Football at the 2020 Summer Olympics
 * Futsal at the 2018 Summer Youth Olympics