Templat:CGF year
{{ #switch: | 1930 | 1934 | 1938 | 1950 = Pesta Olahraga Imperium Britana | 1954 | 1958 | 1962 | 1966 = Pesta Olahraga Imperium Britannia dan Persemakmuran | 1970 | 1974 = Pesta Olahraga Persemakmuran Britannia | 1978 | 1982 | 1986 | 1990 | 1994 | 1998 | 2002 | 2006 | 2010 | 2014 | 2018 | 2022 = Pesta Olahraga Persemakmuran | = Pesta Olahraga Persemakmuran | #default = incorrect year }}
This template family is used to validate occurrence of major sporting events in a given year to provide the official name of the games, if year is valid.
Use {{CGF year}} for Pesta Olahraga Persemakmuran.
Usage
{{CGF year|YYYY}}
- YYYY is a the year to be validated.
Examples
IOC year
{{IOC year|1988|type=Summer}}
→ Games of the XXIV Olympiad{{IOC year|1988|type=Winter}}
→ XV Olympic Winter Games{{IOC year|2000}}
→ Games of the XXVII Olympiad{{IOC year|2009}}
→ incorrect year
CGF year
{{CGF year|1954}}
→ {{ #switch: 1954
| 1930 | 1934 | 1938 | 1950 = Pesta Olahraga Imperium Britana | 1954 | 1958 | 1962 | 1966 = Pesta Olahraga Imperium Britannia dan Persemakmuran | 1970 | 1974 = Pesta Olahraga Persemakmuran Britannia | 1978 | 1982 | 1986 | 1990 | 1994 | 1998 | 2002 | 2006 | 2010 | 2014 | 2018 | 2022 = Pesta Olahraga Persemakmuran | = Pesta Olahraga Persemakmuran | #default = incorrect year }}
{{CGF year|2018}}
→ {{ #switch: 2018
| 1930 | 1934 | 1938 | 1950 = Pesta Olahraga Imperium Britana | 1954 | 1958 | 1962 | 1966 = Pesta Olahraga Imperium Britannia dan Persemakmuran | 1970 | 1974 = Pesta Olahraga Persemakmuran Britannia | 1978 | 1982 | 1986 | 1990 | 1994 | 1998 | 2002 | 2006 | 2010 | 2014 | 2018 | 2022 = Pesta Olahraga Persemakmuran | = Pesta Olahraga Persemakmuran | #default = incorrect year }}
{{CGF year|2019}}
→ {{ #switch: 2019
| 1930 | 1934 | 1938 | 1950 = Pesta Olahraga Imperium Britana | 1954 | 1958 | 1962 | 1966 = Pesta Olahraga Imperium Britannia dan Persemakmuran | 1970 | 1974 = Pesta Olahraga Persemakmuran Britannia | 1978 | 1982 | 1986 | 1990 | 1994 | 1998 | 2002 | 2006 | 2010 | 2014 | 2018 | 2022 = Pesta Olahraga Persemakmuran | = Pesta Olahraga Persemakmuran | #default = incorrect year }}
AFOC year
{{AFOC year|1965}}
→ All-Africa Games{{AFOC year|2019}}
→ Pesta Olahraga Afrika{{AFOC year|2020}}
→ incorrect year
OCA year
{{OCA year|1954}}
→ Pesta Olahraga Asia{{OCA year|2018}}
→ Pesta Olahraga Asia{{OCA year|2019}}
→ incorrect year
SEAGF year
{{SEAGF year|1959}}
→ Pesta Olahraga Semenanjung Asia Tenggara{{SEAGF year|2019}}
→ Pesta Olahraga Asia Tenggara{{SEAGF year|2020}}
→ incorrect year
EOC year
{{EOC year|2015}}
→ Pesta Olahraga Eropa{{EOC year|2019}}
→ Pesta Olahraga Eropa{{EOC year|2020}}
→ incorrect year
PASO year
{{PASO year|1951}}
→ Pesta Olahraga Amerika{{PASO year|2019}}
→ Pesta Olahraga Amerika{{PASO year|2020}}
→ incorrect year
CIJM year
{{CIJM year|1951}}
→ Pesta Olahraga Mediterania{{CIJM year|2018}}
→ Pesta Olahraga Mediterania{{CIJM year|2019}}
→ incorrect year
FISU year
{{FISU year|2019}}
→ Universiade Musim Panas{{FISU year|2021}}
→ Pesta Olahraga Universitas Sedunia Musim Panas{{FISU year|2022}}
→ incorrect year
Templates supported by this template family
- {{Infobox sports competition event}}
- {{Infobox judo competition}}
- Pesta Olahraga Asia Tenggara
- {{FlagSEAGF}}
- {{FlagSEAGFteam}}
- {{FlagSEAGFathlete}}
- {{FlagSEAGFmedalist}}
- Pesta Olahraga Persemakmuran
- {{FlagCGF}}
- {{FlagCGFteam}}
- {{FlagCGFathlete}}
- {{FlagCGFmedalist}}