Template:YouthOlympicYearHeader
Appearance
! class=wikitable style="text-align: center; font-size: 95%;" ! Event || 12 || 16 || Years
Usage
[edit]This template is designed to be used on Youth Olympic-related tables. It creates the table header where the competing years of specific sport at the Summer or Winter Youth Olympics took part. Recommended to proceed with {{YouthOlympicNationRow}}.
The template code is developed so that: Cells corresponding to a sport's Olympic non-competing years appear shaded in gray;
{{YouthOlympicYearHeader|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 "Event" or "Nation".
Example
[edit]Code | Example | |||||
---|---|---|---|---|---|---|
{|
{{YouthOlympicYearHeader|season=Summer|sport=Cycling|header=Event}}
|}
|
| |||||
{|
{{YouthOlympicYearHeader|season=Winter|sport=Biathlon|header=Nation}}
|}
|
|