Difference between revisions of "Template:Infobox international basketball competition/doc"

From blackwiki
Jump to navigation Jump to search
imported>H-Hurry
imported>Zyxw
m (add template category, update usage and example)
 
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
== Template ==
 
<pre style="overflow:auto;">
 
<nowiki>{{</nowiki>Infobox international basketball competition
 
| tourney_name  =
 
| year          =
 
| other_titles  =
 
| image          =
 
| size          = 
 
| alt            =
 
| caption        =
 
| city          =
 
| country        =
 
| dates          =
 
| num_teams      =
 
| confederations =
 
| federations  =
 
| venues        =
 
| cities        =
 
| champion      =
 
| count        =
 
| second        =
 
| third        =
 
| fourth        =
 
| games        =
 
| attendance    =
 
| mvp          =
 
| top_scorer    =
 
| ppg          =
 
| prevseason    =
 
| nextseason    =
 
| updated      =
 
}}
 
</pre>
 
  
 
== Usage ==
 
== Usage ==
 +
{{Parameter names example|tourney_name|year|yearr|other_titles|image|image_size|size|alt|caption|country|city|num_teams|venues|country2|country3|country4|country5|country6|country7|country8|country9|country10|country11|country12|country13|country14|country15|dates|confederations|sub-confederations|associations|cities|champion|champion_other|American|champion-flagvar|champion-name|count|second|second-flagvar|second-name|second_other|third|third-flagvar|third-name|third_other|fourth|fourth-flagvar|fourth-name|fourth_other|promoted|relegated|games|attendance|top_scorer|mvp|games_footnote|ppg|website|prevseason|nextseason|updated|extra information}}
 
<pre style="overflow:auto;">
 
<pre style="overflow:auto;">
<nowiki>{{</nowiki>Infobox international basketball competition
+
{{Infobox international basketball competition
| tourney_name = <!- PAGE NAME-->
+
| tourney_name     = <!-- PAGE NAME -->
| year =
+
| year             =  
| yearr =  
+
| other_titles     =  
| other_titles =  
+
| image           =  
| image =  
+
| size             = <!-- in pixels; enter an integer-->
| size = <!-- in pixels; just enter an integer-->
+
| alt             =  
| alt =  
+
| caption         =  
| caption =  
+
| city             =  
| city =  
+
| country         =
| country =
+
| dates           = <!-- {{Start date|YYYY|MM|DD|df=y}}–<br />{{End date|YYYY|MM|DD|df=y}} -->
| dates = <!-- {{Start date|YYYY|MM|DD|df=y}}–<br />{{End date|YYYY|MM|DD|df=y}} -->
+
| num_teams       =  
| num_teams =  
+
| confederations   = <!-- use only one of these three options -->
| confederations = <!-- use only one of these three options -->
 
 
| sub-confederations = <!-- use only one of these three options -->
 
| sub-confederations = <!-- use only one of these three options -->
| associations = <!-- use only one of these three options -->
+
| associations     = <!-- use only one of these three options -->
| venues =  
+
| federations      =
| cities =  
+
| venues           =  
| champion = <!-- automatically wraps into {{bk}} template -->
+
| cities           =  
| champion-flagvar = use if the flag is other as current
+
| champion         = <!-- automatically wraps into {{bk}} template -->
| champion_other = <!-- use instead if the team is not in {{bk}} (enter your own code) -->
+
| champion-flagvar = <!-- use if the flag is other as current -->
| count =  
+
| champion_other   = <!-- use instead if the team is not in {{bk}} (enter your own code) -->
| second = <!-- automatically wraps into {{bk}} template -->
+
| count           =  
| second-flagvar = use if the flag is other as current
+
| second           = <!-- automatically wraps into {{bk}} template -->
| second_other = <!-- use instead if the team is not in {{bk}} (enter your own code) -->
+
| second-flagvar   = <!-- use if the flag is other as current -->
| third = <!-- automatically wraps into {{bk}} template -->
+
| second_other     = <!-- use instead if the team is not in {{bk}} (enter your own code) -->
| third-flagvar = use if the flag is other as current
+
| third           = <!-- automatically wraps into {{bk}} template -->
| third_other = <!-- use instead if the team is not in {{bk}} (enter your own code) -->
+
| third-flagvar   = <!-- use if the flag is other as current -->
| fourth = <!-- automatically wraps into {{bk}} template -->
+
| third_other     = <!-- use instead if the team is not in {{bk}} (enter your own code) -->
| fourth-flagvar = use if the flag is other as current
+
| fourth           = <!-- automatically wraps into {{bk}} template -->
| fourth_other = <!-- use instead if the team is not in {{bk}} (enter your own code) -->
+
| fourth-flagvar   = <!-- use if the flag is other as current -->
| semifinal1 = <!-- automatically wraps into {{bk}} template -->
+
| fourth_other     = <!-- use instead if the team is not in {{bk}} (enter your own code) -->
 +
| semifinal1       = <!-- automatically wraps into {{bk}} template -->
 
| semifinal1_other = <!-- use instead if the team is not in {{bk}} (enter your own code) -->
 
| semifinal1_other = <!-- use instead if the team is not in {{bk}} (enter your own code) -->
| semifinal2 = <!-- automatically wraps into {{bk}} template -->
+
| semifinal2       = <!-- automatically wraps into {{bk}} template -->
 
| semifinal2_other = <!-- use instead if the team is not in {{bk}} (enter your own code) -->
 
| semifinal2_other = <!-- use instead if the team is not in {{bk}} (enter your own code) -->
| games =  
+
| games           =  
| attendance =  
+
| attendance       =  
| mvp =  
+
| mvp             =  
| top_scorer =  
+
| top_scorer       =
| prevseason =  
+
| ppg              =  
| nextseason =  
+
| prevseason       =  
| updated =
+
| nextseason       =  
 +
| updated         =
 
}}
 
}}
 
