Difference between revisions of "Template:IOC year"

From blackwiki
Jump to navigation Jump to search
imported>PanchoS
(expect |type in titlecase, for backwards compatibility with Template:FlagIOC)
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)
 
Line 1: Line 1:
{{#switch:{{{year|{{{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 127: Line 127:
 
| 2026 = XXV Olympic Winter Games
 
| 2026 = XXV Olympic Winter Games
 
| 2028 = Games of the XXXIV Olympiad
 
| 2028 = Games of the XXXIV Olympiad
| #default = {{error|undefined year}}
+
| = Olympic Games
 +
| #default = {{error|incorrect year}}
 
}}
 
}}

Latest revision as of 11:10, 18 July 2016

Olympic Games