Difference between revisions of "Template:Infobox NBA season"
From Ava Zinn Wiki
[unchecked revision] | [unchecked revision] |
("East" is not the short form of "Eastern", it's the short form of "Eastern Conference". "Eastern" alone, according to the official NBA site, is not a valid option.) |
|||
Line 30: | Line 30: | ||
| '''Record''' || {{{wins}}}–{{{losses}}} <small>{{#ifexpr:({{{wins|0}}} + {{{losses|0}}}) = 0| |<br />({{#ifexpr:{{{losses}}} = 0|1.000|.{{padleft:{{#expr:({{{wins}}}/({{{wins}}} + {{{losses}}}) * 1000) round 0}}|3}}}})}}</small> | | '''Record''' || {{{wins}}}–{{{losses}}} <small>{{#ifexpr:({{{wins|0}}} + {{{losses|0}}}) = 0| |<br />({{#ifexpr:{{{losses}}} = 0|1.000|.{{padleft:{{#expr:({{{wins}}}/({{{wins}}} + {{{losses}}}) * 1000) round 0}}|3}}}})}}</small> | ||
|- | |- | ||
− | | style="vertical-align: top;" | '''Place''' || <small>Division:</small> {{#iferror:{{#expr:{{{division_place}}}+0}}{{#switch:{{{division_place}}} |1=st |2=nd |3=rd |th}} | {{{division_place}}} }} {{#if:{{{division|}}} | <small>({{#switch:{{lc:{{{division}}}}} |southeast=[[Southeast Division (NBA)|Southeast]] |atlantic=[[Atlantic Division (NBA)|Atlantic]] |central=[[Central Division (NBA)|Central]] |southwest=[[Southwest Division (NBA)|Southwest]] |northwest=[[Northwest Division (NBA)|Northwest]] |midwest=[[Midwest Division (NBA)|Midwest]] |pacific=[[Pacific Division (NBA)|Pacific]] |eastern=[[Eastern Conference (NBA)|Eastern]] |western=[[Western Conference (NBA)|Western]] |{{{division}}} }})</small> }}{{#if:{{{conf_place|}}}|<br><small>Conference:</small> {{#iferror:{{#expr:{{{conf_place}}}+0}}{{#switch:{{{conf_place}}} |1=st |2=nd |3=rd |th}} | {{{conf_place}}} }} {{#if:{{{division|}}} | <small>{{#switch:{{lc:{{{division}}}}} |southeast |atlantic |central=([[Eastern Conference (NBA)| | + | | style="vertical-align: top;" | '''Place''' || <small>Division:</small> {{#iferror:{{#expr:{{{division_place}}}+0}}{{#switch:{{{division_place}}} |1=st |2=nd |3=rd |th}} | {{{division_place}}} }} {{#if:{{{division|}}} | <small>({{#switch:{{lc:{{{division}}}}} |southeast=[[Southeast Division (NBA)|Southeast]] |atlantic=[[Atlantic Division (NBA)|Atlantic]] |central=[[Central Division (NBA)|Central]] |southwest=[[Southwest Division (NBA)|Southwest]] |northwest=[[Northwest Division (NBA)|Northwest]] |midwest=[[Midwest Division (NBA)|Midwest]] |pacific=[[Pacific Division (NBA)|Pacific]] |eastern=[[Eastern Conference (NBA)|Eastern]] |western=[[Western Conference (NBA)|Western]] |{{{division}}} }})</small> }}{{#if:{{{conf_place|}}}|<br><small>Conference:</small> {{#iferror:{{#expr:{{{conf_place}}}+0}}{{#switch:{{{conf_place}}} |1=st |2=nd |3=rd |th}} | {{{conf_place}}} }} {{#if:{{{division|}}} | <small>{{#switch:{{lc:{{{division}}}}} |southeast |atlantic |central=([[Eastern Conference (NBA)|Eastern]]) |southwest |northwest |midwest |pacific=([[Western Conference (NBA)|Western]])}}</small> }} }} |
|- | |- | ||
| style="vertical-align: top;" | '''Playoff finish''' || {{{playoffs}}} | | style="vertical-align: top;" | '''Playoff finish''' || {{{playoffs}}} |
Revision as of 16:41, 30 July 2008
Template:Autolink [[{{{team}}}]] season | |
---|---|
Head coach | {{{coach}}} |
Arena | {{{arena}}} |
Results | |
---|---|
Record | {{{wins}}}–{{{losses}}} |
Place | Division: {{{division_place}}} |
Playoff finish | {{{playoffs}}} |
Template:Autolink | |
Template:Autolink | Template:Autolink |
{{NBA season | team = | misc = | end_year = | wins = | losses = | division = | division_place = | conf_place = | coach = | arena = | owners = | television = | radio = | playoffs = | bbr_team = }} 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 Examples |