</pre>
 
</pre>
 +
{{clear}}
  
 
==Example==
 
==Example==
 
{{Infobox international basketball competition
 
{{Infobox international basketball competition
| tourney_name   = FIBA Basketball World Cup
+
| tourney_name = FIBA Basketball World Cup
| year           = 2014
+
| year         = 2014
| other_titles   = Copa Mundial de la FIBA España 2014
+
| other_titles = Copa Mundial de la FIBA España 2014
| image         = Madrid.jpg
+
| image         = Madrid.jpg
| size           = 130  
+
| size         = 130  
| alt           =  
+
| alt           =  
| caption       =  
+
| caption       =  
| city           =  
+
| city         =  
| country       = Spain
+
| country       = Spain
| dates         = 13 August – 14 September
+
| dates         = 13 August – 14 September
| num_teams     = 24
+
| num_teams     = 24
 
| federations  = 213
 
| federations  = 213
 
| venues        = 6
 
| venues        = 6
Line 111: Line 81:
 
| updated      =
 
| updated      =
 
}}
 
}}
 
+
<pre style="overflow:auto;">
 +
{{Infobox international basketball competition
 +
| tourney_name  = FIBA Basketball World Cup
 +
| year          = 2014
 +
| other_titles  = Copa Mundial de la FIBA España 2014
 +
| image        = Madrid.jpg
 +
| size          = 130
 +
| alt          =
 +
| caption      =
 +
| city          =
 +
| country      = Spain
 +
| dates        = 13 August – 14 September
 +
| num_teams    = 24
 +
| federations  = 213
 +
| venues        = 6
 +
| cities        = 6
 +
| champion      = United States
 +
| count        = 5
 +
| second        = Serbia
 +
| third        = France
 +
| fourth        = Lithuania
 +
| games        = 76
 +
| attendance    = 645135
 +
| mvp          = {{flagicon|USA}} [[Kyrie Irving]]
 +
| top_scorer    = {{flagicon|PUR}} [[J. J. Barea]] <br>(22.0 per game)
 +
| prevseason    = [[2010 FIBA World Championship|2010]]
 +
| nextseason    = [[2019 FIBA Basketball World Cup|2019]]
 +
| updated      =
 +
}}
 +
