Jump to content

Template:YouthOlympicYearFooter/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template is designed to be used on Youth Olympic-related tables. It creates the table footer where the competing years of specific sport at the Summer or Winter Youth Olympics took part.

The template code is developed so that: Cells corresponding to a sport's Olympic non-competing years appear shaded in gray;

{{YouthOlympicYearFooter|season=|sport=|header=}}
  • season
required - string which should be either "Summer" or "Winter", according to the Games where <sport> is included on the official programme.
  • sport
required - capitalized Olympic sport for which the table is built (e.g. Archery). It is used to check for articles and create links.
  • header
The text that appears in the far-left column. Will usually be "Year".
  • close
The text that appears in the far-right column. The number of times a sport was contested.

Example

[edit]
{{YouthOlympicYearFooter|season=Summer|sport=Cycling|header=Event}}
Event 10 14 18
{{YouthOlympicYearFooter|season=Winter|sport=Biathlon|header=Nation}}
Nation 12 16