Misplaced Pages

Template:Infobox national basketball team: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 19:11, 17 March 2015 view sourceFrietjes (talk | contribs)Autopatrolled, Extended confirmed users, Template editors1,001,704 edits as requested on the talk page← Previous edit Revision as of 11:10, 16 August 2015 view source H-Hurry (talk | contribs)Autopatrolled, Extended confirmed users46,194 edits Made some style adjustments to bring the template in line with Template:Infobox basketball club + Added some parameters like home arena and most capsNext edit →
Line 1: Line 1:
{{Infobox {{Infobox
| above = {{{country|{{{clubname|<includeonly>{{PAGENAME}}</includeonly>}}}}}}
| bodyclass =
| abovestyle = color:{{{color1|{{{colour1|black}}}}}}; background-color:{{{color2|{{{colour2|transparent}}}}}}; {{#if:{{{color3|}}}| border: 3px solid {{{color3}}}}}


| aboveclass =
| above = {{{country|}}} {{{country_alt|}}}

| abovestyle = border-bottom: solid silver 1px; font-size: larger; margin-left: 1em; {{#if:{{{color1|}}}|background-color:#{{{color1}}};}} {{#if:{{{color2|}}}|color:#{{{color2}}};}}
| headerstyle = border-top: solid silver 1px; border-bottom: solid silver 1px


| subheader = {{#if:{{{current|}}}| | subheader = {{#if:{{{current|}}}|
Line 37: Line 33:
| data6 = {{{nicknames|{{{nickname|}}}}}} | data6 = {{{nicknames|{{{nickname|}}}}}}


| label7 = Most caps
| header7 = {{#if:{{{first_game|{{{First game|}}}}}}|First international}}
| data8 = {{{first_game|{{{First game|}}}}}} | data7 = {{{caps|{{{caps|}}}}}}

| label8 = Top scorer
| header9 = {{#if:{{{largest_win|{{{Largest win|}}}}}}|Biggest win}}
| data10 = {{{largest_win|{{{Largest win|}}}}}} | data8 = {{{top scorer|{{{top scorer|}}}}}}

| label9 = Home arena
| header11 = {{#if:{{{largest_loss|{{{Largest loss|}}}}}}|Biggest defeat}}
| data12 = {{{largest_loss|{{{Largest loss|}}}}}} | data9 = {{{arena|{{{arena|}}}}}}


| header13 = {{#if:{{{paraly_appearances|}}}{{{paraly_medals|}}} | header13 = {{#if:{{{paraly_appearances|}}}{{{paraly_medals|}}}
Line 98: Line 94:
| data24 = {{#if:{{{zone2_championship|{{{zone_championship2|}}}}}}|{{{zone2_medals|{{{zone_medals2|}}}}}}}} | data24 = {{#if:{{{zone2_championship|{{{zone_championship2|}}}}}}|{{{zone2_medals|{{{zone_medals2|}}}}}}}}


| header25 = {{#if: {{{h_body|}}}|Uniforms}}
| data26 = {{#if:{{{h_body|}}} | | data26 = {{#if:{{{h_body|}}} |
{{Basketball kit home and away {{Basketball kit home and away
Line 111: Line 106:
| a_shorts = {{{a_shorts|000000}}} | a_shorts = {{{a_shorts|000000}}}
| a_pattern_s = {{{a_pattern_s|}}} | a_pattern_s = {{{a_pattern_s|}}}
}} }}}}

}}

| header27 = {{#if:{{{first_game|{{{First game|}}}}}}|First international}}
| data28 = {{{first_game|{{{First game|}}}}}}
| header29 = {{#if:{{{largest_win|{{{Largest win|}}}}}}|Biggest win}}
| data30 = {{{largest_win|{{{Largest win|}}}}}}
| header31 = {{#if:{{{largest_loss|{{{Largest loss|}}}}}}|Biggest defeat}}
| data32 = {{{largest_loss|{{{Largest loss|}}}}}}


| data27 = {{#if:{{{medal_templates|{{{medaltemplates|}}}}}}|{{Infobox medal templates | data33 = {{#if:{{{medal_templates|{{{medaltemplates|}}}}}}|{{Infobox medal templates
|medals = {{{medal_templates|{{{medaltemplates|}}}}}} |medals = {{{medal_templates|{{{medaltemplates|}}}}}}
|expand = {{#ifeq:{{lc:{{{show-medals}}}}}|no||yes}} |expand = {{#ifeq:{{lc:{{{show-medals}}}}}|no||yes}}

Revision as of 11:10, 16 August 2015

Template documentation[view] [edit] [history] [purge]
This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article.
This template uses Lua:

Typical usage

{{{country}}}
]
]
FIBA ranking{{{FIBA_ranking}}}
Joined FIBA{{{joined_FIBA}}}
FIBA zone]
National federation{{{national_fed}}}
Coach{{{coach}}}
Nickname(s){{{nickname}}}
Paralympic Games
Appearances{{{paraly_appearances}}}
Medals{{{paraly_medals}}}
{{{wc_championship}}}
Appearances{{{wc_appearances}}}
Medals{{{wc_medals}}}
{{{zone_championship}}}
Appearances{{{zone_appearances}}}
Medals{{{zone_medals}}}
{{{zone2_championship}}}
Appearances{{{zone2_appearances}}}
Medals{{{zone2_medals}}}
{{{h_title}}} jersey Team colours Team colours {{{h_title}}} {{{a_title}}} jersey Team colours Team colours {{{a_title}}}


First international
{{{first_game}}}
Biggest win
{{{largest_win}}}
Biggest defeat
{{{largest_loss}}}
Medal record

{{{medal_templates}}}

{{Infobox national basketball team
| country           =
| current           =
| type              = <!-- Women or Men or Women's Youth or Men's Youth or Women's Wheelchair or Men's Wheelchair -->
| logo              =
| FIBA_ranking      =
| joined_FIBA       =
| FIBA_zone         =
| national_fed      =
| first_game        =
| largest_win       =
| largest_loss      =
| coach             =
| nickname          =
| medal_templates   =
| oly_appearances   =
| oly_medals        =
| wc_appearances    =
| wc_medals         =
| zone_championship =
| zone_appearances  =
| zone_medals       =
| zone2_championship=
| zone2_appearances =
| zone2_medals      =
| h_body            =
| h_title           = Light
| h_pattern_b       =
| h_shorts          =
| h_pattern_s       =
| a_title           = Dark
| a_body            =
| a_pattern_b       =
| a_shorts          =
| a_pattern_s       =
}}

To append a second country name, use

| country_alt     =

To override the default colouring of the title, use

| color1          =
| color2          =

To override the default logo width, use

| logo_width      =

To override the default label for the World Cup section, use

| wc_championship =

Wheelchair basketball

{{Infobox national basketball team
| country           =
| type              = Wheelchair <!-- or Women's Wheelchair or Men's Wheelchair -->
| logo              =
| IWBF_ranking      =
| joined_IWBF       =
| IWBF_zone         =
| national_fed      =
| coach             =
| nickname          =
| medal_templates   =
| paraly_appearances=
| paraly_medals     =
| wc_appearances    =
| wc_medals         =
| zone_championship =
| zone_appearances  =
| zone_medals       =
| zone2_championship=
| zone2_appearances =
| zone2_medals      =
| h_body            =
| h_title           = Light
| h_pattern_b       =
| h_shorts          =
| h_pattern_s       =
| a_title           = Dark
| a_body            =
| a_pattern_b       =
| a_shorts          =
| a_pattern_s       =
}}

Parameters

  • country
The country represented by the national team. Should correspond to the template "Template:Country data country".
  • clubname
The name of the team, if other than "country".
  • type
Set to Women for Women's national teams, Men for Men's national teams, Women's Youth for Women's youth national teams, Men's Youth for Men's youth national teams, Women's Wheelchair for Women's national wheelchair teams, or Men's Wheelchair for Men's national wheelchair teams. The default is Men.
  • national_fed
National basketball federation that administers the team
  • fiba_ranking
Current FIBA ranking for the team (links to Misplaced Pages's page of FIBA rankings)
  • fiba_zone
Plain text name of FIBA Zone in which the team plays (e.g., "FIBA Americas")
  • iwbf_ranking
Current IWBF ranking for the wheelchair basketball team
  • iwbf_zone
Plain text name of IWBF Zone in which the wheelchair basketball team plays (e.g., "IWBF Americas")
  • coach
Current coach

Competitions

  • zone_championship
The championship tournament of the fiba_zone above (e.g., "FIBA Americas Championship")
  • zone_appearances
Appearances in the zone tournament
  • zone_medals
A listing of the medals won in that tournament.
  • zone2_championship
The championship tournament of a FIBA zone other than the one of which the country is a member. Most notably used for FIBA Oceania teams, which since 2017 have played in FIBA Asia championships.
  • zone2_appearances
Appearances in the zone2_championship tournament.
  • zone2_medals
A listing of the medals won in the zone2_championship.
  • wc_appearances
Appearances at the FIBA Basketball World Cup (known as the FIBA World Championship through the 2010 edition), FIBA Women's Basketball World Cup (known as the FIBA World Championship for Women through the 2014 edition), or Wheelchair Basketball World Championship. For youth competitions, use |wc_championship= to specify the particular world championship/cup competition.
  • wc_medals
Medals won at the World Cup
  • oly_appearances
Appearances at the Summer Olympic Games
  • oly_medals
Summer Olympic medals
  • paraly_appearances
Appearances at the summer Paralympics
  • paraly_medals
Summer Paralympic medals

Uniform parameters

These parameters build the stylized uniform in the infobox. See also {{Basketball kit}}.

  • Home (primary) uniform: h_body, h_pattern_b, h_shorts, h_pattern_s
  • Away (secondary) uniform: a_body, a_pattern_b, a_shorts, a_pattern_s

Optional parameters

  • current
Optional: Name of dedicated article for a current team. Do not wikilink. e.g. 2012 United States men's Olympic basketball team for 2012 United States men's Olympic basketball team
  • logo
Optional: An image for the team or the national federation (optional; default is country flag)
  • logo_width
Optional: Width of logo defaults to 120 pixels. This parameter allows smaller logos to be shown without unsightly stretch marks
  • color1
Optional: Hex code for the background color used in the infobox header
  • color2
Optional Hex code for the foreground (text) color used in the infobox header

Examples

Argentina
Argentina
FIBA ranking2nd
FIBA zoneFIBA Americas
National federationCABB
CoachSergio Hernández
Olympic Games
Appearances4
MedalsGold: 2004
FIBA World Cup
Appearances10 1950, 1959, 1963, 1967, 1974, 1986, 1950, 1998, 2002, 2006
MedalsGold: 1950, Silver: 2002
FIBA Americas Championship
MedalsGold: 2001
Silver: 1995, 2003
Bronze: 1980, 1993, 1999
Light jersey Team colours Light Dark jersey Team colours Dark


{{Infobox national basketball team
| type = Men
| country=Argentina
| logo=CABB_Argentina.png
| logo_width=94px
| fiba_ranking=2nd
| fiba_zone=FIBA Americas
| national_fed=]
| coach=]
| h_pattern_b=_whitehoops
| h_body=9BC4E2
| a_body=000066
| a_shorts=000066
| a_pattern_b=
| zone_championship=FIBA Americas Championship
| zone_medals=''Gold'': ]<br />
''Silver'': ], 
]<br /> 
''Bronze'': ],
], ]
| oly_appearances=4
| oly_medals=''Gold'': ]
| wc_appearances=10 ], 
], ], 
], ], 
], ], 
], ], 
]
| wc_medals=''Gold'': 1950, ''Silver'': 2002 
}}
Australia
National federationBasketball Australia
Nickname(s)Rollers
Paralympic Games
Appearances13
Medals Gold: 1996, 2008
Silver: 2004
World Championships
Appearances?
Medals Gold: 2010
Bronze: 2006
Light jersey Team colours Light Dark jersey Team colours Dark


{{Infobox national basketball team
|type=Men's Wheelchair
|country=Australia
|logo=Bad Title Example.png
|nickname=Rollers
|joined_iwbf = 
|iwbf_zone=
|national_fed=]
|zone_championship=
|iwbf_ranking=
|coach=
|paraly_appearances=13
|paraly_medals=] ''Gold:'' 1996, 2008<br>] ''Silver:'' 2004
|wc_appearances=?
|wc_medals=] ''Gold:'' 2010<br>] ''Bronze:'' 2006
|zone_appearances=
|zone_medals=
| h_pattern_b = _lithuaniabasides2
| h_body = FFBF00
| h_shorts = FFBF00
| a_pattern_b = _lithuaniabasides2
| a_body = 177245
| a_shorts = 177245
}}

Tracking categories

See also

The above documentation is transcluded from Template:Infobox national basketball team/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: