مندرجات کا رخ کریں

سانچہ: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

[ترمیم]

{{Summer Olympics by year category navigation}}

or

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

Examples

[ترمیم]

No parameters

[ترمیم]

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

[ترمیم]

From Category:Nations at the 1960 Summer Olympics

Use {{Summer Olympics by year category navigation|Nations at the}}
19ویں صدی: 18961900
20ویں صدی: 190419081912 • (1916) • 19201924192819321936 • (1940) • (1944) • 19481952195619601964196819721976198019841988199219962000
21ویں صدی: 2004200820122016202020242028

Suffix only

[ترمیم]

From Category:1972 Summer Olympics events

Use {{Summer Olympics by year category navigation||events}}
19ویں صدی: 18961900
20ویں صدی: 190419081912 • (1916) • 19201924192819321936 • (1940) • (1944) • 19481952195619601964196819721976198019841988199219962000
21ویں صدی: 2004200820122016202020242028

Errors

[ترمیم]

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

[ترمیم]