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:
{{Year in South Africa|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).