Difference between revisions of "Template:Infobox national volleyball team/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
 
Line 18: Line 18:
 
| data5      = {{{coach|}}}
 
| data5      = {{{coach|}}}
 
| label6    = [[FIVB World Rankings|FIVB ranking]]
 
| label6    = [[FIVB World Rankings|FIVB ranking]]
| data6      = {{#switch:{{lc:{{{gender|}}}}}
+
| data6      = {{#switch:{{lc:{{{type|}}}}}
      | boy|boys|u19|boys' u19|boy u19=
+
  | u23 | u21| u20| u19| u18 =
      | girl|girls|u18|girls' u18|girl u18=
+
  | #default = {{#switch:{{lc:{{{gender|}}}}}
      | women={{FIVB ranking women|{{{name|}}}}} {{FIVB ranking women|as of}}
+
      | women={{FIVB ranking women|{{{name|}}}}} {{FIVB ranking women|as of}}
      | #default={{FIVB ranking men|{{{name|}}}}} {{FIVB ranking men|as of}}
+
      | #default={{FIVB ranking men|{{{name|}}}}} {{FIVB ranking men|as of}}
      }}
+
      }}
 +
  }}
 
| headerstyle = background-color:#EEEEEE
 
| headerstyle = background-color:#EEEEEE
 
| header7  = Uniforms
 
| header7  = Uniforms
Line 61: Line 62:
 
| data10    = {{{First game|}}}
 
| data10    = {{{First game|}}}
  
