Difference between revisions of "Template:Infobox NBA season"

From blackwiki
Jump to navigation Jump to search
imported>Tk421mesa
(attempting to add logo functionality.)
imported>Sabbatino
(Undid revision 1000415437 by Tk421mesa (talk) We don't use logos for season pages)
 
Line 3: Line 3:
 
| abovestyle = font-size:110%; white-space:nowrap; padding:3px; background-color: {{if empty|{{{color|}}}|{{{Color|}}}|LightSteelBlue}}
 
| abovestyle = font-size:110%; white-space:nowrap; padding:3px; background-color: {{if empty|{{{color|}}}|{{{Color|}}}|LightSteelBlue}}
 
| above = <includeonly>{{auto link|{{#ifeq:{{{end_year}}}|2000|1999–2000|{{#expr:{{if empty|{{{end_year|}}}|{{CURRENTYEAR}}}}-1}}–{{padleft:{{#expr:{{if empty|{{{end_year|}}}|{{CURRENTYEAR}}}} mod 100}}|2|0}}}} {{#switch:{{if empty|{{{league|}}}|NBA}}|NBL=National Basketball League (United States)|#default={{if empty|{{{league|}}}|NBA}}}} season|{{#ifeq:{{{end_year}}}|2000|1999–2000|{{#expr:{{if empty|{{{end_year|}}}|{{CURRENTYEAR}}}}-1}}–{{padleft:{{#expr:{{if empty|{{{end_year|}}}|{{CURRENTYEAR}}}} mod 100}}|2|0}}}}}}&nbsp;<span class="fn org">{{#if:{{{team_link|}}}|[[{{{team_link}}}|{{{team}}}]]|[[{{{team}}}]]}}</span> season</includeonly>
 
| above = <includeonly>{{auto link|{{#ifeq:{{{end_year}}}|2000|1999–2000|{{#expr:{{if empty|{{{end_year|}}}|{{CURRENTYEAR}}}}-1}}–{{padleft:{{#expr:{{if empty|{{{end_year|}}}|{{CURRENTYEAR}}}} mod 100}}|2|0}}}} {{#switch:{{if empty|{{{league|}}}|NBA}}|NBL=National Basketball League (United States)|#default={{if empty|{{{league|}}}|NBA}}}} season|{{#ifeq:{{{end_year}}}|2000|1999–2000|{{#expr:{{if empty|{{{end_year|}}}|{{CURRENTYEAR}}}}-1}}–{{padleft:{{#expr:{{if empty|{{{end_year|}}}|{{CURRENTYEAR}}}} mod 100}}|2|0}}}}}}&nbsp;<span class="fn org">{{#if:{{{team_link|}}}|[[{{{team_link}}}|{{{team}}}]]|[[{{{team}}}]]}}</span> season</includeonly>
 
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}} }}
 
  
 
<!-- Championships (if any) -->
 
<!-- Championships (if any) -->

Latest revision as of 15:42, 17 January 2021

Owner(s)Script error: No such module "If empty".

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]
  1. redirect Template:Parameter names example

Usage

{{Infobox NBA season
| team = 
| league = 
| end_year = 
| championship_win = yes
| conference_win = yes
| division_win = yes
| coach = 
| gm = 
| owners = 
| arena =  
| wins = 
| losses = 
| division = 
| division_place = 
| conf_place = 
| playoffs = 
| bbr_team = 
| television = 
| radio = 
}}

League is an optional argument which can be used to specify pre-NBA leagues (e.g., |league=ABA or |league=NBL).

The following flags may be used if the season list, previous season, or next season should not be displayed. Any non-space character in the assignment

| no_seasonlist = 1
| no_prevseason = 1
| no_nextseason = 1

The following flags may be used if the team name changes before or after the season.

| prev_name = Former Name
| next_name = New Name

The following flags may be used if the team is in hiatus before or after the season.

| prev_season = Former Season Year
| next_season = New Season Year

Example

Expression error: Unexpected < operator.Expression error: Unexpected < operator. Washington Wizards season
Head coachEddie Jordan
OwnersScript error: No such module "If empty".
ArenaVerizon Center
Results
Record43–39 Expression error: Unexpected < operator.
PlaceDivision: 2nd (Southeast)
Conference: 5th (Eastern)
Playoff finishFirst Round
(eliminated 2–4)

Stats @ Script error: No such module "If empty"..html Basketball-Reference.com
Local media
TelevisionCSN Mid-Atlantic
WDCW
News Channel 8
RadioWTEM
Expression error: Unexpected < operator.Expression error: Unexpected < operator. Script error: No such module "If empty".Expression error: Unexpected < operator. >
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox NBA season
| team = Washington Wizards
| end_year = 2008
| coach = [[Eddie Jordan (basketball)|Eddie Jordan]]
| owners = [[Raul Fernandez (entrepreneur)|Raul Fernandez]]<br>[[Abe Pollin]]
| arena = [[Verizon Center]]
| wins = 43
| losses = 39
| division = Southeast
| division_place = 2
| conf_place = 5
| playoffs = [[2008 NBA Playoffs#Bracket|First Round]]<br><small>([[2008 NBA Playoffs#(4) Cleveland Cavaliers vs. (5) Washington Wizards|eliminated 2–4]])</small>
| bbr_team = WAS
| television = [[CSN Mid-Atlantic]]<br>[[WDCW]]<br>[[NewsChannel 8 (cable channel)|News Channel 8]]
| radio = [[WTEM]]
}}

Tracking categories

Microformat

Template:UF-hcard-org