</pre>
 +
{{clear}}
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Basketball infobox templates]]
 
[[Category:Basketball infobox templates]]
 +
[[Category:Infobox templates with updated parameter]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 10:28, 15 October 2018

Usage

Template:Parameter names example

{{Infobox international basketball competition
| tourney_name     = <!-- PAGE NAME -->
| year             = 
| other_titles     = 
| image            = 
| size             = <!-- in pixels; enter an integer-->
| alt              = 
| caption          = 
| city             = 
| country          =
| dates            = <!-- {{Start date|YYYY|MM|DD|df=y}}–<br />{{End date|YYYY|MM|DD|df=y}} -->
| num_teams        = 
| confederations   = <!-- use only one of these three options -->
| sub-confederations = <!-- use only one of these three options -->
| associations     = <!-- use only one of these three options -->
| federations      = 
| venues           = 
| cities           = 
| champion         = <!-- automatically wraps into {{bk}} template -->
| champion-flagvar = <!-- use if the flag is other as current -->
| champion_other   = <!-- use instead if the team is not in {{bk}} (enter your own code) -->
| count            = 
| second           = <!-- automatically wraps into {{bk}} template -->
| second-flagvar   = <!-- use if the flag is other as current -->
| second_other     = <!-- use instead if the team is not in {{bk}} (enter your own code) -->
| third            = <!-- automatically wraps into {{bk}} template -->
| third-flagvar    = <!-- use if the flag is other as current -->
| third_other      = <!-- use instead if the team is not in {{bk}} (enter your own code) -->
| fourth           = <!-- automatically wraps into {{bk}} template -->
| fourth-flagvar   = <!-- use if the flag is other as current -->
| fourth_other     = <!-- use instead if the team is not in {{bk}} (enter your own code) -->
| semifinal1       = <!-- automatically wraps into {{bk}} template -->
| semifinal1_other = <!-- use instead if the team is not in {{bk}} (enter your own code) -->
| semifinal2       = <!-- automatically wraps into {{bk}} template -->
| semifinal2_other = <!-- use instead if the team is not in {{bk}} (enter your own code) -->
| games            = 
| attendance       = 
| mvp              = 
| top_scorer       = 
| ppg              = 
| prevseason       = 
| nextseason       = 
| updated          =
}}

Example

2014 FIBA Basketball World Cup
Copa Mundial de la FIBA España 2014
Madrid - Palacio de Comunicaciones.jpg
Tournament details
Host countrySpain
Dates13 August – 14 September
Teams24
Venue(s)6 (in 6 host cities)
Final positions
Champions United States (Template:Ordinal title)
Runners-up Serbia
Third place France
Fourth place Lithuania
Tournament statistics
Games played76
Attendance645,135 (8,489 per match)
MVPUnited States Kyrie Irving
Top scorerPuerto Rico J. J. Barea
(22.0 per game)
2010
2019
{{Infobox international basketball competition
| tourney_name  = FIBA Basketball World Cup
| year          = 2014
| other_titles  = Copa Mundial de la FIBA España 2014
| image         = Madrid.jpg
| size          = 130 
| alt           = 
| caption       = 
| city          = 
| country       = Spain
| dates         = 13 August – 14 September
| num_teams     = 24
| federations   = 213
| venues        = 6
| cities        = 6
| champion      = United States
| count         = 5
| second        = Serbia
| third         = France
| fourth        = Lithuania
| games         = 76
| attendance    = 645135
| mvp           = {{flagicon|USA}} [[Kyrie Irving]]
| top_scorer    = {{flagicon|PUR}} [[J. J. Barea]] <br>(22.0 per game)
| prevseason    = [[2010 FIBA World Championship|2010]] 
| nextseason    = [[2019 FIBA Basketball World Cup|2019]]
| updated       =
}}