Difference between revisions of "Template:IOC year"

From blackwiki
Jump to navigation Jump to search
imported>PanchoS
(Undid revision 709684173 by PanchoS (talk): self-revert to take a better approach at backwards compatibility)
imported>PanchoS
(stricter on ambiguous years; restore missing Youth Olympics)
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 10: Line 10:
 
| 1924 = {{#switch:{{lc:{{{type}}}}}
 
| 1924 = {{#switch:{{lc:{{{type}}}}}
 
   | winter  = I Olympic Winter Games
 
   | winter  = I Olympic Winter Games
   | #default = Games of the VIII Olympiad
+
   | summer  = Games of the VIII Olympiad
 +
  | #default = {{error|ambiguous}}
 
}}
 
}}
 
| 1928 = {{#switch:{{lc:{{{type}}}}}
 
| 1928 = {{#switch:{{lc:{{{type}}}}}
 
   | winter  = II Olympic Winter Games
 
   | winter  = II Olympic Winter Games
   | #default = Games of the IX Olympiad
+
   | summer  = Games of the IX Olympiad
 +
  | #default = {{error|ambiguous}}
 
}}
 
}}
 
| 1932 = {{#switch:{{lc:{{{type}}}}}
 
| 1932 = {{#switch:{{lc:{{{type}}}}}
 
   | winter  = III Olympic Winter Games
 
   | winter  = III Olympic Winter Games
   | #default = Games of the X Olympiad
+
   | summer  = Games of the X Olympiad
 +
  | #default = {{error|ambiguous}}
 
}}
 
}}
 
| 1936 = {{#switch:{{lc:{{{type}}}}}
 
| 1936 = {{#switch:{{lc:{{{type}}}}}
 
   | winter  = IV Olympic Winter Games
 
   | winter  = IV Olympic Winter Games
   | #default = Games of the XI Olympiad
+
   | summer  = Games of the XI Olympiad
 +
  | #default = {{error|ambiguous}}
 
}}
 
}}
 
| 1940 = Games of the XII Olympiad
 
| 1940 = Games of the XII Olympiad
Line 28: Line 32:
 
| 1948 = {{#switch:{{lc:{{{type}}}}}
 
| 1948 = {{#switch:{{lc:{{{type}}}}}
 
   | winter  = V Olympic Winter Games
 
   | winter  = V Olympic Winter Games
   | #default = Games of the XIV Olympiad
+
   | summer  = Games of the XIV Olympiad
 +
  | #default = {{error|ambiguous}}
 
}}
 
}}
 
| 1952 = {{#switch:{{lc:{{{type}}}}}
 
| 1952 = {{#switch:{{lc:{{{type}}}}}
 
   | winter  = VI Olympic Winter Games
 
   | winter  = VI Olympic Winter Games
   | #default = Games of the XV Olympiad
+
   | summer  = Games of the XV Olympiad
 +
  | #default = {{error|ambiguous}}
 
}}
 
}}
 
| 1956 = {{#switch:{{lc:{{{type}}}}}
 
| 1956 = {{#switch:{{lc:{{{type}}}}}
 
   | winter  = VII Olympic Winter Games
 
   | winter  = VII Olympic Winter Games
   | #default = Games of the XVI Olympiad
+
   | summer  = Games of the XVI Olympiad
 +
  | #default = {{error|ambiguous}}
 
}}
 
}}
 
| 1960 = {{#switch:{{lc:{{{type}}}}}
 
| 1960 = {{#switch:{{lc:{{{type}}}}}
 
   | winter  = VIII Olympic Winter Games
 
   | winter  = VIII Olympic Winter Games
   | #default = Games of the XVII Olympiad
+
   | summer  = Games of the XVII Olympiad
 +
  | #default = {{error|ambiguous}}
 
}}
 
}}
 
| 1964 = {{#switch:{{lc:{{{type}}}}}
 
| 1964 = {{#switch:{{lc:{{{type}}}}}
 
   | winter  = IX Olympic Winter Games
 
   | winter  = IX Olympic Winter Games
   | #default = Games of the XVIII Olympiad
+
   | summer  = Games of the XVIII Olympiad
 +
  | #default = {{error|ambiguous}}
 
}}
 
}}
 
