Bản mẫu:Team appearances list/doc
![]() | Đây là một trang con tài liệu sử dụng bản mẫu dành cho Bản mẫu:Team appearances list. Nó gồm có các thông tin hướng dẫn sử dụng, thể loại và các nội dung khác không thuộc về phần trang bản mẫu gốc. |
![]() | Bản mẫu này sử dụng Lua: |
This template produces a horizontal list of team appearances at a specified sports competition, each item being in the format
- [[<team> tại <year> <competition>|<year>]].
{{Team appearances list}} is principally meant for use in conjunction with {{Infobox country at games}}.
Cách sử dụng
sửaThe following parameters are required:
team
- The name of the team participating.
competition
- The name of the competition, in Title Case (e.g. Thế vận hội Trẻ Mùa hè). The full list of competitions is at Mô đun:Team appearances list/data.
The following are optional parameters:
begin_year
- The first year the team participated in the competition. If omitted, will start with the first year the competition was held.
end_year
- May be defined if either the competition or team is now defunct.
interval
- The length of time between successive appearances. This parameter is required if
competition
is not on record, and will be ignored if the competition is in the /data module.
Additionally, any number of positional parameters may be specified, each of which must be a year (or year range) in which the team was absent from the competition. These parameters will be ignored if the data module already contains the team's absences.
Các ví dụ
sửa{{Team appearances list
| begin_year = 1975
| team = Honduras
| competition = Đại hội Thể thao Liên châu Mỹ
| 1951–71
| 1983
}}
{{Team appearances list
|competition=Đại hội Thể thao Liên châu Mỹ
|team=Paraguay
|1959
|1963
}}
{{Team appearances list
| begin_year = 1996
|competition= Thế vận hội Người khuyết tật Mùa hè
|team= Nga
}}
Note that if successive games are omitted, they are combined for ease of reading. If years are included that are not in the range (i.e. before begin_year) they will not be included.