| header11    = {{#if:{{{Olympic apps|}}}{{{Olympic best|}}}|{{#switch:{{lc:{{{gender|}}}}}|boy|boys|u19|boys' u19|boy u19|girl|girls|u18|girls' u18|girl u18=[[Youth Olympic Games]]|#default=[[Volleyball at the Summer Olympics|Summer Olympics]]}}}}
+
| header11    = {{#if:{{{Olympic apps|}}}{{{Olympic best|}}}
 +
  |{{#switch:{{lc:{{{type|}}}}}
 +
      |u23|u21|u20=
 +
      |u19|u18=[[Youth Olympic Games]]
 +
      |#default=[[Volleyball at the Summer Olympics|Summer Olympics]]
 +
    }}
 +
  }}
 
| label12    = Appearances
 
| label12    = Appearances
| data12      = {{{Olympic apps|}}} {{#if:{{{Olympic first|}}}|(''First in [[Volleyball at the {{{Olympic first|}}} {{#switch:{{lc:{{{gender|}}}}}|boy|boys|u19|boys' u19|boy u19|girl|girls|u18|girls' u18|girl u18=Youth Olympic Games|#default=Summer Olympics}}|{{{Olympic first}}}]]'')}}
+
| data12      = {{#switch:{{lc:{{{type|}}}}}|u23|u21|u20=|#default=
 +
  {{{Olympic apps|}}} {{#if:{{{Olympic first|}}}|(''First in [[Volleyball at the {{{Olympic first|}}} {{#switch:{{lc:{{{type|}}}}}|u19|u18=Youth Olympic Games|#default=Summer Olympics}}|{{{Olympic first}}}]]'')}}
 +
  }}
 
| label13    = Best result
 
| label13    = Best result
| data13      = {{{Olympic best|}}}
+
| data13      = {{#switch:{{lc:{{{type|}}}}}|u23|u21|u20=|#default=
 +
  {{{Olympic best|}}}
 +
  }}
 
| header14  = {{#if:{{{World Champs apps|}}}
 
| header14  = {{#if:{{{World Champs apps|}}}
     |{{#switch: {{lc:{{{gender|}}}}}
+
  |{{#switch: {{lc:{{{type|}}}}}
       | boy|boys|u19|boys' u19|boy u19=[[FIVB Volleyball Boys' World Championship|FIVB U19 World Championship]]
+
     | u23= {{#switch:{{lc:{{{gender|}}}}}
      | girl|girls|u18|girls' u18|girl u18=[[FIVB Volleyball Girls' World Championship|FIVB U18 World Championship]]  
+
       | women = [[FIVB Volleyball Women's U23 World Championship|FIVB U23 World Championship]]
 +
      | #default = [[FIVB Volleyball Men's U23 World Championship|FIVB U23 World Championship]]
 +
      }}
 +
    | u21=[[FIVB Volleyball Men's U21 World Championship|FIVB U21 World Championship]]
 +
    | u20=[[FIVB Volleyball Women's U20 World Championship|FIVB U20 World Championship]]
 +
    | u19=[[FIVB Volleyball Boys' U19 World Championship|FIVB U19 World Championship]]
 +
    | u18=[[FIVB Volleyball Girls' U18 World Championship|FIVB U18 World Championship]]  
 +
    | #default = {{#switch:{{lc:{{{gender|}}}}}
 
       | women = [[FIVB Volleyball Women's World Championship|World Championship]]  
 
       | women = [[FIVB Volleyball Women's World Championship|World Championship]]  
 
       | #default = [[FIVB Volleyball Men's World Championship|World Championship]]
 
       | #default = [[FIVB Volleyball Men's World Championship|World Championship]]
      }}  
+
      }}
     }}
+
     }}
 +
  }}
 
| label15    = Appearances
 
| label15    = Appearances
| data15    = {{{World Champs apps|}}} {{#if:{{{World Champs first|}}}|(''First in [[{{{World Champs first|}}} FIVB Volleyball {{#switch: {{lc:{{{gender|}}}}}
+
| data15    = {{{World Champs apps|}}} {{#if:{{{World Champs first|}}}|(''First in [[{{{World Champs first|}}} FIVB Volleyball {{#switch: {{lc:{{{type|}}}}}
      | boy|boys|u19|boys' u19|boy u19=Boys' U19
+
  | u23={{#switch:{{lc:{{{gender|}}}}}
      | girl|girls|u18|girls' u18|girl u18=Girls' U18
+
      | women = Women's U23
 +
      | #default = Men's U23
 +
      }}
 +
  | u21=Men's U21
 +
  | u20=Women's U20
 +
  | u19=Boys' U19
 +
  | u18=Girls' U18
 +
  | #default = {{#switch:{{lc:{{{gender|}}}}}
 
       | women = Women's
 
       | women = Women's
 
       | #default = Men's
 
       | #default = Men's
       }} World Championship|{{{World Champs first}}}]]'')}}
+
       }}
 +
  }} World Championship|{{{World Champs first}}}]]'')}}
 
| label16    = Best result
 
| label16    = Best result
 
| data16    = {{{World Champs best|}}}
 
| data16    = {{{World Champs best|}}}
 
| header17  ={{#if:{{{World Cup apps|}}}
 
| header17  ={{#if:{{{World Cup apps|}}}
    |{{#switch:{{lc:{{{gender|}}}}}
+
  |{{#switch:{{lc:{{{type|}}}}}
      |boy|boys|u19|boys' u19|boy u19=
+
      | u23 | u21| u20| u19| u18 =
      |girl|girls|u18|girls' u18|girl u18=
+
      | women = [[FIVB Volleyball Women's World Cup|World Cup]]  
      | women = [[FIVB Volleyball Women's World Cup|World Cup]]  
+
      | #default = [[FIVB Volleyball Men's World Cup|World Cup]]
      | #default = [[FIVB Volleyball Men's World Cup|World Cup]]
+
    }}  
      }}  
+
  }}
    }}
 
 
| label18    = Appearances
 
| label18    = Appearances
| data18    = {{#switch:{{lc:{{{gender|}}}}}|boy|boys|u19|boys' u19|boy u19|girl|girls|u18|girls' u18|girl u18=|#default=
+
| data18    = {{#switch:{{lc:{{{type|}}}}}
    {{{World Cup apps|}}} {{#if:{{{World Cup first|}}}|(''First in [[{{{World Cup first|}}} FIVB Volleyball {{#switch:{{lc:{{{gender|}}}}}|women=Women's|#default=Men's}} World Cup|{{{World Cup first}}}]]'')}}
+
  | u23 | u21| u20| u19| u18 =|#default=
    }}
+
  {{{World Cup apps|}}} {{#if:{{{World Cup first|}}}|(''First in [[{{{World Cup first|}}} FIVB Volleyball {{#switch:{{lc:{{{gender|}}}}}|women=Women's|#default=Men's}} World Cup|{{{World Cup first}}}]]'')}}
 +
  }}
 
| label19    = Best result
 
| label19    = Best result
| data19    = {{#switch:{{lc:{{{gender|}}}}}|boy|boys|u19|boys' u19|boy u19|girl|girls|u18|girls' u18|girl u18=|#default=
+
| data19    = {{#switch:{{lc:{{{type|}}}}}
 +
    | u23 | u21| u20| u19| u18 =|#default=
 
     {{{World Cup best|}}}
 
     {{{World Cup best|}}}
 
     }}
 
     }}

Latest revision as of 18:34, 23 February 2018

FIVB ranking? (as of October 2019)
Uniforms
Template:Volleyball kit Template:Volleyball kit Template:Volleyball kit
Template documentation[view] [edit] [history] [purge]

Usage

Template:Parameter names example

{{Infobox national volleyball team
| name          = 
| image         = 
| nickname      =
| federation    = 
| confederation = 
| coach         = 
| pattern_la1   = 
| pattern_b1    = 
| pattern_ra1   = 
| pattern_s1    = 
| leftarm1      = 
| body1         = 
| rightarm1     = 
| shorts1       = 
| pattern_la2   = 
| pattern_b2    = 
| pattern_ra2   = 
| pattern_s2    = 
| leftarm2      = 
| body2         = 
| rightarm2     = 
| shorts2       = 
| Olympic apps  = 
| Olympic first = 
| Olympic best  = 
| World Champs apps = 
| World Champs first= 
| World Champs best = 
| World Cup apps = 
| World Cup first= 
| World Cup best = 
| Regional name      = 
| Regional cup apps  = 
| Regional cup first = 
| Regional cup best  =
| website            = 
| medaltemplates     =
}}
name
country's name, required for ranking
image
required, typically the image name of national flag
gender
men or women, defaults to men
type
u23, u21, u20, u19 or u18 for youth teams, defaults to blank
federation
required, name of national federation for the team
website
optional, link to federation's website
confederation
required, one of AVC, CAVB, CEV, CSV, or NORCECA.
coach
optional, name of head coach
FIVB rank
appears automatically if specified gender, defaults to nothing, changes in Rankings should be made in Template:FIVB ranking men for men and Template:FIVB ranking women for women
Olympic/W Champs/W Cup/Regional cup apps
optional, number of appearances in the tournament
Olympic/W Champs/W Cup/Regional cup first
optional, first appearance (requires to specify gender)
Olympic/W Champs/W Cup/Regional cup best
optional, best result in that tournament (requires to specify gender)

Tracking category