Template:Summer Olympics by year category navigation/doc

A category header template for use on a Summer Olympics by year category, i.e. a category named "<foo> <YYYY> Summer Olympics <foobar>"

It creates a navigation box with links to other years.

No parameters are required, but they can be specified if needed. If parameters are omitted, the category name is parsed.

Usage

edit

{{Summer Olympics by year category navigation}}

or

{{Summer Olympics by year category navigation|prefix|suffix}}

Examples

edit

No parameters

edit

From Category:2004 Summer Olympics

Use {{Summer Olympics by year category navigation}}

Template:Summer Olympics by year category navigation failed to make navbox

Prefix only

edit

From Category:Nations at the 1960 Summer Olympics

Use {{Summer Olympics by year category navigation|Nations at the}}
19th century: 18961900
20th century: 190419081912 • (1916) • 19201924192819321936 • (1940) • (1944) • 19481952195619601964196819721976198019841988199219962000
21st century: 2004200820122016202020242028

Suffix only

edit

From Category:1972 Summer Olympics events

Use {{Summer Olympics by year category navigation||events}}
19th century: 18961900
20th century: 190419081912 • (1916) • 19201924192819321936 • (1940) • (1944) • 19481952195619601964196819721976198019841988199219962000
21st century: 2004200820122016202020242028

Errors

edit

If the category name does not include "YYYY Summer Olympics", then the navbox cannot be made unless parameters are supplied.

If then navbox cannot be made, an error message is produced, and the page is added to a tracking category:

Purge this page to update the total.

See also

edit