Difference between revisions of "Template:Infobox NBA season"
From Ava Zinn Wiki
[unchecked revision] | [unchecked revision] |
Aeverinezinn (talk | contribs) m (167 revisions from wikipedia:Template:Infobox NBA season) |
|||
(15 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
− | {| | + | {{infobox |
− | | | + | | bodyclass = vcard |
− | + | | abovestyle = font-size:110%; white-space:nowrap; padding:3px; background-color: {{{Color|LightSteelBlue}}} | |
− | + | | above = {{auto link|{{#expr:{{{end_year|2009}}}-1}}–{{padleft:{{#expr:{{{end_year|2009}}} mod 100}}|2|0}} {{{league|NBA}}} season|{{#ifeq:{{{end_year}}}|2000|1999–2000|{{#expr:{{{end_year|2009}}}-1}}–{{padleft:{{#expr:{{{end_year|2009}}} mod 100}}|2|0}}}}}} <span class="fn org">[[{{{team}}}]]</span> season | |
− | {{#if:{{{ | + | |
− | + | <!-- Championships (if any) --> | |
− | + | | subheader1 = {{#if:{{{ChampionshipWin|}}}|<div style="width:100%; background:#FF9900; font-weight:bold;">[[NBA]] Champions</div>}} | |
− | }} | + | | subheader2 = {{#if:{{{StandingsTop|}}}|<div style="width:100%; background:#FFAA00; font-weight:bold;">NBA Standings Winner</div>}} |
− | | | + | | subheader3 = {{#if:{{{ConferenceWin|}}}|<div style="width:100%; background:#FFBB00; font-weight:bold;">{{{Conference|}}} Conference Champions</div>}} |
− | + | | subheader4 = {{#if:{{{DivisionWin|}}}|<div style="width:100%; background:#FFCC00; font-weight:bold;">{{{Division|}}} Division Champions</div>}} | |
− | + | <!-- Division, Conference --> | |
− | {{ | + | | subheader5 = {{#if:{{{misc|}}}|''<span style="font-size:88%:>{{{misc}}}</span>''}} |
− | {{ | + | |
− | + | | label1 = Head coach | |
− | | | + | | class1 = agent |
− | {{#if:{{{ | + | | data1 = {{{coach}}} |
− | + | ||
− | + | | label2 = General manager | |
− | | | + | | data2 = {{{gm<includeonly>|</includeonly>}}} |
− | + | ||
− | | | + | | label3 = Owner(s) |
− | | | + | | data3 = {{{owners<includeonly>|</includeonly>}}} |
− | + | ||
− | | | + | | label4 = Arena |
− | + | | class4 = label | |
− | + | | data4 = {{{arena}}} | |
− | | | + | |
− | | | + | | headerstyle = background: #E0E7EF |
− | | | + | | header5 = Results |
− | | | + | |
− | | | + | | label6 = Record |
− | {{#if:{{{bbr_team<includeonly>|</includeonly>}}}| | + | | data6 = {{{wins}}}–{{{losses}}} {{#ifexpr:({{{wins|0}}} + {{{losses|0}}}) = 0||({{winning percentage|{{{wins|0}}}|{{{losses|0}}}}})}} |
− | + | ||
− | + | | label7 = Place | |
− | }} | + | | data7 = <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> }} }} |
− | {{#if:{{{television<includeonly>|</includeonly>}}}| | + | |
− | + | | label8 = Playoff finish | |
− | { | + | | data8 = {{{playoffs}}} |
− | | | + | |
− | | | + | | data9 = {{#if:{{{bbr_team<includeonly>|</includeonly>}}}|<hr><span class="plainlinks" style="font-size:88%">Stats @ '''[http://www.basketball-reference.com/teams/{{{bbr_team}}}/{{{end_year|2009}}}.html Basketball-Reference.com]'''</span>}} |
− | {{#if:{{{ | + | |
− | {{ | + | |
− | + | | header10 ={{#if:{{{television<includeonly>|</includeonly>}}}| Local media}} | |
− | |{ | + | |
− | {{# | + | | label11 = Television |
− | + | | data11 = {{{television<includeonly>|</includeonly>}}} | |
− | {{ | + | |
− | + | | label12 = Radio | |
− | {{# | + | | data12 = {{{radio<includeonly>|</includeonly>}}} |
− | + | ||
− | + | | belowclass = noprint | |
− | {{ | + | | belowstyle = border-top:#bbb solid 1px |
− | {{ | + | | below = {{#if:{{both|{{{no_prevseason|}}}|{{{no_nextseason|}}}}}|| |
− | + | <table style="width:100%"><tr> | |
− | + | <td style="width:50%; text-align:left;">{{#if:{{{no_prevseason|}}}|| | |
− | + | {{auto link|{{#ifeq:{{{end_year}}}|2001|1999–2000|{{#expr:{{{end_year|2009}}}-2}}–{{padleft:{{#expr:({{{end_year|2009}}}-1) mod 100}}|2|0}}}} {{{team}}} season|< {{#expr:{{{end_year|2009}}}-2}}–{{padleft:{{#expr:({{{end_year|2009}}}-1) mod 100}}|2|0}} }} }}</td> | |
− | + | <td style="width:50%; text-align:right;">{{#if:{{{no_nextseason|}}}|| | |
− | + | {{auto link|{{#ifeq:{{{end_year}}}|1999|1999–2000|{{{end_year|2009}}}–{{padleft:{{#expr:({{{end_year|2009}}}+1) mod 100}}|2|0}}}} {{{team}}} season|{{{end_year|2009}}}–{{padleft:{{#expr:({{{end_year|2009}}}+1) mod 100}}|2|0}} >}} }}</td> | |
− | + | </tr></table>}} | |
− | + | }}<noinclude> | |
− | + | <pre> | |
{{Infobox NBA season | {{Infobox NBA season | ||
| team = | | team = | ||
Line 79: | Line 79: | ||
| playoffs = | | playoffs = | ||
| bbr_team = | | bbr_team = | ||
+ | | nba_champion = yes | ||
+ | | top_of_standings = yes | ||
+ | | conference_win = yes | ||
+ | | division_win = yes | ||
}} | }} | ||
</pre> | </pre> | ||
Line 112: | Line 116: | ||
{{UF-hcard-org}} | {{UF-hcard-org}} | ||
− | [[Category:National Basketball Association infobox templates| | + | [[Category:National Basketball Association infobox templates|National Basketball Association season]] |
− | |||
</noinclude> | </noinclude> |
Latest revision as of 23:24, 6 March 2016
2008–09 [[{{{team}}}]] season | |
---|---|
Head coach | {{{coach}}} |
General manager | {{{gm}}} |
Owner(s) | {{{owners}}} |
Arena | {{{arena}}} |
Results | |
Record | {{{wins}}}–{{{losses}}} |
Place | Division: {{{division_place}}} |
Playoff finish | {{{playoffs}}} |
Stats @ Basketball-Reference.com | |
Local media | |
Television | {{{television}}} |
Radio | {{{radio}}} |
{{Infobox NBA season | team = | league = | misc = | end_year = | wins = | losses = | division = | division_place = | conf_place = | coach = | gm = | owners = | arena = | television = | radio = | playoffs = | bbr_team = | nba_champion = yes | top_of_standings = yes | conference_win = yes | division_win = yes }}
League is an optional argument which can be used to specify pre-NBA leagues.
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[edit]
2007–08 Washington Wizards season | |
---|---|
Head coach | Eddie Jordan |
Owner(s) | Raul Fernandez Abe Pollin |
Arena | Verizon Center |
Results | |
Record | 43–39 (Expression error: Unrecognized punctuation character "{".) |
Place | Division: 2nd (Southeast) Conference: 5th (Eastern) |
Playoff finish | First Round (eliminated 2–4) |
Stats @ Basketball-Reference.com | |
Local media | |
Television | CSN Mid-Atlantic WDCW News Channel 8 |
Radio | WTEM |
Microformat[edit]
The HTML mark-up produced by this template includes an hCard microformat that makes an organization's details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.- Subtemplates
- Use {{start date}} for the date on which an organisation was "established", "founded", "opened" or otherwise started, unless that date is before 1583 CE.
- Use {{URL}} for an organisation's URL.
- Use {{coord}} for coordinates associated with the organisation (e.g. the location of its headquarters). A Geo microformat will then make these coordinates parsable, e.g. for use in online mapping, downloading to a GPS unit, etc.
Please do not remove instances of these subtemplates.
- Classes used
The HTML classes this microformat uses include:
-
- adr
- agent
- category
- country-name
- extended-address
- fn
- geo
- label
- latitude
- locality
- longitude
- nickname
- note
- org
- region
- street-address
- url
- vcard
Please do not rename or remove these classes
nor collapse nested elements which use them.
nor collapse nested elements which use them.