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.
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).