Jump to content

Template:Infobox basketball club: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Rvt undiscussed change
more robust blank parameter logic
Line 14: Line 14:
| <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> }}
| <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> }}


| 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 26:


| 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|Dissolved}}
| data6 = {{#if:{{{folded|}}}|{{{folded}}}|{{{dissolved|}}}}}
| data6 = {{if empty|{{{folded|}}}|{{{dissolved|}}}}}


| label7 = History
| label7 = History
Line 38: Line 38:


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


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


| 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 = Main sponsor
Line 56: Line 56:


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


| label15 = Vice-president(s)
| label15 = Vice-president(s)
Line 67: Line 67:
| data17 = {{{manager|}}}
| data17 = {{{manager|}}}


| label18 = Head coach
| label18 = Head coach{{#if:{{{coaches|}}}|es}}
| data18 = {{{coach|}}}
| data18 = {{if empty|{{{coaches|}}}|{{{coach|}}}}}


| label19 = Assistant(s)
| label19 = Assistant(s)
Line 77: Line 77:


| label21 = Ownership
| label21 = Ownership
| data21 = {{{ownership|{{{owner|{{{owners|}}}}}}}}}
| data21 = {{if empty|{{{ownership|}}}|{{{owner|}}}|{{{owners|}}}}}


| label22 = Affiliation(s)
| label22 = Affiliation(s)
| data22 = {{{affiliation|{{{affiliations|}}}}}}
| data22 = {{if empty|{{{affiliation|}}}|{{{affiliations|}}}}}


| label23 = {{#if:{{{season|}}}|{{{season}}} position|Most recent season position}}
| label23 = {{#if:{{{season|}}}|{{{season}}} position|Most recent season position}}
Line 86: Line 86:


| label24 = Championships
| label24 = Championships
| data24 = {{{championships|{{{league_champs|}}}}}}
| data24 = {{if empty|{{{championships|}}}|{{{league_champs|}}}}}


| label25 = Division/Conference titles
| label25 = Division/Conference titles
Line 113: Line 113:


| label33 = Retired numbers
| label33 = Retired numbers
| data33 = {{{retired_numbers|{{{ret_nums|}}}}}}
| data33 = {{if empty|{{{retired_numbers|}}}|{{{ret_nums|}}}}}


| label34 = Website
| label34 = Website
| data34 = {{{website|}}}
| data34 = {{{website|}}}

| 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|}}}
| 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; background: #ffffff; text-align: center;" colspan="2">
|<tr><td class="toccolours" style="padding: 0; background: #ffffff; text-align: center;" colspan="2">
Line 191: Line 190:
</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| 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 | capacity | captain | ceo | championships | city | clubname | coach | color1 | color2 | color3 | colors | colour1 | colour2 | colour3 | colours | 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 | name | nickname | owner | owners | ownership | playoff_appearances | position | President | president | ret_nums | retired_numbers | season | sponsor | stadium | 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 | capacity | captain | ceo | championships | city | clubname | coach | coaches | color1 | color2 | color3 | colors | colour1 | colour2 | colour3 | colours | 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 | name | nickname | owner | owners | ownership | playoff_appearances | position | president | President | ret_nums | retired_numbers | season | sponsor | stadium | vice-presidents | website }}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 17:18, 2 December 2019