Jump to content

Template:Infobox basketball club: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
I updated the wikicode formatting in the template.
No edit summary
 
(28 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{main other|{{#if:{{Has short description}} |<!--Do nothing--> |{{#invoke:Type in location|main|Basketball team|{{if empty|{{{location|}}}|{{{city|}}}}}}}}}}}{{infobox
{{infobox
| bodyclass = vcard
| bodyclass = vcard
| templatestyles = Infobox basketball club/styles.css


| abovestyle = {{#if:{{{defunct|}}}| |{{#if:{{{color1|}}}{{{colour1|}}}{{{color2|}}}{{{colour2|}}}{{{color3|}}}{{{colour3|}}}
| abovestyle = {{#if:{{{defunct|}}}| |{{#if:{{{color1|}}}{{{colour1|}}}{{{color2|}}}{{{colour2|}}}{{{color3|}}}{{{colour3|}}}
Line 12: Line 13:


| subheader = {{#if:{{{current|}}}
| subheader = {{#if:{{{current|}}}
| <table width="100%"><tr><td width="40px">[[File:Basketball current event.svg|30px|alt=|link=]]</td><td style="text-align:center; vertical-align:middle; border:0;">''[[{{{current}}}]]''</td></tr></table> }}
| [[File:Basketball current event.svg|30px|alt=|link=]] ''[[{{{current}}}]]''
}}


| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{image|}}}}}}|size={{{logo_size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|title={{{name}}} logo}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{if empty|{{{logo|}}}|{{{image|}}}}}|size={{if empty|{{{logo_size|}}}|{{{image_size|}}}|{{{imagesize|}}}}}|sizedefault=frameless|title={{{name}}} logo}}


| label1 = Nickname
| label1 = Nickname
Line 26: Line 28:


| label4 = {{#if:{{{league|}}}|League|Leagues}}
| label4 = {{#if:{{{league|}}}|League|Leagues}}
| data4 = {{#if:{{{league|}}}|{{{league}}}|{{{leagues|}}}}}
| data4 = {{if empty|{{{league|}}}|{{{leagues|}}}}}


| label5 = {{#if:{{{established|}}}|Established|Founded}}
| label5 = {{#if:{{{established|}}}|Established|Founded}}
| data5 = {{#if:{{{established|}}}|{{{established}}}|{{{founded|}}}}}
| data5 = {{if empty|{{{established|}}}|{{{founded|}}}}}


| label6 = {{#if:{{{folded|}}}|Folded|Dissolved}}
| label6 = {{#if:{{{folded|}}}|Folded|{{#if:{{{dissolved|}}}|Dissolved|Withdrew}}}}
| data6 = {{#if:{{{folded|}}}|{{{folded}}}|{{{dissolved|}}}}}
| data6 = {{if empty|{{{folded|}}}|{{{dissolved|}}}|{{{withdrew|}}}}}


| label7 = History
| label7 = History
| data7 = {{{history|}}}
| data7 = {{{history|}}}


| label8 = Arena
| label8 = {{#if:{{{arena|}}}|Arena|Stadium}}
| data8 = {{{arena|}}}
| data8 = {{if empty|{{{arena|}}}|{{{stadium|}}}}}


| label9 = Capacity
| label9 = Capacity
Line 44: Line 46:


| label10 = Location
| label10 = Location
| data10 = {{{location|{{{city|}}}}}}
| data10 = {{if empty|{{{location|}}}|{{{city|}}}}}


| label11 = Team {{#if:{{{colours|}}}|colours|colors}}
| label11 = Team {{#if:{{{colours|}}}|colours|colors}}
| data11 = {{#if:{{{colours|}}}|{{{colours|}}}|{{{colors|}}}}}
| data11 = {{if empty|{{{colours|}}}|{{{colors|}}}}}


| label12 = Main sponsor
| label12 = {{#if:{{{sponsor|}}}|Main sponsor|Company}}
| data12 = {{{sponsor|}}}
| data12 = {{if empty|{{{sponsor|}}}|{{{company|}}}}}


| label13 = CEO
| label13 = CEO
| data13 = {{{ceo|}}}
| data13 = {{{ceo|}}}


| label14 = President
| label14 = Chairman
| data14 = {{{president|{{{President|}}}}}}
| data14 = {{if empty|{{{chairman|}}}|{{{chairman|}}}}}


| label15 = Vice-president(s)
| label15 = President
| data15 = {{{vice-presidents|}}}
| data15 = {{if empty|{{{president|}}}|{{{President|}}}}}


| label16 = General manager
| label16 = Vice-president(s)
| data16 = {{{gm|}}}
| data16 = {{{vice-presidents|}}}


| label17 = Team manager
| label17 = {{#if:{{{gm|}}}|General manager|Board governor}}
| data17 = {{{manager|}}}
| data17 = {{if empty|{{{gm|}}}|{{{board_governor|}}}}}


| label18 = Head coach
| label18 = Team manager
| data18 = {{{coach|}}}
| data18 = {{{manager|}}}


| label19 = Assistant(s)
| label19 = Head coach{{#if:{{{coaches|}}}|es}}
| data19 = {{{assistants|}}}
| data19 = {{if empty|{{{coaches|}}}|{{{coach|}}}}}


| label20 = Team captain
| label20 = Assistant(s)
| data20 = {{{captain|}}}
| data20 = {{{assistants|}}}


| label21 = Ownership
| label21 = Team captain
| data21 = {{{ownership|{{{owner|{{{owners|}}}}}}}}}
| data21 = {{{captain|}}}


| label22 = Affiliation(s)
| label22 = Ownership
| data22 = {{{affiliation|{{{affiliations|}}}}}}
| data22 = {{if empty|{{{ownership|}}}|{{{owner|}}}|{{{owners|}}}}}


| label23 = Affiliation(s)
| label23 = {{#if:{{{season|}}}|{{{season}}} position|Most recent season position}}
| data23 = {{{position|}}}
| data23 = {{if empty|{{{affiliation|}}}|{{{affiliations|}}}}}


| label24 = {{#if:{{{season|}}}|{{{season}}} position|Most recent season position}}
| label24 = Championships
| data24 = {{{championships|{{{league_champs|}}}}}}
| data24 = {{{position|}}}


| label25 = Division/Conference titles
| label25 = Championships
| data25 = {{{division_champs|}}}
| data25 = {{if empty|{{{championships|}}}|{{{league_champs|}}}}}


| label26 = {{nowrap|Conference titles}}
| label26 = Division/Conference titles
| data26 = {{{conf_champs|}}}
| data26 = {{{division_champs|}}}


| label27 = {{#if:{{{competition1|}}}|{{{competition1}}} titles}}
| label27 = {{nowrap|Conference titles}}
| data27 = {{{competition1_champs|}}}
| data27 = {{{conf_champs|}}}


| label28 = {{#if:{{{competition2|}}}|{{{competition2}}} titles}}
| label28 = Division titles
| data28 = {{{competition2_champs|}}}
| data28 = {{{div_champs|}}}


| label29 = {{#if:{{{competition3|}}}|{{{competition3}}} titles}}
| label29 = {{#if:{{{competition1|}}}|{{{competition1}}} titles}}
| data29 = {{{competition3_champs|}}}
| data29 = {{{competition1_champs|}}}


| label30 = {{#if:{{{competition4|}}}|{{{competition4}}} titles}}
| label30 = {{#if:{{{competition2|}}}|{{{competition2}}} titles}}
| data30 = {{{competition4_champs|}}}
| data30 = {{{competition2_champs|}}}


| label31 = Division titles
| label31 = {{#if:{{{competition3|}}}|{{{competition3}}} titles}}
| data31 = {{{div_champs|}}}
| data31 = {{{competition3_champs|}}}


| label32 = {{#if:{{{competition4|}}}|{{{competition4}}} titles}}
| label32 = Playoff appearances
| data32 = {{{playoff_appearances|}}}
| data32 = {{{competition4_champs|}}}


| label33 = Retired numbers
| label33 = Playoff appearances
| data33 = {{{retired_numbers|{{{ret_nums|}}}}}}
| data33 = {{{playoff_appearances|}}}


| label34 = Website
| label34 = Retired numbers
| data34 = {{{website|}}}
| data34 = {{if empty|{{{retired_numbers|}}}|{{{ret_nums|}}}}}


| label35 = Website
| header35 = {{#if:{{{h_body|}}}|Uniforms}}
| data35 = {{{website|}}}


| data36 = {{#if:{{{h_body|}}}{{{h_pattern_b|}}}{{{h_shorts|}}}{{{h_pattern_s|}}} {{{a_body|}}}{{{a_pattern_b|}}}{{{a_shorts|}}}{{{a_pattern_s|}}} {{{3_title|}}}{{{3_body|}}}{{{3_pattern_b|}}}{{{3_shorts|}}}{{{3_pattern_s|}}} {{{4_title|}}}{{{4_body|}}}{{{4_pattern_b|}}}{{{4_shorts|}}}{{{4_pattern_s|}}} {{{5_title|}}}{{{5_body|}}}{{{5_pattern_b|}}}{{{5_shorts|}}}{{{5_pattern_s|}}} {{{6_title|}}}{{{6_body|}}}{{{6_pattern_b|}}}{{{6_shorts|}}}{{{6_pattern_s|}}}
| data36 = {{#if:{{{1_title|}}}{{{1_body|}}}{{{1_pattern_b|}}}{{{1_shorts|}}}{{{1_pattern_s|}}} {{{2_title|}}}{{{2_body|}}}{{{2_pattern_b|}}}{{{2_shorts|}}}{{{2_pattern_s|}}} {{{3_title|}}}{{{3_body|}}}{{{3_pattern_b|}}}{{{3_shorts|}}}{{{3_pattern_s|}}} {{{4_title|}}}{{{4_body|}}}{{{4_pattern_b|}}}{{{4_shorts|}}}{{{4_pattern_s|}}} {{{5_title|}}}{{{5_body|}}}{{{5_pattern_b|}}}{{{5_shorts|}}}{{{5_pattern_s|}}} {{{6_title|}}}{{{6_body|}}}{{{6_pattern_b|}}}{{{6_shorts|}}}{{{6_pattern_s|}}}{{{h_body|}}}{{{h_pattern_b|}}}{{{h_shorts|}}}{{{h_pattern_s|}}}{{{a_body|}}}{{{a_pattern_b|}}}{{{a_shorts|}}}{{{a_pattern_s|}}}
|<tr><td class="toccolours" style="padding: 0; border: 0px solid; text-align: center;" colspan="2">
|<tr><td style="padding: 0; background: #ffffff; text-align: center; border: 1px solid #D3D3D3;" colspan="2">
<table style="width:100%; text-align:center;">
<table class="kit">
<tr>
<tr>
{{#if:{{{h_body|}}}{{{h_pattern_b|}}}{{{h_shorts|}}}{{{h_pattern_s|}}}|
{{#if:{{{h_body|}}}{{{h_pattern_b|}}}{{{h_shorts|}}}{{{h_pattern_s|}}}|
<td>{{Basketball kit
<td>{{Basketball kit
| title = [[Basketball uniform|Home]]
| title = {{{h_title|[[Basketball uniform|Home]]}}}
| body = {{{h_body|ffffff}}}
| body = {{{h_body|ffffff}}}
| pattern_b = {{{h_pattern_b|_unknown}}}
| pattern_b = {{{h_pattern_b|_unknown}}}
| filetype = {{{h_filetype_b|png}}}
| shorts = {{{h_shorts|ffffff}}}
| shorts = {{{h_shorts|ffffff}}}
| pattern_s = {{{h_pattern_s|}}}
| pattern_s = {{{h_pattern_s|}}}
}}</td>
}}</td>
}}{{#if:{{{a_body|}}}{{{a_pattern_b|}}}{{{a_shorts|}}}{{{a_pattern_s|}}}|
}}{{#if:{{{a_body|}}}{{{a_pattern_b|}}}{{{a_shorts|}}}{{{a_pattern_s|}}}|
<td>{{Basketball kit
<td>{{Basketball kit
| title = [[Away colours|Away]]
| title = {{{a_title|[[Basketball uniform|Away]]}}}
| body = {{{a_body|eeeeee}}}
| body = {{{a_body|ffffff}}}
| pattern_b = {{{a_pattern_b|_unknown}}}
| pattern_b = {{{a_pattern_b|_unknown}}}
| shorts = {{{a_shorts|eeeeee}}}
| filetype = {{{a_filetype_b|png}}}
| pattern_s = {{{a_pattern_s|}}}
| shorts = {{{a_shorts|ffffff}}}
| pattern_s = {{{a_pattern_s|}}}
}}</td>
}}{{#if:{{{1_body|}}}{{{1_pattern_b|}}}{{{1_shorts|}}}{{{1_pattern_s|}}}|
<td>{{Basketball kit
| title = {{{1_title|[[Basketball uniform|Home]]}}}
| body = {{{1_body|ffffff}}}
| pattern_b = {{{1_pattern_b|_unknown}}}
| filetype = {{{1_filetype_b|png}}}
| shorts = {{{1_shorts|ffffff}}}
| pattern_s = {{{1_pattern_s|}}}
}}</td>
}}{{#if:{{{2_body|}}}{{{2_pattern_b|}}}{{{2_shorts|}}}{{{2_pattern_s|}}}|
<td>{{Basketball kit
| title = {{{2_title|[[Away colours|Away]]}}}
| body = {{{2_body|eeeeee}}}
| pattern_b = {{{2_pattern_b|_unknown}}}
| filetype = {{{2_filetype_b|png}}}
| shorts = {{{2_shorts|eeeeee}}}
| pattern_s = {{{2_pattern_s|}}}
}}</td>
}}</td>
}}{{#if:{{{3_title|}}}{{{3_body|}}}{{{3_pattern_b|}}}{{{3_shorts|}}}{{{3_pattern_s|}}}|
}}{{#if:{{{3_title|}}}{{{3_body|}}}{{{3_pattern_b|}}}{{{3_shorts|}}}{{{3_pattern_s|}}}|
Line 145: Line 168:
| body = {{{3_body|}}}
| body = {{{3_body|}}}
| pattern_b = {{{3_pattern_b|_unknown}}}
| pattern_b = {{{3_pattern_b|_unknown}}}
| filetype = {{{3_filetype_b|png}}}
| shorts = {{{3_shorts|}}}
| shorts = {{{3_shorts|}}}
| pattern_s = {{{3_pattern_s|}}}
| pattern_s = {{{3_pattern_s|}}}
Line 155: Line 179:
| body = {{{4_body|}}}
| body = {{{4_body|}}}
| pattern_b = {{{4_pattern_b|_unknown}}}
| pattern_b = {{{4_pattern_b|_unknown}}}
| filetype = {{{4_filetype_b|png}}}
| shorts = {{{4_shorts|}}}
| shorts = {{{4_shorts|}}}
| pattern_s = {{{4_pattern_s|}}}
| pattern_s = {{{4_pattern_s|}}}
Line 163: Line 188:
| body = {{{5_body|}}}
| body = {{{5_body|}}}
| pattern_b = {{{5_pattern_b|_unknown}}}
| pattern_b = {{{5_pattern_b|_unknown}}}
| filetype = {{{5_filetype_b|png}}}
| shorts = {{{5_shorts|}}}
| shorts = {{{5_shorts|}}}
| pattern_s = {{{5_pattern_s|}}}
| pattern_s = {{{5_pattern_s|}}}
Line 171: Line 197:
| body = {{{6_body|}}}
| body = {{{6_body|}}}
| pattern_b = {{{6_pattern_b|_unknown}}}
| pattern_b = {{{6_pattern_b|_unknown}}}
| filetype = {{{6_filetype_b|png}}}
| shorts = {{{6_shorts|}}}
| shorts = {{{6_shorts|}}}
| pattern_s = {{{6_pattern_s|}}}
| pattern_s = {{{6_pattern_s|}}}
Line 177: Line 204:
</table></td></tr>}}
</table></td></tr>}}


}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox basketball club with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox basketball club]] with unknown parameter "_VALUE_"|ignoreblank=y| 3_body | 3_pattern_b | 3_pattern_s | 3_shorts | 3_title | 4_body | 4_pattern_b | 4_pattern_s | 4_shorts | 4_title | 5_body | 5_pattern_b | 5_pattern_s | 5_shorts | 5_title | 6_body | 6_pattern_b | 6_pattern_s | 6_shorts | 6_title | a_body | a_pattern_b | a_pattern_s | a_shorts | affiliation | affiliations | arena | assistants | capacity | captain | ceo | championships | city | clubname | coach | color1 | color2 | color3 | colors | colour1 | colour2 | colour3 | colours | conf_champs | conference | current | dissolved | div_champs | division | division_champs | established | folded | founded | gm | h_body | h_pattern_b | h_pattern_s | h_shorts | history | image | image_size | imagesize | league | league_champs | leagues | location | logo | logo_size | manager | name | nickname | owner | owners | ownership | playoff_appearances | position | president | President | ret_nums | retired_numbers | season | sponsor | vice-presidents | website }}<noinclude>
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox basketball club with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox basketball club]] with unknown parameter "_VALUE_"|ignoreblank=y| 1_body | 1_pattern_b | 1_pattern_s | 1_shorts | 1_title | 2_body | 2_pattern_b | 2_pattern_s | 2_shorts | 2_title | 3_body | 3_pattern_b | 3_pattern_s | 3_shorts | 3_title | 4_body | 4_pattern_b | 4_pattern_s | 4_shorts | 4_title | 5_body | 5_pattern_b | 5_pattern_s | 5_shorts | 5_title | 6_body | 6_pattern_b | 6_pattern_s | 6_shorts | 6_title | a_body | a_pattern_b | a_pattern_s | a_shorts | a_title | affiliation | affiliations | arena | assistants | board_governor | capacity | captain | ceo | chairman | championships | city | clubname | coach | coaches | color1 | color2 | color3 | colors | colour1 | colour2 | colour3 | colours | company | competition1 | competition1_champs | competition2 | competition2_champs | competition3 | competition3_champs | competition4 | competition4_champs | conf_champs | conference | current | defunct | dissolved | div_champs | division | division_champs | established | folded | founded | gm | h_body | h_pattern_b | h_pattern_s | h_shorts | h_title | history | image | image_size | imagesize | league | league_champs | leagues | location | logo | logo_size | manager | media | name | nickname | owner | owners | ownership | playoff_appearances | position | president | President | ret_nums | retired_numbers | season | sponsor | stadium | vice-presidents | website | withdrew }}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 14:15, 13 December 2023