Template:Infobox FIBA tourney: Difference between revisions

From escforumwiki
Jump to navigation Jump to search
Santos (talk | contribs)
m 1 revision
 
Santos (talk | contribs)
No edit summary
Line 1: Line 1:
{{infobox
<includeonly>{| class="infobox" width=300px
| bodystyle = width:300px;
|-
| abovestyle = padding:0.3em; {{#switch:{{{type|{{{continent}}}}}}
{{#ifeq:{{{gender}}}|women|
  |Africa = background:#999999; color:#ffffff
{{#if:{{{continent|}}}|
  |Centrobasket|South America|Americas = background:#fe0000; color:#ffffff
{{#switch:{{{continent}}}
  |Asia U-16 |Asia U-18 |Asia U-20 |Asia Stankovic |Asia = background:#ffc801; color:#ffffff
|Africa={{Template:Infobox FIBA tourney/Africa|year={{{year}}}|gender=women}}
  |Europe U-16 |Europe U-18 |Europe U-20 |Europe = background:#0195d5; color:#ffffff
|Americas={{Template:Infobox FIBA tourney/Americas|year={{{year}}}|gender=women}}
  |Oceania = background:#009833; color:#ffffff
|Asia={{Template:Infobox FIBA tourney/Asia|year={{{year}}}|gender=women}}
  |SEABA U-16 |SEABA U-18 |SEABA Cup = background-color:#ad7fa8; color:#ffffff
|Asia U-16={{Template:Infobox FIBA tourney/Asia U-16|year={{{year}}}|gender=women}}
  |World U-17 |World U-19 |World = background:#dddddd
|Asia U-18={{Template:Infobox FIBA tourney/Asia U-18|year={{{year}}}|gender=women}}
  }}
|Asia U-20={{Template:Infobox FIBA tourney/Asia U-20|year={{{year}}}|gender=women}}
| above = {{#if:{{{title|}}}
|Europe={{Template:Infobox FIBA tourney/Europe|year={{{year}}}|gender=women}}
  | {{{title}}}
|Europe U-16={{Template:Infobox FIBA tourney/Europe U-16|year={{{year}}}|gender=women}}
  | {{#ifexist:Template:Infobox FIBA tourney/{{{type|{{{continent}}}}}}
|Europe U-18={{Template:Infobox FIBA tourney/Europe U-18|year={{{year}}}|gender=women}}
    | {{Infobox FIBA tourney/{{{type|{{{continent}}}}}}|title|year={{{year|}}}|gender={{lc:{{{gender}}}}}}}
|Europe U-20={{Template:Infobox FIBA tourney/Europe U-20|year={{{year}}}|gender=women}}
    }}
|Oceania={{Template:Infobox FIBA tourney/Oceania|year={{{year}}}|gender=women}}
  }}
|SEABA={{Template:Infobox FIBA tourney/SEABA|year={{{year}}}|gender=women}}
 
|SEABA Cup={{Template:Infobox FIBA tourney/SEABA Cup|year={{{year}}}|gender=women}}
| subheaderstyle = background:#000000; color:#ffffff; font-weight:bold; padding:0.2em; {{#ifeq:{{{gender}}}|women|font-size:90%; line-height:1.2em;}}
|SEABA U-16={{Template:Infobox FIBA tourney/SEABA U-16|year={{{year}}}|gender=women}}
| subheader = {{#if:{{{subtitle|}}}
|SEABA U-18={{Template:Infobox FIBA tourney/SEABA U-18|year={{{year}}}|gender=women}}
  | {{{subtitle}}}
|World={{Template:Infobox FIBA tourney/World|year={{{year}}}|gender=women}}
  | {{#ifexist:Template:Infobox FIBA tourney/{{{type|{{{continent}}}}}}
|World U-17={{Template:Infobox FIBA tourney/World U-17|year={{{year}}}|gender=women}}
    | {{Infobox FIBA tourney/{{{type|{{{continent}}}}}}|subheading|number={{{number|}}}|year={{{year|}}}|gender={{lc:{{{gender}}}}}}}
|World U-19={{Template:Infobox FIBA tourney/World U-19|year={{{year}}}|gender=women}}
    }}
}}}}
  }}
|
 
{{#if:{{{continent|}}}|
| image = {{#if: {{{logo|}}} | [[File:{{{logo}}}|{{#if:{{{size|}}}|{{{size}}}|200}}x200px|border|{{{caption|}}}]] }}
{{#switch:{{{continent}}}
 
|Africa={{Template:Infobox FIBA tourney/Africa|year={{{year}}}}}
| headerstyle = background-color:#dddddd
|Americas={{Template:Infobox FIBA tourney/Americas|year={{{year}}}}}
 
|Asia={{Template:Infobox FIBA tourney/Asia|year={{{year}}}}}
| header1 = {{#if:{{{website|}}}|Official website}}
|Asia U-16={{Template:Infobox FIBA tourney/Asia U-16|year={{{year}}}}}
| data2 =   {{#if:{{{website|}}}|<span style="font-size:85%">{{{website}}}</span> }}
|Asia U-18={{Template:Infobox FIBA tourney/Asia U-18|year={{{year}}}}}
 
|Asia U-20={{Template:Infobox FIBA tourney/Asia U-20|year={{{year}}}}}
| header3 = {{#if:{{{host|}}}{{{host2|}}}{{{dates|}}}{{{teams|}}}{{{venues|}}}{{{champions|}}}{{{mvp|}}}|Tournament details}}
|Asia Stankovic={{Template:Infobox FIBA tourney/Asia Stankovic|year={{{year}}}}}
 
|Europe={{Template:Infobox FIBA tourney/Europe|year={{{year}}}}}
| label4 = Host nation{{#if:{{{host2|}}}|(s)}}
|Europe U-16={{Template:Infobox FIBA tourney/Europe U-16|year={{{year}}}}}
| data4 = {{br separated entries
|Europe U-18={{Template:Infobox FIBA tourney/Europe U-18|year={{{year}}}}}
| 1 = {{#if:{{{host|}}} | {{flag|{{{host|}}}|{{{host-flagvar}}}}} }}
|Oceania={{Template:Infobox FIBA tourney/Oceania|year={{{year}}}}}
| 2 = {{#if:{{{host2|}}}| {{flag|{{{host2|}}}|{{{host2-flagvar}}}}} }}
|SEABA={{Template:Infobox FIBA tourney/SEABA|year={{{year}}}}}
}}
|SEABA Cup={{Template:Infobox FIBA tourney/SEABA Cup|year={{{year}}}}}
 
|SEABA U-16={{Template:Infobox FIBA tourney/SEABA U-16|year={{{year}}}}}
| label5 = Dates
|SEABA U-18={{Template:Infobox FIBA tourney/SEABA U-18|year={{{year}}}}}
| data5 = {{{dates|}}}
|World={{Template:Infobox FIBA tourney/World|year={{{year}}}}}
 
|World U-17={{Template:Infobox FIBA tourney/World U-17|year={{{year}}}}}
| label6 = Teams
|World U-19={{Template:Infobox FIBA tourney/World U-19|year={{{year}}}}}
| data6 = {{#if:{{{teams|}}}|{{{teams}}}{{#if:{{{federations|}}}|&nbsp;<span style="font-size:85%">(from {{{federations}}} federations)</span>}} }}
}}}}}}
 
|-
| label7 = Venues
{{#if:{{{logo|}}}|
| data7 = {{#if:{{{venues|}}}|{{{venues}}}{{#if:{{{cities|}}}|&nbsp;<span style="font-size:85%">(in {{{cities}}} host {{#ifeq:{{{cities}}}|1|city|cities}})</span>}} }}
{{!}} colspan="3" style="text-align:center; padding:0.3em"{{!}} [[File:{{{logo}}}|{{#if:{{{size|}}}|{{{size}}}|200}}x200px|border|{{{caption|}}}]]
 
| label8 = Champions
| data8 = {{#if:{{{champions|}}}
  | {{#ifeq:{{{gender}}}|women
    |'''{{bkw|{{{champions|}}}|{{{champions-flagvar|}}}}}'''
    |'''{{bk|{{{champions|}}}|{{{champions-flagvar|}}}}}'''
    }} {{#if:{{{title_number|}}}|<span style="font-size:85%">({{Ordinal|{{{title_number}}}}} title)</span>}}
  }}
 
| label9 = [[Most Valuable Player|MVP]]
| data9 = {{{mvp|}}}
 
| header10 = {{#if:{{{ppg_p|}}}{{{ppg_t|}}}{{{rpg_p|}}}{{{rpg_t|}}}{{{apg_p|}}}{{{apg_t|}}}|Tournament statistics}}
| data11 = {{#if:{{{ppg_p|}}}{{{ppg_t|}}}{{{rpg_p|}}}{{{rpg_t|}}}{{{apg_p|}}}{{{apg_t|}}}|
<table style="width:100%; text-align:left;">
<tr><th> </th><th scope=col>Players</th><th scope=col>Teams</th></tr>
{{#if:{{{ppg_p|}}}{{{ppg_t|}}}
|<tr><th scope=row>[[Points per game|Points]]</th>
<td style="font-size:88%">{{{ppg_p}}}</td>
<td style="font-size:88%">{{{ppg_t}}}</td></tr>
}}{{#if:{{{rpg_p|}}}{{{rpg_t|}}}
|<tr><th scope=row>[[Rebound (basketball)|Rebounds]]</th>
<td style="font-size:88%">{{{rpg_p}}}</td>
<td style="font-size:88%">{{{rpg_t}}}</td></tr>
}}{{#if:{{{apg_p|}}}{{{apg_t|}}}
|<tr><th scope=row>[[Assist (basketball)|Assists]]</th>
<td style="font-size:88%">{{{apg_p}}}</td>
<td style="font-size:88%">{{{apg_t}}}</td></tr>
}}
}}
</table>}}
|-
 
{{#if:{{{website|}}}|
| belowstyle = border-top: #ddd 2px solid
! colspan="3" style="background-color:#dddddd; text-align:center;"{{!}} Official website
| below =
{{!-}}
{{#if:{{{prevseason|}}}
{{!}} colspan="3" align="center"{{!}} <small>{{{website}}}</small>
  |{{align|left|&lt;&nbsp;{{{prevseason}}} }}
}}{{#if:{{{nextseason|}}}
  |{{align|right|{{{nextseason}}}&nbsp;&gt;}}
}}
}}
 
|-
}}<noinclude>
! colspan="3" style="background-color:#dddddd; text-align:center;"| Tournament details
|-
| '''Host nation{{#if:{{{host2|}}}|(-s)}}'''
| colspan="2"| {{flag|{{{host|}}}|{{{host-flagvar}}}}}{{#if:{{{host2|}}}|<br/>{{flag|{{{host2|}}}|{{{host2-flagvar}}}}}}}
|-
| '''Dates'''
| colspan="2"| {{{dates}}}
|-
| '''Teams'''
| colspan="2"| {{{teams}}}&nbsp;<small>(from {{{federations}}} federations)</small>
|-
| '''Venues'''
| colspan="2"| {{{venues}}}&nbsp;<small>(in {{{cities}}} host {{#ifeq:{{{cities}}}|1|city|cities}})</small>
|-
{{#if:{{{champions|}}}|
{{!}} '''Champions'''
{{!}} colspan="2" {{!}} {{#ifeq:{{{gender}}}|women|'''{{bkw|{{{champions|}}}|{{{champions-flagvar|}}}}}'''|'''{{bk|{{{champions|}}}|{{{champions-flagvar|}}}}}'''}} <small>({{Ordinal|{{{title_number}}}}} title)</small>
}}
|-
{{#if:{{{mvp|}}}|
{{!}} '''[[Most Valuable Player|MVP]]'''
{{!}} colspan="2"{{!}} {{{mvp}}}
}}
|-
{{#if:{{{ppg_p|}}}|
! colspan="3" style="background-color:#dddddd; text-align:center;"{{!}} Tournament statistics
{{!-}}
! !! ''Players'' !! ''Teams''
{{!-}}
{{!}} '''[[Points per game|Points]]'''
{{!}} style="font-size:90%"{{!}} {{{ppg_p}}}
{{!}} style="font-size:90%"{{!}} {{{ppg_t}}}
{{!-}}
{{!}} '''[[Rebound (basketball)|Rebounds]]'''
{{!}} style="font-size:90%"{{!}} {{{rpg_p}}}
{{!}} style="font-size:90%"{{!}} {{{rpg_t}}}
{{!-}}
{{!}} '''[[Assist (basketball)|Assists]]'''
{{!}} style="font-size:90%"{{!}} {{{apg_p}}}
{{!}} style="font-size:90%"{{!}} {{{apg_t}}}
}}
|}</includeonly><noinclude>
{{esoteric}}
{{esoteric}}
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 00:40, 12 December 2013