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

From blackwiki
Jump to navigation Jump to search
imported>Alexander marshall 07
imported>Alexander marshall 07
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
| subheading = {{#ifeq:{{{gender}}}|women
 
| subheading = {{#ifeq:{{{gender}}}|women
 
   | {{#if:{{{year|}}}
 
   | {{#if:{{{year|}}}
     |{{#switch:{{#expr:({{{year}}}>=1995)+({{{year}}}>=2002)+({{{year}}}>=2007)}}
+
     |{{#switch:{{#expr:({{{year}}}>=1995)+({{{year}}}>=2002)+({{{year}}}>=2007)+({{{year}}}>=2010)}}
 
       |1 = {{ordinal|{{#expr:({{{year}}} - 1995)/2 + 1 }}}}
 
       |1 = {{ordinal|{{#expr:({{{year}}} - 1995)/2 + 1 }}}}
 
       |2 = {{ordinal|{{#expr:({{{year}}} - 2002)/2 + 4 }}}}
 
       |2 = {{ordinal|{{#expr:({{{year}}} - 2002)/2 + 4 }}}}
 
       |3 = {{ordinal|{{#expr:({{{year}}} - 2007)/3 + 6 }}}}
 
       |3 = {{ordinal|{{#expr:({{{year}}} - 2007)/3 + 6 }}}}
       |8 = {{ordinal|{{#expr:({{{year}}} - 2010)/4 + 8 }}}}
+
       |4 = {{ordinal|{{#expr:({{{year}}} - 2010)/4 + 7 }}}}
 
       }} Southeast Asian Women's Basketball Championship
 
       }} Southeast Asian Women's Basketball Championship
 
     }}
 
     }}
   | {{#if:{{{year|}}}|{{ordinal|{{#ifexpr:{{{year}}}>1993 and {{{year}}}!=1994 and {{{year}}}!=2001|{{#expr:({{{year}}}-1993)/2}}|{{#switch:{{{year}}}|1994=1|2001=4}}}}}}}} Southeast Asian Basketball Championship
+
   | {{#if:{{{year|}}}|{{ordinal|{{#ifexpr:{{{year}}}>1993 and {{{year}}}!=1994 and {{{year}}}!=1996 and {{{year}}}>1999 and {{{year}}}!=2001|{{#expr:({{{year}}}-1993)/2}}|{{#switch:{{{year}}}|1994=1|1996=2|1998=3|2001=4}}}}}}}} Southeast Asian Basketball Championship
 
   }}
 
   }}
 
}}<noinclude>
 
}}<noinclude>
 
[[zh:Template:Infobox FIBA tourney/SEABA]]
 
[[zh:Template:Infobox FIBA tourney/SEABA]]
 
</noinclude>
 
</noinclude>

Latest revision as of 22:41, 3 January 2017