Difference between revisions of "Template:Infobox FIBA tourney/World"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(title format)
imported>Parutakupiu
(adjust template code to accomodate tournament cycle change)
Line 6: Line 6:
 
| subheading = {{#ifeq:{{{gender}}}|women
 
| subheading = {{#ifeq:{{{gender}}}|women
 
   | {{#if:{{{year|}}}|{{ordinal|{{#ifexpr:{{{year}}}>1985|{{#expr:({{{year}}}-1946)/4}}|{{#ifexpr:{{{year}}}<1986 and {{{year}}}>1959 and {{{year}}}!=1964|{{#expr:({{{year}}}-1947)/4}}|{{#switch:{{{year}}} |1953=1|1957=2|1964=4}}}}}}}}}}&nbsp;FIBA Basketball World<br />Championship for Women
 
   | {{#if:{{{year|}}}|{{ordinal|{{#ifexpr:{{{year}}}>1985|{{#expr:({{{year}}}-1946)/4}}|{{#ifexpr:{{{year}}}<1986 and {{{year}}}>1959 and {{{year}}}!=1964|{{#expr:({{{year}}}-1947)/4}}|{{#switch:{{{year}}} |1953=1|1957=2|1964=4}}}}}}}}}}&nbsp;FIBA Basketball World<br />Championship for Women
   | {{#if:{{{year|}}}|{{ordinal|{{#ifexpr:{{{year}}}>1949 and {{{year}}}!=1959 and {{{year}}}!=1963  and {{{year}}}!=1967|{{#expr:({{{year}}}-1946)/4}}|{{#switch:{{{year}}} |1959=3 |1963=4 |1967=5}}}}}}}}&nbsp;{{#ifexpr:{{{year|0}}}<2013|FIBA World Championship|FIBA Basketball World Cup}}
+
   | {{#if:{{{year|}}}|{{ordinal|{{#ifexpr:{{{year}}}>1949 and {{{year}}}<2018 and {{{year}}}!=1959 and {{{year}}}!=1963  and {{{year}}}!=1967|{{#expr:({{{year}}}-1946)/4}}|{{#ifexpr:{{{year}}}>2018|{{#expr:({{{year}}}-1947)/4}}|{{#switch:{{{year}}} |1959=3 |1963=4 |1967=5}}}}}}}}}}&nbsp;{{#ifexpr:{{{year|0}}}<2013|FIBA World Championship|FIBA Basketball World Cup}}
 
   }}
 
   }}
 
}}
 
}}

Revision as of 22:15, 28 July 2013