Difference between revisions of "Template:Infobox NBA season"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
m (recat)
(no real need to use short form - thus we should keep the long form for consistency)
Line 30: Line 30:
 
| '''Record''' || {{{wins}}}&ndash;{{{losses}}} <small>{{#ifexpr:({{{wins|0}}} + {{{losses|0}}}) = 0|&nbsp;|<br />({{#ifexpr:{{{losses}}} = 0|1.000|.{{padleft:{{#expr:({{{wins}}}/({{{wins}}} + {{{losses}}}) * 1000) round 0}}|3}}}})}}</small>
 
| '''Record''' || {{{wins}}}&ndash;{{{losses}}} <small>{{#ifexpr:({{{wins|0}}} + {{{losses|0}}}) = 0|&nbsp;|<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)|East]]) |southwest |northwest |midwest |pacific=([[Western Conference (NBA)|West]])}}</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)|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 17:35, 20 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

Template:NBA season