Difference between revisions of "Template:IOC year"
Jump to navigation
Jump to search
imported>PanchoS |
imported>Zyxw (return default text if year is undefined, only generate error for incorrect year - same as at Template:CGF year and Template:SEAGF year) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{#switch:{{{1}}} | + | {{#switch:{{{year|{{{1|}}}}}} |
| 1896 = Games of the I Olympiad | | 1896 = Games of the I Olympiad | ||
| 1900 = Games of the II Olympiad | | 1900 = Games of the II Olympiad | ||
Line 8: | Line 8: | ||
| 1916 = Games of the VI Olympiad | | 1916 = Games of the VI Olympiad | ||
| 1920 = Games of the VII Olympiad | | 1920 = Games of the VII Olympiad | ||
− | | 1924 = {{#switch | + | | 1924 = {{#switch:{{{type}}} |
− | | | + | | Winter = I Olympic Winter Games |
− | | | + | | Summer = Games of the VIII Olympiad |
+ | | #default = {{error|ambiguous}} | ||
}} | }} | ||
− | | 1928 = {{#switch | + | | 1928 = {{#switch:{{{type}}} |
− | | | + | | Winter = II Olympic Winter Games |
− | | | + | | Summer = Games of the IX Olympiad |
+ | | #default = {{error|ambiguous}} | ||
}} | }} | ||
− | | 1932 = {{#switch | + | | 1932 = {{#switch:{{{type}}} |
− | | | + | | Winter = III Olympic Winter Games |
− | | | + | | Summer = Games of the X Olympiad |
+ | | #default = {{error|ambiguous}} | ||
}} | }} | ||
− | | 1936 = {{#switch | + | | 1936 = {{#switch:{{{type}}} |
− | | | + | | Winter = IV Olympic Winter Games |
− | | | + | | Summer = Games of the XI Olympiad |
+ | | #default = {{error|ambiguous}} | ||
}} | }} | ||
| 1940 = Games of the XII Olympiad | | 1940 = Games of the XII Olympiad | ||
| 1944 = Games of the XIII Olympiad | | 1944 = Games of the XIII Olympiad | ||
− | | 1948 = {{#switch | + | | 1948 = {{#switch:{{{type}}} |
− | | | + | | Winter = V Olympic Winter Games |
− | | | + | | Summer = Games of the XIV Olympiad |
+ | | #default = {{error|ambiguous}} | ||
}} | }} | ||
− | | 1952 = {{#switch | + | | 1952 = {{#switch:{{{type}}} |
− | | | + | | Winter = VI Olympic Winter Games |
− | | | + | | Summer = Games of the XV Olympiad |
+ | | #default = {{error|ambiguous}} | ||
}} | }} | ||
− | | 1956 = {{#switch | + | | 1956 = {{#switch:{{{type}}} |
− | | | + | | Winter = VII Olympic Winter Games |
− | | | + | | Summer = Games of the XVI Olympiad |
+ | | #default = {{error|ambiguous}} | ||
}} | }} | ||
− | | 1960 = {{#switch | + | | 1960 = {{#switch:{{{type}}} |
− | | | + | | Winter = VIII Olympic Winter Games |
− | | | + | | Summer = Games of the XVII Olympiad |
+ | | #default = {{error|ambiguous}} | ||
}} | }} | ||
− | | 1964 = {{#switch | + | | 1964 = {{#switch:{{{type}}} |
− | | | + | | Winter = IX Olympic Winter Games |
− | | | + | | Summer = Games of the XVIII Olympiad |
+ | | #default = {{error|ambiguous}} | ||
}} | }} | ||
− | | 1968 = {{#switch | + | | 1968 = {{#switch:{{{type}}} |
− | | | + | | Winter = X Olympic Winter Games |
− | | | + | | Summer = Games of the XIX Olympiad |
+ | | #default = {{error|ambiguous}} | ||
}} | }} | ||
− | | 1972 = {{#switch | + | | 1972 = {{#switch:{{{type}}} |
− | | | + | | Winter = XI Olympic Winter Games |
− | | | + | | Summer = Games of the XX Olympiad |
+ | | #default = {{error|ambiguous}} | ||
}} | }} | ||
− | | 1976 = {{#switch | + | | 1976 = {{#switch:{{{type}}} |
− | | | + | | Winter = XII Olympic Winter Games |
− | | | + | | Summer = Games of the XXI Olympiad |
+ | | #default = {{error|ambiguous}} | ||
}} | }} | ||
− | | 1980 = {{#switch | + | | 1980 = {{#switch:{{{type}}} |
− | | | + | | Winter = XIII Olympic Winter Games |
− | | | + | | Summer = Games of the XXII Olympiad |
+ | | #default = {{error|ambiguous}} | ||
}} | }} | ||
− | | 1984 = {{#switch | + | | 1984 = {{#switch:{{{type}}} |
− | | | + | | Winter = XIV Olympic Winter Games |
− | | | + | | Summer = Games of the XXIII Olympiad |
+ | | #default = {{error|ambiguous}} | ||
}} | }} | ||
− | | 1988 = {{#switch | + | | 1988 = {{#switch:{{{type}}} |
− | | | + | | Winter = XV Olympic Winter Games |
− | | | + | | Summer = Games of the XXIV Olympiad |
+ | | #default = {{error|ambiguous}} | ||
}} | }} | ||
− | | 1992 = {{#switch | + | | 1992 = {{#switch:{{{type}}} |
− | | | + | | Winter = XVI Olympic Winter Games |
− | | | + | | Summer = Games of the XXV Olympiad |
+ | | #default = {{error|ambiguous}} | ||
}} | }} | ||
| 1994 = XVII Olympic Winter Games | | 1994 = XVII Olympic Winter Games | ||
Line 82: | Line 98: | ||
| 2006 = XX Olympic Winter Games | | 2006 = XX Olympic Winter Games | ||
| 2008 = Games of the XXIX Olympiad | | 2008 = Games of the XXIX Olympiad | ||
− | | 2010 = {{#switch | + | | 2010 = {{#switch:{{{type}}} |
− | | | + | | Summer Youth = 2010 Summer Youth Olympics |
| #default = XXI Olympic Winter Games | | #default = XXI Olympic Winter Games | ||
}} | }} | ||
− | | 2012 = {{#switch | + | | 2012 = {{#switch:{{{type}}} |
− | | | + | | Winter Youth = 2012 Winter Youth Olympics |
| #default = Games of the XXX Olympiad | | #default = Games of the XXX Olympiad | ||
}} | }} | ||
− | | 2014 = XXII Olympic Winter Games | + | | 2014 = {{#switch:{{{type}}} |
− | | 2016 = {{#switch | + | | Summer Youth = 2014 Summer Youth Olympics |
− | | | + | | #default = XXII Olympic Winter Games |
+ | }} | ||
+ | | 2016 = {{#switch:{{{type}}} | ||
+ | | Winter Youth = 2016 Winter Youth Olympics | ||
| #default = Games of the XXXI Olympiad | | #default = Games of the XXXI Olympiad | ||
}} | }} | ||
− | | 2018 = XXIII Olympic Winter Games | + | | 2018 = {{#switch:{{{type}}} |
− | | 2020 = Games of the XXXII Olympiad | + | | Summer Youth = 2018 Summer Youth Olympics |
+ | | #default = XXIII Olympic Winter Games | ||
+ | }} | ||
+ | | 2020 = {{#switch:{{{type}}} | ||
+ | | Winter Youth = 2020 Winter Youth Olympics | ||
+ | | #default = Games of the XXXII Olympiad | ||
+ | }} | ||
| 2022 = XXIV Olympic Winter Games | | 2022 = XXIV Olympic Winter Games | ||
+ | | 2023 = 2023 Summer Youth Olympics | ||
| 2024 = Games of the XXXIII Olympiad | | 2024 = Games of the XXXIII Olympiad | ||
| 2026 = XXV Olympic Winter Games | | 2026 = XXV Olympic Winter Games | ||
| 2028 = Games of the XXXIV Olympiad | | 2028 = Games of the XXXIV Olympiad | ||
− | | #default = {{error| | + | | = Olympic Games |
+ | | #default = {{error|incorrect year}} | ||
}} | }} |
Latest revision as of 11:10, 18 July 2016
Olympic Games