![]() | This Lua module is used on approximately 16,000 pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages, or in your own module sandbox. Consider discussing changes on the talk page before implementing them. |
This data module is used by Module:Team appearances list
Contents
- Competitions
- This list contains the years where major international sporting events have taken place (e.g. the Olympics, Commonwealth Games, Asian Games, etc). All names are in Title Case.
- Absences
- This list contains the years where a team did not participate in a given game. Names are in Title Case, and are input by using the team name and the games, e.g. "Afghanistan Summer Olympics". Note that if a team participated in every edition of a game, it does not need to be included on this list (e.g. Greece at the Summer Olympics).
-- Constant data used by [[Module:Team appearances list]].
--[[
Line references for ease of finding subsections (update as necessary)
Competitions: 8
Absences:
Olympics: 97
Youth Olympics: 488
]]--
local all_competitions = {
-----Africa-----
["All-Africa Games"] = {
1965, 1973, 1978, 1987, 1991, 1995, 1999, 2003, 2007, 2011, 2015},
-----Asian Games----
["Asian Games"] = {
1951, 1954, 1958, 1962, 1966, 1970, 1974, 1978, 1982, 1986, 1990, 1994,
1998, 2002, 2006, 2010, 2014},
["Asian Beach Games"] = {
2008, 2010, 2012, 2014, 2016},
["Asian Para Games"] = {
2010, 2014, 2018},
["Asian Youth Games"] = {
2009, 2013, 2021},
["Asian Winter Games"] = {
1986, 1990, 1996, 1999, 2003, 2007, 2011, 2017},
["East Asian Games"] = {
1993, 1997, 2001, 2005, 2009, 2013},
["South Asian Games"] = {
1984, 1985, 1987, 1989, 1991, 1993, 1995, 1999, 2004, 2006, 2010, 2016},
["Southeast Asian Games"] = {
1977, 1979, 1981, 1983, 1985, 1987, 1989, 1991, 1993, 1995, 1997, 1999,
2001, 2003, 2005, 2007, 2009, 2011, 2013, 2015, 2017},
["Southeast Asian Peninsular Games"] = {
1959, 1961, 1963, 1965, 1967, 1969, 1971, 1973, 1975},
["West Asian Games"] = {
1997, 2002, 2005, 2016},
-----Commonwealth Games-----
["Commonwealth Games"] = {
1930, 1934, 1938, 1950, 1954, 1958, 1962, 1966, 1970, 1974, 1978, 1982,
1986, 1990, 1994, 1998, 2002, 2006, 2010, 2014},
["Commonwealth Youth Games"] = {
2000, 2004, 2008, 2011, 2015, 2017},
-----European Games-----
["European Athletics Championships"] = {
1934, 1938, 1946, 1950, 1954, 1958, 1962, 1966, 1969, 1971, 1974, 1978,
1982, 1986, 1990, 1994, 1998, 2002, 2006, 2010, 2012, 2014, 2016},
["European Games"] = {
2015},
["Mediterranean Games"] = {
1951, 1955, 1959, 1963, 1967, 1971, 1975, 1979, 1983, 1987, 1991, 1993,
1997, 2001, 2005, 2009, 2013, 2017},
----- Olympics -----
["Summer Olympics"] = {
1896, 1900, 1904, 1908, 1912, 1920, 1924, 1928, 1932, 1936, 1948, 1952,
1956, 1960, 1964, 1968, 1972, 1976, 1980, 1984, 1988, 1992, 1996, 2000,
2004, 2008, 2012, 2016},
["Summer Paralympics"] = {
1960, 1964, 1968, 1972, 1976, 1980, 1984, 1988, 1992, 1996, 2000, 2004,
2008, 2012, 2016},
["Summer Youth Olympics"] = {
2010, 2014},
["Winter Olympics"] = {
1924, 1928, 1932, 1936, 1948, 1952, 1956, 1960, 1964, 1968, 1972, 1976,
1980, 1984, 1988, 1992, 1994, 1998, 2002, 2006, 2010, 2014},
["Winter Paralympics"] = {
1976, 1980, 1984, 1988, 1992, 1994, 1998, 2002, 2006, 2010, 2014},
["Winter Youth Olympics"] = {
2012, 2016},
----- Misc / World -----
["FEI World Equestrian Games"] = {
1990, 1994, 1998, 2002, 2006, 2010, 2014},
["Pan American Games"] = {
1951, 1955, 1959, 1963, 1967, 1971, 1975, 1979, 1983, 1987, 1991, 1995,
1999, 2003, 2007, 2011, 2015},
["Summer Universiade"] = {
1959, 1961, 1963, 1965, 1967, 1970, 1973, 1975, 1977, 1979, 1981, 1983,
1985, 1987, 1989, 1991, 1993, 1995, 1997, 1999, 2001, 2003, 2005, 2007,
2009, 2011, 2013, 2015, 2017},
["Winter Universiade"] = {
1960, 1962, 1964, 1966, 1968, 1972, 1978, 1981, 1983, 1985, 1987, 1989,
1991, 1993, 1995, 1997, 1999, 2001, 2003, 2005, 2007, 2009, 2011, 2013,
2015, 2017},
["World Aquatics Championships"] = {
1973, 1975, 1978, 1982, 1986, 1991, 1994, 1998, 2001, 2003, 2005, 2007,
2009, 2011, 2013, 2015},
["World Championships in Athletics"] = {
1983, 1987, 1991, 1993, 1995, 1997, 1999, 2001, 2003, 2005, 2007, 2009,
2011, 2013, 2015, 2017},
}
local all_absences = {
----- Olympics -----
["Afghanistan Summer Olympics"] = {
1952, 1976, 1984, 1992, 2000},
["Albania Summer Olympics"] = {
1976, 1980, 1984, 1988},
["Algeria Summer Olympics"] = {
1976},
["Algeria Winter Olympics"] = {
1994, 1998, 2002, 2014},
["American Samoa Winter Olympics"] = {
1998, 2002, 2006, 2010, 2014},
["Angola Summer Olympics"] = {
1984},
["Antigua and Barbuda Summer Olympics"] = {
1980},
["Argentina Summer Olympics"] = {
1904, 1912, 1980},
["Argentina Winter Olympics"] = {
1932, 1936, 1956},
["Australia Winter Olympics"] = {
1948},
["Austria Summer Olympics"] = {
1920},
["Bahamas Summer Olympics"] = {
1980},
["Barbados Summer Olympics"] = {
1980},
["Belgium Summer Olympics"] = {
1904},
["Belgium Winter Olympics"] = {
1960, 1968},
["Belize Summer Olympics"] = {
1980},
["Benin Summer Olympics"] = {
1976},
["Bermuda Summer Olympics"] = {
1980},
["Bohemia Summer Olympics"] = {
1904},
["Bolivia Summer Olympics"] = {
1948, 1952, 1956, 1960, 1980},
["Bolivia Winter Olympics"] = {
1960, 1964, 1968, 1972, 1976, 1994, 1998, 2002, 2006, 2010, 2014},
["Brazil Summer Olympics"] = {
1928},
["British Virgin Islands Winter Olympics"] = {
1988, 1992, 1994, 1998, 2002, 2006, 2010},
["Brunei Summer Olympics"] = {
1992, 2008},
["Bulgaria Summer Olympics"] = {
1900, 1904, 1908, 1912, 1920, 1932, 1948, 1984},
["Burma Summer Olympics"] = {
1976},
["Cambodia Summer Olympics"] = {
1960, 1968, 1976, 1980, 1984, 1988, 1992},
["Cameroon Winter Olympics"] = {
2006, 2010, 2014},
["Canada Summer Olympics"] = {
1980},
["Cayman Islands Summer Olympics"] = {
1980},
["Central African Republic Summer Olympics"] = {
1972, 1976, 1980},
["Ceylon Summer Olympics"] = {
1976},
["Chad Summer Olympics"] = {
1976, 1980},
["Chile Summer Olympics"] = {
1900, 1904, 1908, 1932, 1980},
["Chile Winter Olympics"] = {
1972, 1980},
["China Summer Olympics"] = {
1956, 1960, 1964, 1968, 1972, 1976, 1980},
["Chinese Taipei Summer Olympics"] = {
1976, 1980},
["Chinese Taipei Winter Olympics"] = {
1980},
["Republic of China Summer Olympics"] = {
1928},
["Colombia Summer Olympics"] = {
1952},
["Colombia Winter Olympics"] = {
2014},
["Congo Summer Olympics"] = {
1968, 1976},
["Costa Rica Summer Olympics"] = {
1948, 1952, 1956, 1960},
["Costa Rica Winter Olympics"] = {
1994, 1998, 2010, 2014},
["Cuba Summer Olympics"] = {
1908, 1912, 1920, 1932, 1936, 1984, 1988},
["Czechoslovakia Summer Olympics"] = {
1984},
["Denmark Summer Olympics"] = {
1904},
["Denmark Winter Olympics"] = {
1956, 1972, 1976, 1980, 1984},
["Djibouti Summer Olympics"] = {
2004},
["DR Congo Summer Olympics"] = {
1972, 1976, 1980},
["Ecuador Summer Olympics"] = {
1928, 1932, 1936, 1948, 1956, 1960, 1964},
["Egypt Summer Olympics"] = {
1932, 1980},
["Egypt Winter Olympics"] = {
1988, 1992, 1994, 1998, 2002, 2006, 2010, 2014},
["El Salvador Summer Olympics"] = {
1976, 1980},
["Estonia Summer Olympics"] = {
1948, 1956, 1960, 1964, 1968, 1972, 1976, 1980, 1984, 1988},
["Estonia Winter Olympics"] = {
1932, 1948, 1956, 1960, 1964, 1968, 1972, 1976, 1980, 1984, 1988},
["Ethiopia Summer Olympics"] = {
1976, 1984, 1988},
["Ethiopia Winter Olympics"] = {
2014},
["Fiji Summer Olympics"] = {
1964, 1980},
["Fiji Winter Olympics"] = {
1992, 1998, 2006, 2010, 2014},
["East Germany Summer Olympics"] = {
1984},
["Gabon Summer Olympics"] = {
1976, 1980},
["Germany Summer Olympics"] = {
1920, 1924, 1948, 1956, 1960, 1964, 1968, 1972, 1976, 1980, 1984, 1988},
["Germany Winter Olympics"] = {
1948, 1956, 1960, 1964, 1968, 1972, 1976, 1980, 1984, 1988},
["West Germany Summer Olympics"] = {
1980},
["Ghana Summer Olympics"] = {
1956, 1976, 1980},
["Ghana Winter Olympics"] = {
2014},
["Greece Winter Olympics"] = {
1960},
["Guam Winter Olympics"] = {
1992, 1994, 1998, 2002, 2006, 2010, 2014},
["Guatemala Summer Olympics"] = {
1956, 1960, 1964},
["Guatemala Winter Olympics"] = {
1992, 1994, 1998, 2002, 2006, 2010, 2014},
["Guinea Summer Olympics"] = {
1972, 1976},
["Guyana Summer Olympics"] = {
1976},
["Haiti Summer Olympics"] = {
1904, 1908, 1912, 1920, 1936, 1948, 1952, 1956, 1964, 1968, 1980},
["Honduras Summer Olympics"] = {
1972, 1980},
["Honduras Winter Olympics"] = {
1994, 1998, 2002, 2006, 2010, 2014},
["Hong Kong Summer Olympics"] = {
1980},
["Hungary Summer Olympics"] = {
1920, 1984},
["Iceland Summer Olympics"] = {
1920, 1924, 1928, 1932},
["Iceland Winter Olympics"] = {
1972},
["India Summer Olympics"] = {
1904, 1908, 1912},
["India Winter Olympics"] = {
1972, 1976, 1980, 1984, 1994},
["Indonesia Summer Olympics"] = {
1964, 1980},
["Iraq Summer Olympics"] = {
1952, 1956, 1972, 1976},
["Iran Summer Olympics"] = {
1904, 1908, 1912, 1920, 1924, 1928, 1932, 1936, 1980, 1984},
["Iran Winter Olympics"] = {
1960, 1980, 1984, 1988, 1992, 1994},
["Ireland Summer Olympics"] = {
1936},
["Ireland Winter Olympics"] = {
1994},
["Israel Summer Olympics"] = {
1980},
["Italy Summer Olympics"] = {
1904},
["Ivory Coast Summer Olympics"] = {
1980},
["Jamaica Summer Olympics"] = {
1960},
["Jamaica Winter Olympics"] = {
2006},
["Japan Summer Olympics"] = {
1948, 1980},
["Japan Winter Olympics"] = {
1948},
["Kenya Summer Olympics"] = {
1976, 1980},
["Kenya Winter Olympics"] = {
2010, 2014},
["Kuwait Summer Olympics"] = {
2016},
["Laos Summer Olympics"] = {
1984},
["Latvia Summer Olympics"] = {
1948, 1952, 1956, 1960, 1964, 1968, 1972, 1976, 1980, 1984, 1988},
["Latvia Winter Olympics"] = {
1932, 1948, 1952, 1956, 1960, 1964, 1968, 1972, 1976, 1980, 1984, 1988},
["Lebanon Summer Olympics"] = {
1956},
["Lebanon Winter Olympics"] = {
1994, 1998},
["Lesotho Summer Olympics"] = {
1976},
["Liberia Summer Olympics"] = {
1968, 1976, 1992},
["Libya Summer Olympics"] = {
1972, 1976, 1984},
["Liechtenstein Summer Olympics"] = {
1956, 1980},
["Liechtenstein Winter Olympics"] = {
1952},
["Lithuania Summer Olympics"] = {
1932, 1936, 1948, 1956, 1960, 1964, 1968, 1972, 1976, 1980, 1984, 1988},
["Lithuania Winter Olympics"] = {
1932, 1936, 1948, 1956, 1960, 1964, 1968, 1972, 1976, 1980, 1984, 1988},
["Luxembourg Summer Olympics"] = {
1904, 1908, 1932},
["Luxembourg Winter Olympics"] = {
1932, 1948, 1952, 1956, 1960, 1964, 1968, 1972, 1976, 1980, 1984, 2002,
2010},
["Madagascar Summer Olympics"] = {
1976, 1988},
["Madagascar Winter Olympics"] = {
2010, 2014},
["Malawi Summer Olympics"] = {
1976, 1980},
["Malaysia Summer Olympics"] = {
1980},
["Mali Summer Olympics"] = {
1976},
["Malta Summer Olympics"] = {
1932, 1952, 1956, 1964, 1976},
["Mexico Summer Olympics"] = {
1904, 1908, 1912, 1920},
["Mexico Winter Olympics"] = {
1932, 1936, 1948, 1952, 1956, 1960, 1964, 1968, 1972, 1976, 1980, 1998,
2006},
["Monaco Summer Olympics"] = {
1932, 1956, 1980},
["Mongolia Summer Olympics"] = {
1984},
["Mongolia Winter Olympics"] = {
1976},
["Morocco Summer Olympics"] = {
1980},
["Morocco Winter Olympics"] = {
1972, 1976, 1980, 1994, 1998, 2002, 2006},
["Myanmar Summer Olympics"] = {
1976},
["Nepal Summer Olympics"] = {
1968},
["Netherlands Summer Olympics"] = {
1904},
["Netherlands Winter Olympics"] = {
1932},
["Netherlands Antilles Summer Olympics"] = {
1956, 1980},
["Netherlands Antilles Winter Olympics"] = {
1994, 1998, 2002, 2006, 2010},
["New Zealand Winter Olympics"] = {
1956, 1964},
["Nicaragua Summer Olympics"] = {
1988},
["Niger Summer Olympics"] = {
1976, 1980},
["Nigeria Summer Olympics"] = {
1976},
["North Korea Summer Olympics"] = {
1984, 1988},
["North Korea Winter Olympics"] = {
1968, 1976, 1980, 1994, 2002, 2014},
["Norway Summer Olympics"] = {
1904, 1980},
["Pakistan Summer Olympics"] = {
1980},
["Panama Summer Olympics"] = {
1932, 1936, 1956, 1980},
["Papua New Guinea Summer Olympics"] = {
1980},
["Paraguay Summer Olympics"] = {
1980},
["Peru Summer Olympics"] = {
1904, 1908, 1912, 1920, 1924, 1928, 1932, 1952},
["Philippines Winter Olympics"] = {
1976, 1980, 1984, 1994, 1998, 2002, 2006, 2010},
["Poland Summer Olympics"] = {
1984},
["Portugal Winter Olympics"] = {
1956, 1960, 1964, 1968, 1972, 1976, 1980, 1984, 1992, 2002},
["Puerto Rico Winter Olympics"] = {
2006, 2010, 2014},
["Rhodesia Summer Olympics"] = {
1932, 1936, 1948, 1952, 1956, 1968, 1972, 1976},
["Romania Summer Olympics"] = {
1904, 1908, 1912, 1920, 1932, 1948},
["Romania Winter Olympics"] = {
1960},
["Russian Empire Summer Olympics"] = {
1904},
["San Marino Summer Olympics"] = {
1964},
["San Marino Winter Olympics"] = {
1980, 1998},
["Saudi Arabia Summer Olympics"] = {
1980},
["Senegal Winter Olympics"] = {
1988, 1998, 2002, 2014},
["Serbia Summer Olympics"] = {
1920, 1924, 1928, 1932, 1936, 1948, 1952, 1956, 1960, 1964, 1968, 1972,
1976, 1980, 1984, 1988, 1992, 1996, 2000, 2004},
["Seychelles Summer Olympics"] = {
1988},
["Sierra Leone Summer Olympics"] = {
1972, 1976},
["Singapore Summer Olympics"] = {
1964, 1980},
["Somalia Summer Olympics"] = {
1976, 1980, 1992},
["South Africa Summer Olympics"] = {
1964, 1968, 1972, 1976, 19810, 1984, 1988},
["South Africa Winter Olympics"] = {
1964, 1968, 1972, 1976, 19810, 1984, 1988, 1992, 2014},
["South Korea Summer Olympics"] = {
1980},
["South Korea Winter Olympics"] = {
1952},
["Soviet Union Summer Olympics"] = {
1984},
["Spain Summer Olympics"] = {
1904, 1908, 1912, 1936},
["Sri Lanka Summer Olympics"] = {
1976},
["Sudan Summer Olympics"] = {
1964, 1976, 1980},
["Suriname Summer Olympics"] = {
1964, 1980},
["Swaziland Summer Olympics"] = {
1976, 1980},
["Swaziland Winter Olympics"] = {
1994, 1998, 2002, 2006, 2010, 2014},
["Sweden Summer Olympics"] = {
1904},
["Syria Summer Olympics"] = {
1952, 1956, 1960, 1964, 1976},
["Tanzania Summer Olympics"] = {
1976},
["Thailand Summer Olympics"] = {
1980},
["Thailand Winter Olympics"] = {
2010},
["Togo Summer Olympics"] = {
1976, 1980},
["Trinidad and Tobago Summer Olympics"] = {
1960},
["Trinidad and Tobago Winter Olympics"] = {
2006, 2010, 2014},
["Tunisia Summer Olympics"] = {
1980},
["Turkey Summer Olympics"] = {
1920, 1932, 1980},
["Turkey Winter Olympics"] = {
1952, 1972, 1980},
["Uganda Summer Olympics"] = {
1976},
["United States Summer Olympics"] = {
1980},
["Uruguay Summer Olympics"] = {
1980},
["Uruguay Winter Olympics"] = {
2002, 2006, 2010, 2014},
["Venezuela Winter Olympics"] = {
2010},
["Vietnam Summer Olympics"] = {
1976, 1984},
["Virgin Islands Summer Olympics"] = {
1980},
["Virgin Islands Winter Olympics"] = {
2010},
["Yugoslavia Summer Olympics"] = {
1992},
["Yugoslavia Winter Olympics"] = {
1932, 1960, 1994},
["Zambia Summer Olympics"] = {
1976},
-----Winter Youth Olympics-----
["Morocco Winter Youth Olympics"] = {
2016},
["Peru Winter Youth Olympics"] = {
2016},
["Philippines Winter Youth Olympics"] = {
2016},
}
return {
competitions = all_competitions,
absences = all_absences,
}