| 1968 = {{#switch:{{lc:{{{type}}}}}
 
| 1968 = {{#switch:{{lc:{{{type}}}}}
 
   | winter  = X Olympic Winter Games
 
   | winter  = X Olympic Winter Games
   | #default = Games of the XIX Olympiad
+
   | summer  = Games of the XIX Olympiad
 +
  | #default = {{error|ambiguous}}
 
}}
 
}}
 
| 1972 = {{#switch:{{lc:{{{type}}}}}
 
| 1972 = {{#switch:{{lc:{{{type}}}}}
 
   | winter  = XI Olympic Winter Games
 
   | winter  = XI Olympic Winter Games
   | #default = Games of the XX Olympiad
+
   | summer  = Games of the XX Olympiad
 +
  | #default = {{error|ambiguous}}
 
}}
 
}}
 
| 1976 = {{#switch:{{lc:{{{type}}}}}
 
| 1976 = {{#switch:{{lc:{{{type}}}}}
 
   | winter  = XII Olympic Winter Games
 
   | winter  = XII Olympic Winter Games
   | #default = Games of the XXI Olympiad
+
   | summer  = Games of the XXI Olympiad
 +
  | #default = {{error|ambiguous}}
 
}}
 
}}
 
| 1980 = {{#switch:{{lc:{{{type}}}}}
 
| 1980 = {{#switch:{{lc:{{{type}}}}}
 
   | winter  = XIII Olympic Winter Games
 
   | winter  = XIII Olympic Winter Games
   | #default = Games of the XXII Olympiad
+
   | summer  = Games of the XXII Olympiad
 +
  | #default = {{error|ambiguous}}
 
}}
 
}}
 
| 1984 = {{#switch:{{lc:{{{type}}}}}
 
| 1984 = {{#switch:{{lc:{{{type}}}}}
 
   | winter  = XIV Olympic Winter Games
 
   | winter  = XIV Olympic Winter Games
   | #default = Games of the XXIII Olympiad
+
   | summer  = Games of the XXIII Olympiad
 +
  | #default = {{error|ambiguous}}
 
}}
 
}}
 
| 1988 = {{#switch:{{lc:{{{type}}}}}
 
| 1988 = {{#switch:{{lc:{{{type}}}}}
 
   | winter  = XV Olympic Winter Games
 
   | winter  = XV Olympic Winter Games
   | #default = Games of the XXIV Olympiad
+
   | summer  = Games of the XXIV Olympiad
 +
  | #default = {{error|ambiguous}}
 
}}
 
}}
 
| 1992 = {{#switch:{{lc:{{{type}}}}}
 
| 1992 = {{#switch:{{lc:{{{type}}}}}
 
   | winter  = XVI Olympic Winter Games
 
   | winter  = XVI Olympic Winter Games
   | #default = Games of the XXV Olympiad
+
   | summer  = Games of the XXV Olympiad
 +
  | #default = {{error|ambiguous}}
 
}}
 
}}
 
| 1994 = XVII Olympic Winter Games
 
| 1994 = XVII Olympic Winter Games
Line 83: Line 99:
 
| 2008 = Games of the XXIX Olympiad
 
| 2008 = Games of the XXIX Olympiad
 
| 2010 = {{#switch:{{lc:{{{type}}}}}
 
| 2010 = {{#switch:{{lc:{{{type}}}}}
   | youth   = 2010 Youth Olympic Games
+
   | summer youth = 2010 Summer Youth Olympics
 
   | #default = XXI Olympic Winter Games
 
   | #default = XXI Olympic Winter Games
 
}}
 
}}
 
| 2012 = {{#switch:{{lc:{{{type}}}}}
 
| 2012 = {{#switch:{{lc:{{{type}}}}}
   | youth   = I Winter Youth Olympic Games
+
   | 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:{{lc:{{{type}}}}}
 +
  | summer youth = 2014 Summer Youth Olympics
 +
  | #default = XXII Olympic Winter Games
 +
}}
 
| 2016 = {{#switch:{{lc:{{{type}}}}}
 
| 2016 = {{#switch:{{lc:{{{type}}}}}
   | youth   = II Winter Youth Olympic Games
+
   | 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:{{lc:{{{type}}}}}
| 2020 = Games of the XXXII Olympiad
+
  | summer youth = 2018 Summer Youth Olympics
 +
  | #default = XXIII Olympic Winter Games
 +
}}
 +
| 2020 = {{#switch:{{lc:{{{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

Revision as of 15:37, 12 March 2016

undefined year