Template:Athletics at the Olympics/doc

From blackwiki
< Template:Athletics at the Olympics
Revision as of 11:59, 29 October 2020 by Blackwikiadmin (talk | contribs) (5 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
{{Athletics at the Olympics|_}}

{{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 Summer Olympics by year and Winter Olympics by year 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, 1, designed to accept year inputs. The sidebar's interchangeable lists are powered by the {{#switch}} parser function, through the 1 parameter.

Usage

Example

Template:Olympic events sidebar When the 1 parameter is set to 2014 like in the following code, {{Athletics at the Olympics|2014}}, 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, in the "Inputs" section.

Inputs

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: