Difference between revisions of "Template:Badminton at the Olympics/doc"
imported>PhilipTerryGraham (Removed all reference to the "2" width parameter as it is no loner in use) |
imported>PhilipTerryGraham m (PhilipTerryGraham moved page Template:Olympic events sidebar/Badminton/doc to Template:Badminton at the Olympics/doc: New naming scheme) |
(No difference)
|
Revision as of 06:48, 18 July 2018
![]() | This is a documentation subpage for Template:Badminton at the Olympics. It contains usage information, categories and other content that is not part of the original template page. |
{{Olympic events sidebar/Badminton|_|_}}
{{Olympic events sidebar/Badminton}} 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 Badminton, and features interchangeable lists of Badminton events at various Olympic games, from 1992 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.
Contents
Usage
Example
Template:Olympic events sidebar/Badminton
When the 1
parameter is set to 2008
like in the following code, {{Olympic events sidebar/Badminton|2008}}
, the output results in the example seen at right, where relevant wikilinks to Badminton at the 2008 Summer Olympics are shown, and a formatted list of Badminton 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.
Parameters
Succession
This template is designed as a merger and replacement for ten predecessor navigational sidebar templates, all of which should ideally redirect to {{Olympic events sidebar/Badminton}}. They are as follows: