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

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
(new simplified format)
Line 1: Line 1:
! colspan="3" style="background-color:#dddddd; text-align:center; padding:0.3em; font-size:larger;" | {{#ifeq:{{{gender}}}|women
+
{{#switch:{{{1|}}}
| FIBA World Championship<br />for Women&nbsp;{{{year}}}
+
| title = {{#ifeq:{{{gender}}}|women
| {{#ifexpr:{{{year|0}}}<2013|FIBA World Championship|FIBA Basketball World Cup}}&nbsp;{{{year}}}
+
  | FIBA World Championship<br />for Women
}}
+
  | {{#ifexpr:{{{year|0}}}<2013|FIBA World Championship|FIBA Basketball World Cup}}
|-
+
  }}&nbsp;{{{year}}}
! colspan="3" style="background-color:#000000; color:#ffffff; text-align:center; padding:0.3em; {{#ifeq:{{{gender}}}|women|font-size:90%; line-height:1.2em;}}" | {{#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}}}!=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}}
 +
  }}
 
}}
 
}}

Revision as of 00:47, 11 December 2012