Template:Year in South Africa/doc

This template displays a navigation box for use in articles in the Timeline of South African history series.

It also adds appropriate categories according to standardised rules. If there is a matching category for YYYY in South Africa, it puts the page in it; otherwise it uses the categories YYYY in Africa and the decade in South Africa.

Date-appropriate flags are displayed from 1800 onwards.

If a standard-titled sport page is found, a link to it is created. It is further possible to tell it where to find a non-standard-title sport page.

Usage

 * Include the template in the first line of the article.
 * Do not subst the template.


 * Syntax :
 * year[|Sport=sportpage]


 * The year should generally be a year AD, though it can also be one of a given set of decades, centuries, and even two longer time-periods.
 * sportpage is not normally necessary (as the template knows about standard-titled sport pages) but useful for non-standard-titled sport pages covering sport for the given year (see examples).

Examples

 * This year has an associated "Year in South African sport" page.
 * This year has an associated "Year in South African sport" page.


 * This year has an associated sport page with non-standard title.
 * This year has an associated sport page with non-standard title.

To Do

 * If called from a "Year in South African sport" page, an appropriate menu should be added, and also a link to the Timeline of South African sport page.
 * If called from a "Year in South African sport" page, an appropriate menu should be added, and also a link to the Timeline of South African sport page.