Jump to content

Template:Year in South Africa/doc

From Wikipedia, the free encyclopedia

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

[edit]
  • Include the template in the first line of the article.
  • Do not subst the template.
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).

Examples

[edit]

1994
in
South Africa

Decades:
See also:
{{Year in South Africa|1994}}
This year has an associated "Year in South African sport" page.

1891
in
South Africa

Decades:
See also:
{{Year in South Africa|1891|Sport=Sport in pre-union South Africa}}
This year has an associated sport page with non-standard title.

To Do

[edit]

1983
in
South Africa

Decades:
See also:
{{Year in South Africa|1983}}
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.