Template:Team appearances list
| This template uses Lua: |
This template produces a horizontal list of team appearances at a specified sports competition, each item being in the format
- [[<team> at the <year> <competition>|<year>]].
{{Team appearances list}} is principally meant for use in conjunction with {{Infobox country at games}} and {{country at games navbox}}.
Usage
[change source]The following is the base template with all parameters:
{{team appearances list|team=|competition=|begin_year=|end_year=|interval=}}
The following parameters are required:
team- The name of the team participating.
competition- The name of the competition, in Title Case (e.g. Summer Youth Olympics). The full list of competitions is at Module: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
competitionis 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.
Examples
[change source]{{Team appearances list
| begin_year = 1975
| team = Honduras
| competition = Pan American Games
| 1951–71
| 1983
}}
{{Team appearances list
|competition=Pan American Games
|team=Paraguay
|1959
|1963
}}
{{Team appearances list
| begin_year = 1996
|competition= Summer Paralympics
|team= Russia
}}
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.