ទំព័រគំរូ: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
កែប្រែ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
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.
Examples
កែប្រែGames stored in the module
កែប្រែFor Games stored in the data submodule, there is no need to input the beginning year or interval. Missing competitions or appearances should be reported to the template talk page. Note that if successive games are omitted, they are combined for ease of reading. ទំព័រគំរូ:Demo
If years are included that are not in the range (i.e. before begin_year) they will not be included. ទំព័រគំរូ:Demo
Games not stored in the module
កែប្រែFor Games not stored in |the data submodule, the interval (|interval=
) across which the Games takes place, as well as the first year the team appeared |begin_year=
), are required. Missing competitions or appearances should be reported to the template talk page.
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.