الگو:Country at games navbox

از ویکی‌پدیا، دانشنامهٔ آزاد
توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

This template is designed for use in navigating between the years a country has participated in a sport.

Usage[ویرایش]

This template requires two unnamed parameters, with other optional parameters:

1
The full name of the country (e.g. Canada)
2
The name of the games (e.g. Summer Olympics)
3
The first year the country participated in the games (e.g. 1934). If the games are the Commonwealth Games, this parameter is required.
4
(optional) The last year the country participated in the games (e.g. 2002 was the final year Zimbabwe participated)
state
(optional) Set this to collapsed or uncollapsed to set the visibility. Default is collapsed.
below
(optional) Use this parameter to put a message at the bottom of the navbox (see Malaya example below). Note that some entries (see Canada below) contain default messages, but can be overwritten if something is passed to below.

Examples[ویرایش]

Note that if the generic "Olympics" is used, both Summer and Winter games will be displayed.

  • {{country at games navbox|کانادا|بازی‌های پان امریکن}}
  • {{country at games navbox|کانادا|بازی‌های المپیک}}
  • {{country at games navbox|کانادا|بازی‌های المپیک}}
  • {{country at games navbox|مالایا|بازی‌های مشترک‌المنافع|1950|1962|below=Malaya has competed as part of Malaysia from 1966}}