الگو:Summer Olympics by year category navigation/توضیحات

از ویکی‌پدیا، دانشنامهٔ آزاد

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

Use {{Summer Olympics by year category navigation}}

الگو:ناوبری رده المپیک تابستانی بر پایه سال ناتوان در ایجاد جعبه ناوبری

Prefix only[ویرایش]

From

Use {{Summer Olympics by year category navigation|Nations at the}}
سده ۱۹: ۱۸۹۶
سده ۲۰: ۱۹۰۰۱۹۰۴۱۹۰۸۱۹۱۲ • (۱۹۱۶) • ۱۹۲۰۱۹۲۴۱۹۲۸۱۹۳۲۱۹۳۶ • (۱۹۴۰) • (۱۹۴۴) • ۱۹۴۸۱۹۵۲۱۹۵۶۱۹۶۰۱۹۶۴۱۹۶۸۱۹۷۲۱۹۷۶۱۹۸۰۱۹۸۴۱۹۸۸۱۹۹۲۱۹۹۶
سده ۲۱: ۲۰۰۰۲۰۰۴۲۰۰۸۲۰۱۲۲۰۱۶۲۰۲۰۲۰۲۴۲۰۲۸

Suffix only[ویرایش]

From

Use {{Summer Olympics by year category navigation||events}}
سده ۱۹: ۱۸۹۶
سده ۲۰: ۱۹۰۰۱۹۰۴۱۹۰۸۱۹۱۲ • (۱۹۱۶) • ۱۹۲۰۱۹۲۴۱۹۲۸۱۹۳۲۱۹۳۶ • (۱۹۴۰) • (۱۹۴۴) • ۱۹۴۸۱۹۵۲۱۹۵۶۱۹۶۰۱۹۶۴۱۹۶۸۱۹۷۲۱۹۷۶۱۹۸۰۱۹۸۴۱۹۸۸۱۹۹۲۱۹۹۶
سده ۲۱: ۲۰۰۰۲۰۰۴۲۰۰۸۲۰۱۲۲۰۱۶۲۰۲۰۲۰۲۴۲۰۲۸

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[ویرایش]