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.
 * Note: I have tried following the existing Category-conventions I have found in the articles without thinking about whether or not they comply with policy. If you disagree with them, and feel a bit uncomfortable editing this (slightly complex?) template, please let me know what you think ought to be changed, and I'll look into it.

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. (Whatever that means?)


 * Syntax :
 *  


 * 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 sport page with non-standard title.


 *  
 * Also handles decades and centuries pages included in the Timeline.
 * Apparently sport only became a noteworthy pastime later, presumably once sporadic warring became less PC.

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.