Template:Infobox basketball club: Difference between revisions
Appearance
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|}}} |
||
| |
| [[File:Basketball current event.svg|30px|alt=|link=]] ''[[{{{current}}}]]'' |
||
}} |
|||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{image| |
| 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 = {{ |
| data4 = {{if empty|{{{league|}}}|{{{leagues|}}}}} |
||
| label5 = {{#if:{{{established|}}}|Established|Founded}} |
| label5 = {{#if:{{{established|}}}|Established|Founded}} |
||
| data5 = {{ |
| data5 = {{if empty|{{{established|}}}|{{{founded|}}}}} |
||
| label6 = {{#if:{{{folded|}}}|Folded|Dissolved}} |
| label6 = {{#if:{{{folded|}}}|Folded|{{#if:{{{dissolved|}}}|Dissolved|Withdrew}}}} |
||
| data6 = {{ |
| 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 = {{ |
| 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 = |
| label14 = Chairman |
||
| data14 = {{ |
| data14 = {{if empty|{{{chairman|}}}|{{{chairman|}}}}} |
||
| label15 = |
| label15 = President |
||
| data15 = {{{ |
| data15 = {{if empty|{{{president|}}}|{{{President|}}}}} |
||
| label16 = |
| label16 = Vice-president(s) |
||
| data16 = {{{ |
| data16 = {{{vice-presidents|}}} |
||
| label17 = |
| label17 = {{#if:{{{gm|}}}|General manager|Board governor}} |
||
| data17 = {{{ |
| data17 = {{if empty|{{{gm|}}}|{{{board_governor|}}}}} |
||
| label18 = |
| label18 = Team manager |
||
| data18 = {{{ |
| data18 = {{{manager|}}} |
||
| label19 = |
| label19 = Head coach{{#if:{{{coaches|}}}|es}} |
||
| data19 = {{{ |
| data19 = {{if empty|{{{coaches|}}}|{{{coach|}}}}} |
||
| label20 = |
| label20 = Assistant(s) |
||
| data20 = {{{ |
| data20 = {{{assistants|}}} |
||
| label21 = |
| label21 = Team captain |
||
| data21 = {{{ |
| data21 = {{{captain|}}} |
||
| label22 = |
| label22 = Ownership |
||
| data22 = {{{ |
| data22 = {{if empty|{{{ownership|}}}|{{{owner|}}}|{{{owners|}}}}} |
||
| label23 = Affiliation(s) |
|||
⚫ | |||
| data23 = {{{ |
| data23 = {{if empty|{{{affiliation|}}}|{{{affiliations|}}}}} |
||
⚫ | |||
| label24 = Championships |
|||
| data24 = {{{ |
| data24 = {{{position|}}} |
||
| label25 = |
| label25 = Championships |
||
| data25 = {{{ |
| data25 = {{if empty|{{{championships|}}}|{{{league_champs|}}}}} |
||
| label26 = |
| label26 = Division/Conference titles |
||
| data26 = {{{ |
| data26 = {{{division_champs|}}} |
||
| label27 = {{ |
| label27 = {{nowrap|Conference titles}} |
||
| data27 = {{{ |
| data27 = {{{conf_champs|}}} |
||
| label28 = |
| label28 = Division titles |
||
| data28 = {{{ |
| data28 = {{{div_champs|}}} |
||
| label29 = {{#if:{{{ |
| label29 = {{#if:{{{competition1|}}}|{{{competition1}}} titles}} |
||
| data29 = {{{ |
| data29 = {{{competition1_champs|}}} |
||
| label30 = {{#if:{{{ |
| label30 = {{#if:{{{competition2|}}}|{{{competition2}}} titles}} |
||
| data30 = {{{ |
| data30 = {{{competition2_champs|}}} |
||
| label31 = |
| label31 = {{#if:{{{competition3|}}}|{{{competition3}}} titles}} |
||
| data31 = {{{ |
| data31 = {{{competition3_champs|}}} |
||
| label32 = {{#if:{{{competition4|}}}|{{{competition4}}} titles}} |
|||
| label32 = Playoff appearances |
|||
| data32 = {{{ |
| data32 = {{{competition4_champs|}}} |
||
| label33 = |
| label33 = Playoff appearances |
||
| data33 = {{{ |
| data33 = {{{playoff_appearances|}}} |
||
| label34 = |
| label34 = Retired numbers |
||
| data34 = {{{ |
| data34 = {{if empty|{{{retired_numbers|}}}|{{{ret_nums|}}}}} |
||
| label35 = Website |
|||
| header35 = {{#if:{{{h_body|}}}|Uniforms}} |
|||
| data35 = {{{website|}}} |
|||
| data36 = {{#if:{{{ |
| 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 |
|<tr><td style="padding: 0; background: #ffffff; text-align: center; border: 1px solid #D3D3D3;" colspan="2"> |
||
<table |
<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 = [[ |
| title = {{{a_title|[[Basketball uniform|Away]]}}} |
||
| body = {{{a_body| |
| body = {{{a_body|ffffff}}} |
||
| pattern_b = {{{a_pattern_b|_unknown}}} |
| pattern_b = {{{a_pattern_b|_unknown}}} |
||
| |
| filetype = {{{a_filetype_b|png}}} |
||
| |
| 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
This template is used on approximately 3,100 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
This template uses TemplateStyles: |
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. |
Usage
{{{name}}} | |||||||
---|---|---|---|---|---|---|---|
[[{{{current}}}]] | |||||||
[[File:{{{logo}}}|{{{logo_size}}}|{{{name}}} logo]] | |||||||
Nickname | {{{nickname}}} | ||||||
Conference | {{{conference}}} | ||||||
Division | {{{division}}} | ||||||
League | {{{league}}} | ||||||
Established | {{{established}}} | ||||||
Folded | {{{folded}}} | ||||||
History | {{{history}}} | ||||||
Arena | {{{arena}}} | ||||||
Capacity | {{{capacity}}} | ||||||
Location | {{{location}}} | ||||||
Team colours | {{{colours}}} | ||||||
Main sponsor | {{{sponsor}}} | ||||||
CEO | {{{ceo}}} | ||||||
President | {{{president}}} | ||||||
Vice-president(s) | {{{vice-presidents}}} | ||||||
General manager | {{{gm}}} | ||||||
Team manager | {{{manager}}} | ||||||
Head coach | {{{coach}}} | ||||||
Assistant(s) | {{{assistants}}} | ||||||
Team captain | {{{captain}}} | ||||||
Ownership | {{{ownership}}} | ||||||
Affiliation(s) | {{{affiliation}}} | ||||||
{{{season}}} position | {{{position}}} | ||||||
Championships | {{{championships}}} | ||||||
Division/Conference titles | {{{division_champs}}} | ||||||
Conference titles | {{{conf_champs}}} | ||||||
Division titles | {{{div_champs}}} | ||||||
Playoff appearances | {{{playoff_appearances}}} | ||||||
Retired numbers | {{{retired_numbers}}} | ||||||
Website | {{{website}}} | ||||||
|
{{Infobox basketball club
| name = <!-- required -->
| color1 = <!-- or | colour1 = -->
| color2 = <!-- or | colour2 = -->
| color3 = <!-- or | colour3 = -->
| logo =
| nickname =
| league = <!-- or | league = -->
| conference =
| division =
| founded = <!-- or | established = -->
| dissolved = <!-- or | folded = -->
| history =
| arena =
| capacity =
| location =
| colors = <!-- or | colours = -->
| current =
| sponsor =
| media =
| president =
| chairman =
| vice-presidents =
| gm = <!--general manager-->
| manager =
| coach =
| captain =
| ownership =
| championships =
| conf_champs =
| div_champs =
| season =
| position =
| website =
| 1_title =
| 1_body =
| 1_pattern_b =
| 1_shorts =
| 1_pattern_s =
| 2_title =
| 2_body =
| 2_pattern_b =
| 2_shorts =
| 2_pattern_s =
}}
Alternate team jersey
To add more team jerseys, use
| 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 =