Jump to content

Template:Infobox basketball league season and Template:Infobox basketball league season/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
imported>Jonesey95
fix text color in dark mode; this generally works but may cause problems, in which case revert or try specifying a different CSS value
 
imported>Nthep
←Created page with '<!-- Add your experimental template code here. --><noinclude> {{Documentation}} </noinclude>'
 
Line 1: Line 1:
{{main other|{{Short description|2=noreplace|Basketball league season}}}}{{Infobox
<!--
| bodystyle = width:auto; min-width:22em; max-width:30em
| autoheaders = y


| image  = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{image|}}}}}}|size={{{pixels|}}}|sizedefault=200px|border|alt={{{alt|}}}}}
  Add your experimental template code here.
| caption = {{{caption|}}}
| above  = {{{title|{{{PAGENAME|{{PAGENAME}}}}}}}}
| abovestyle = font-size: 113%; background: {{{color|{{{colour|{{{t_bg|#DDDDDD}}}}}}}}}; color: {{{color text|{{{color_text|{{{colour text|{{{colour_text|{{{t_color|#000000}}}}}}}}}}}}}}}
| headerstyle = background:#DDDDDD;color:inherit;


| label1  = [[Sports league|League]]
--><noinclude>
| data1  = {{{league|}}}
{{Documentation}}
 
</noinclude>
| label2  = Season
| data2  = {{{season|}}}
 
| label3 = {{#if:{{{duration|}}}|Duration|Dates}}
| data3  = {{{duration|{{{dates|}}}}}}
 
| label5 = {{#if:{{{number_of_games|}}}{{{games|}}}|{{#if:{{{number_of_games|}}}|Number of games|Games played}}|{{#if:{{{number_of_matches|}}}|Number of matches|Matches played}}}}
| data5  = {{formatnum:{{{number_of_games|{{{games|{{{number_of_matches|{{{matches|}}}}}}}}}}}}}}
| label6 = {{#if:{{{number_of_teams|}}}|Number of teams|Teams}}
| data6  = {{{number_of_teams|{{{teams|}}}}}}
 
| label7 = TV partner(s)
| data7  = {{{TV|}}}
 
| label8 = Streaming partner(s)
| data8 = {{{streaming|}}}
 
| header9  = {{if empty| {{#if:{{{regular_season_link|}}} | {{#if:{{{regular_season|}}}|[[{{{regular_season_link}}}|{{{regular_season}}}]]|[[{{{regular_season_link}}}]]}} }} | {{{regular_season|}}} | Regular season}}
 
| label10 = {{if empty|{{{season_champ_name|}}}|Season champions}}
|  data10 = {{{season_champs|}}}
 
| label11 = {{if empty|{{{league_champ_name|}}}|League champions}}
|  data11 = {{{league_champs|}}}
 
| label12 = &nbsp;&nbsp;Minor champions
|  data12 = {{{minor_champions|}}}
 
| label13 = &nbsp;&nbsp;Minor premiers
|  data13 = {{{minor_premiers|}}}
 
| label14  = Top seed
| data14  = {{{top_seed|}}}
 
| label15  = {{{continentalcup1|}}}
| data15  = {{{continentalcup1 qualifiers|}}}
| label16  = {{{continentalcup2|}}}
| data16  = {{{continentalcup2 qualifiers|}}}
| label17  = {{{continentalcup3|}}}
| data17  = {{{continentalcup3 qualifiers|}}}
| label18  = {{{continentalcup4|}}}
| data18  = {{{continentalcup4 qualifiers|}}}
 
| label19 = Season {{#if:{{{MVP|}}}|{{#if:{{{MVP_link|}}}|[[{{{MVP_link}}}|MVP]] | MVP }}| }}
| data19  = {{#if:{{{MVP|}}}|{{#if:{{{MVP_n|}}}|{{#if:{{{women|}}}|{{bkwicon|{{{MVP_n}}}|size=20px}}|{{bkicon|{{{MVP_n}}}|size=20px}}}}|}} {{{MVP|}}}| }}
 
| label20  = [[Promotion and relegation|Promoted]]
| data20  = {{{promoted|}}}
| label21  = [[Promotion and relegation|Relegated]]
| data21  = {{{relegated|}}}
 
| header22 = {{if empty| {{#if:{{{finals_link|}}} | {{#if:{{{finals|}}}|[[{{{finals_link}}}|{{{finals}}}]]|[[{{{finals_link}}}]]}} }} | {{{finals|}}} | Finals}}
 
| label23  = {{#if:{{{American|}}}|Champion(s)|Champions}}
| data23  = {{{champions|{{{winners|}}} }}}
 
| label24  = Runners-up
| data24  = {{{runners_up|}}}
 
| label25  = Semifinalists
| data25  = {{{semifinalists|}}}
 
| label26  = Third place
| data26  = {{{third_place|}}}
 
| label27  = Fourth place
| data27  = {{{fourth_place|}}}
 
| label28 = Finals {{#if:{{{finals_MVP|}}}|{{#if:{{{finals_MVP_link|}}}|[[{{{finals_MVP_link}}}|MVP]] | MVP }}| }}
| data28  = {{#if:{{{finals_MVP|}}}|{{#if:{{{finals_MVP_n|}}}|{{#if:{{{women|}}}|{{bkwicon|{{{finals_MVP_n}}}|size=20px}}|{{bkicon|{{{finals_MVP_n}}}|size=20px}}}}|}} {{{finals_MVP|}}}| }}
| label29 = {{#if:{{{final_four_MVP|}}}|{{#if:{{{final_four_MVP_link|}}}|[[{{{final_four_MVP_link}}}|Final Four MVP]] | Final Four MVP }}| }}
| data29  = {{#if:{{{final_four_MVP|}}}|{{#if:{{{final_four_MVP_n|}}}|{{#if:{{{women|}}}|{{bkwicon|{{{final_four_MVP_n}}}|size=20px}}|{{bkicon|{{{final_four_MVP_n}}}|size=20px}}}}|}} {{{final_four_MVP|}}}| }}
| label30 = {{#if:{{{playoffs_MVP|}}}|{{#if:{{{playoffs_MVP_link|}}}|[[{{{playoffs_MVP_link}}}|Playoffs MVP]] | Playoffs MVP }}| }}
| data30  = {{#if:{{{playoffs_MVP|}}}|{{#if:{{{playoffs_MVP_n|}}}|{{#if:{{{women|}}}|{{bkwicon|{{{playoffs_MVP_n}}}|size=20px}}|{{bkicon|{{{playoffs_MVP_n}}}|size=20px}}}}|}} {{{playoffs_MVP|}}}| }}
| label31 = {{#if:{{{grand_final_MVP|}}}|{{#if:{{{grand_final_MVP_link|}}}|[[{{{grand_final_MVP_link}}}|Grand Final MVP]] | Grand Final MVP }}| }}
| data31  = {{#if:{{{grand_final_MVP|}}}|{{#if:{{{grand_final_MVP_n|}}}|{{#if:{{{women|}}}|{{bkwicon|{{{grand_final_MVP_n}}}|size=20px}}|{{bkicon|{{{grand_final_MVP_n}}}|size=20px}}}}|}} {{{grand_final_MVP|}}}| }}
 
| header32 = {{#if:{{{major|}}}|Major awards|Awards}}
 
| label33 = {{#if:{{{award4_winner|}}}|{{#if:{{{award4_link|}}}|[[{{{award4_link}}}|{{{award4|}}}]] | {{{award4|}}} }}| }}
| data33  = {{#if:{{{award4_winner|}}}|{{#if:{{{award4_n|}}}|{{#if:{{{women|}}}|{{bkwicon|{{{award4_n}}}|size=20px}}|{{bkicon|{{{award4_n}}}|size=20px}}}}|}} {{{award4_winner|}}}| }}
| label34 = {{#if:{{{award5_winner|}}}|{{#if:{{{award5_link|}}}|[[{{{award5_link}}}|{{{award5|}}}]] | {{{award5|}}} }}| }}
| data34  = {{#if:{{{award5_winner|}}}|{{#if:{{{award5_n|}}}|{{#if:{{{women|}}}|{{bkwicon|{{{award5_n}}}|size=20px}}|{{bkicon|{{{award5_n}}}|size=20px}}}}|}} {{{award5_winner|}}}| }}
| label35 = {{#if:{{{award6_winner|}}}|{{#if:{{{award6_link|}}}|[[{{{award6_link}}}|{{{award6|}}}]] | {{{award6|}}} }}| }}
| data35  = {{#if:{{{award6_winner|}}}|{{#if:{{{award6_n|}}}|{{#if:{{{women|}}}|{{bkwicon|{{{award6_n}}}|size=20px}}|{{bkicon|{{{award6_n}}}|size=20px}}}}|}} {{{award6_winner|}}}| }}
| label36 = {{#if:{{{award7_winner|}}}|{{#if:{{{award7_link|}}}|[[{{{award7_link}}}|{{{award7|}}}]] | {{{award7|}}} }}| }}
| data36  = {{#if:{{{award7_winner|}}}|{{#if:{{{award7_n|}}}|{{#if:{{{women|}}}|{{bkwicon|{{{award7_n}}}|size=20px}}|{{bkicon|{{{award7_n}}}|size=20px}}}}|}} {{{award7_winner|}}}| }}
| label37 = {{#if:{{{award8_winner|}}}|{{#if:{{{award8_link|}}}|[[{{{award8_link}}}|{{{award8|}}}]] | {{{award8|}}} }}| }}
| data37  = {{#if:{{{award8_winner|}}}|{{#if:{{{award8_n|}}}|{{#if:{{{women|}}}|{{bkwicon|{{{award8_n}}}|size=20px}}|{{bkicon|{{{award8_n}}}|size=20px}}}}|}} {{{award8_winner|}}}| }}
| label38 = {{#if:{{{award9_winner|}}}|{{#if:{{{award9_link|}}}|[[{{{award9_link}}}|{{{award9|}}}]] | {{{award9|}}} }}| }}
| data38  = {{#if:{{{award9_winner|}}}|{{#if:{{{award9_n|}}}|{{#if:{{{women|}}}|{{bkwicon|{{{award9_n}}}|size=20px}}|{{bkicon|{{{award9_n}}}|size=20px}}}}|}} {{{award9_winner|}}}| }}
 
| header39 = Statistical leaders
| data40 = {{#if:{{{top_scorer|}}}{{{rebounds_leader|}}}{{{assists_leader|}}}{{{PIR_leader|}}}{{{efficiency_leader|}}}{{{steals_leader|}}}{{{blocks_leader|}}}|
{{infobox3cols|child=yes
| label1 = {{#if:{{{top_scorer_link|}}} | [[{{{top_scorer_link}}}|Points]] | Points }}
| data1a = {{#if:{{{top_scorer|}}}|{{#if:{{{ppg_n|}}}|{{#if:{{{women|}}}|{{bkwicon|{{{ppg_n}}}|size=20px}}|{{bkicon|{{{ppg_n}}}|size=20px}}}}|}} {{{top_scorer|}}} | }}
| data1b = {{#if:{{{top_scorer|}}}|{{{ppg|}}}|}}
| label2 = {{#if:{{{rebounds_leader|}}}|[[Rebound (basketball)|Rebounds]]| }}
| data2a = {{#if:{{{rebounds_leader|}}}|{{#if:{{{rpg_n|}}}|{{#if:{{{women|}}}|{{bkwicon|{{{rpg_n}}}|size=20px}}|{{bkicon|{{{rpg_n}}}|size=20px}}}}|}} {{{rebounds_leader|}}} | }}
| data2b = {{#if:{{{rebounds_leader|}}}|{{{rpg|}}}|}}
| label3 = {{#if:{{{assists_leader|}}}|[[Assist (basketball)|Assists]]| }}
| data3a = {{#if:{{{assists_leader|}}}|{{#if:{{{apg_n|}}}|{{#if:{{{women|}}}|{{bkwicon|{{{apg_n}}}|size=20px}}|{{bkicon|{{{apg_n}}}|size=20px}}}}|}} {{{assists_leader|}}} | }}
| data3b = {{#if:{{{assists_leader|}}}|{{{apg|}}}|}}
| label4 = {{#if:{{{steals_leader|}}}|[[Steals (basketball)|Steals]]| }}
| data4a = {{#if:{{{steals_leader|}}}|{{#if:{{{spg_n|}}}|{{#if:{{{women|}}}|{{bkwicon|{{{spg_n}}}|size=20px}}|{{bkicon|{{{spg_n}}}|size=20px}}}}|}} {{{steals_leader|}}} | }}
| data4b = {{#if:{{{steals_leader|}}}|{{{spg|}}}|}}
| label5 = {{#if:{{{blocks_leader|}}}|[[Block (basketball)|Blocks]]| }}
| data5a = {{#if:{{{blocks_leader|}}}|{{#if:{{{bpg_n|}}}|{{#if:{{{women|}}}|{{bkwicon|{{{bpg_n}}}|size=20px}}|{{bkicon|{{{bpg_n}}}|size=20px}}}}|}} {{{blocks_leader|}}} | }}
| data5b = {{#if:{{{blocks_leader|}}}|{{{bpg|}}}|}}
| label6 = {{#if:{{{PIR_leader|}}}|Index Rating| {{#if:{{{efficiency_leader|}}}|[[Efficiency (basketball)|Efficiency]]| }} }}
| data6a = {{#if:{{{PIR_leader|}}}|{{#if:{{{pir_n|}}}|{{#if:{{{women|}}}|{{bkwicon|{{{pir_n}}}|size=20px}}|{{bkicon|{{{pir_n}}}|size=20px}}}}|}} {{{PIR_leader|}}} | {{#if:{{{efficiency_leader|}}}|{{#if:{{{epg_n|}}}|{{#if:{{{women|}}}|{{bkwicon|{{{epg_n}}}|size=20px}}|{{bkicon|{{{epg_n}}}|size=20px}}}}|}} {{{efficiency_leader|}}} | }} }}
| data6b = {{#if:{{{PIR_leader|}}}|{{{pir|}}}|{{#if:{{{efficiency_leader|}}}|{{{epg|}}}|}}}}
}}
}}
| header41 = Records
| label42 = Biggest home win
| data42  = {{{biggest_home_win|}}}
| label43 = Biggest away win
| data43  = {{{biggest_away_win|}}}
| label44 = Highest scoring
| data44 = {{{highest_scoring|}}}
| label45 = Lowest scoring
| data45 = {{{lowest_scoring|}}}
| label46 = [[Winning streak]]
| data46  = {{{winning_streak|}}}
| label47 = [[Losing streak]]
| data47  = {{{losing_streak|}}}
| label48 = Highest attendance
| data48  = {{{highest_attendance|}}}
| label49 = Lowest attendance
| data49  = {{{lowest_attendance|}}}
| label50 = Attendance
| data50  = {{#if:{{{attendance|}}}|{{formatnum: {{{attendance|0}}}}}{{#if:{{{matches|}}}|&nbsp;({{formatnum: {{#expr: {{{attendance|0}}} / {{{matches|1}}} round 0}}}} per match) }} }}
| label51 = Total attendance
| data51  = {{{total_attendance|}}}
| label52 = Average attendance
| data52  = {{{average_attendance|}}}
| rowclass53 = noprint
| header53 = {{#if: {{{seasonslist|}}}{{{seasonslistnames|}}}{{{prevseason_link|}}}{{{prevseason_year|}}}{{{altseason_link|}}}{{{altseason_year|}}}{{{nextseason_link|}}}{{{nextseason_year|}}}|
  {{#if:{{{seasonslistnames|}}} | {{#if:{{{seasonslist|}}} | {{auto link|{{{seasonslist}}}| {{{seasonslistnames}}} seasons}} | {{{seasonslistnames}}} seasons }}  | Seasons}}
}}
| rowclass54 = noprint
| data54  ={{#if:{{{prevseason_year|}}}
    |{{align|left|{{auto link|{{{prevseason_link}}}|←&nbsp;{{{prevseason_year}}}}}}}
    }}{{#if:{{{altseason_year|}}}
    |{{align|right|{{auto link|{{{altseason_link}}}|{{{altseason_year}}}}}}}
    }}{{#if:{{{nextseason_year|}}}
    |{{align|right|{{auto link|{{{nextseason_link}}}|{{{nextseason_year}}}&nbsp;→}}}}
    }}
| below  = {{#if:{{{prevseason|}}}|{{align|left|← {{{prevseason|}}} }}}}{{#if:{{{nextseason|}}}|{{align|right|{{{nextseason|}}} → }}}}
 
{{#if:{{{updated|}}}|{{clear}}<small>All statistics correct as of {{{updated}}}.</small>}}{{#if:{{{extra information|}}}|{{clear}}<small>{{{extra information}}}</small>}}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox basketball league season with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox basketball league season]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | altseason_link | altseason_year | American | apg | apg_n | assists_leader | attendance | average_attendance | award4 | award4_link | award4_n | award4_winner | award5 | award5_link | award5_n | award5_winner | award6 | award6_link | award6_n | award6_winner | award7 | award7_link | award7_n | award7_winner | award8 | award8_link | award8_n | award8_winner | award9 | award9_link | award9_n | award9_winner | biggest_away_win | biggest_home_win | blocks_leader | bpg | bpg_n | caption | champions | color | color text | color_text | colour | colour text | colour_text | continentalcup1 | continentalcup1 qualifiers | continentalcup2 | continentalcup2 qualifiers | continentalcup3 | continentalcup3 qualifiers | continentalcup4 | continentalcup4 qualifiers | dates | duration | efficiency_leader | epg | epg_n | extra information | final_four_MVP | final_four_MVP_link | final_four_MVP_n | finals | finals_link | finals_MVP | finals_MVP_link | finals_MVP_n | fourth_place | games | grand_final_MVP | grand_final_MVP_link | grand_final_MVP_n | highest_attendance | highest_scoring | image | league | league_champ_name | league_champs | logo | losing_streak | lowest_attendance | lowest_scoring | major | matches | minor_champions | minor_premiers | MVP | MVP_link | MVP_n | nextseason | nextseason_link | nextseason_year | number_of_games | number_of_matches | number_of_teams | PAGENAME | pir | PIR_leader | pir_n | pixels | playoffs_MVP | playoffs_MVP_link | playoffs_MVP_n | ppg | ppg_n | prevseason | prevseason_link | prevseason_year | promoted | rebounds_leader | regular_season | regular_season_link | relegated | rpg | rpg_n | runners_up | season | season_champ_name | season_champs | seasonslist | seasonslistnames | semifinalists | streaming | spg | spg_n | steals_leader | t_bg | t_color | teams | third_place | title | top_scorer | top_scorer_link | top_seed | total_attendance | TV | updated | winners | winning_streak | women }}<noinclude>{{documentation}}</noinclude>