Template:Team season2: Difference between revisions

From Furry Basketball Association
Jump to navigation Jump to search
Madworld (talk | contribs)
Testing a thing... (pretty sure it'll bork)
Madworld (talk | contribs)
m progress...
 
Line 10: Line 10:
<!-- Division, Conference -->
<!-- Division, Conference -->


| label1 = Head coach
| label1 = Primary Contact
| class1 = agent
| data1 = {{{rlprimary|}}}
| data1 = {{{coach|}}}


| label2 = General manager
| label2 = Secondary Contact
| data2 = {{{gm|}}}
| data2 = {{{rlsecondary|}}}


| label3 = Owner(s)
| label3 = Coach
| data3 = {{{owners|{{{owner|}}}}}}
| class3 = agent
| data3 = {{{coach|}}}


| label4 = Arena
| label4 = General manager
| class4 = label
| data4 = {{{manager|}}}
| data4 = {{{arena|}}}
 
| label5 = Owner(s)
| data5 = {{{owners|}}}
 
| label6 = Arena
| class6 = label
| data6 = {{{arena|}}}


| headerstyle = background: #E0E7EF
| headerstyle = background: #E0E7EF
| header5 = {{#if:{{{wins|}}}{{{losses|}}}{{{division_place|}}}{{{conf_place|}}}{{{playoffs|}}}|Results}}
| header7 = {{#if:{{{wins|}}}{{{losses|}}}{{{division_place|}}}{{{conf_place|}}}{{{playoffs|}}}|Results}}


| label6 = Record
| label8 = Record
| data6 = {{#if:{{{wins|}}}{{{losses|}}}|{{{wins}}}&ndash;{{{losses}}} {{#ifexpr:({{{wins|0}}} + {{{losses|0}}}) = 0||({{winning percentage|{{{wins|0}}}|{{{losses|0}}}}})}}}}
| data8 = {{#if:{{{wins|}}}{{{losses|}}}|{{{wins}}}&ndash;{{{losses}}} {{#ifexpr:({{{wins|0}}} + {{{losses|0}}}) = 0||({{winning percentage|{{{wins|0}}}|{{{losses|0}}}}})}}}}


| label7 = Place
| label9 = Place
| data7 = {{br separated entries
| data9 = {{br separated entries
  |1={{#if:{{{division_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 (FBA)|Southeast]] |atlantic=[[Atlantic Division (FBA)|Atlantic]] |central=[[Central Division (FBA)|Central]] |southwest=[[Southwest Division (FBA)|Southwest]] |northwest=[[Northwest Division (FBA)|Northwest]] |midwest=[[Midwest Division (FBA)|Midwest]] |pacific=[[Pacific Division (FBA)|Pacific]] |eastern=[[Eastern Conference (FBA)|Eastern]] |western=[[Western Conference (FBA)|Western]] |{{{division}}} }})</small> }} }}
  |1={{#if:{{{division_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 (FBA)|Southeast]] |atlantic=[[Atlantic Division (FBA)|Atlantic]] |central=[[Central Division (FBA)|Central]] |southwest=[[Southwest Division (FBA)|Southwest]] |northwest=[[Northwest Division (FBA)|Northwest]] |midwest=[[Midwest Division (FBA)|Midwest]] |pacific=[[Pacific Division (FBA)|Pacific]] |eastern=[[Eastern Conference (FBA)|Eastern]] |western=[[Western Conference (FBA)|Western]] |{{{division}}} }})</small> }} }}
  |2={{#if:{{{conf_place|}}}|<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 (FBA)|Eastern]]) |southwest |northwest |midwest |pacific=([[Western Conference (FBA)|Western]])}}</small> }} }}
  |2={{#if:{{{conf_place|}}}|<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 (FBA)|Eastern]]) |southwest |northwest |midwest |pacific=([[Western Conference (FBA)|Western]])}}</small> }} }}
  }}
  }}


| label8 = Playoff finish
| label10 = Playoff finish
| data8 =  {{{playoffs|}}}
| data10 =  {{{playoffs|}}}
 
| data9 = {{#if:{{{bbr_team|}}}|<hr><span class="plainlinks" style="font-size:88%">Stats @ '''[https://www.basketball-reference.com/teams/{{{bbr_team}}}/{{{end_year|{{CURRENTYEAR}}}}}.html Basketball-Reference.com]'''</span>}}
 
 
| header10 ={{#if:{{{television|}}}| Local media}}


| label11 = Television
| data11 = {{#if:{{{bbr_team|}}}|<hr><span class="plainlinks" style="font-size:88%">Stats @ '''[http://wiki.furrybasketball.net/index.php?title={{{bbr_team}}}/{{{end_year|{{CURRENTYEAR}}}}}.html wiki.furrybasketball.net]'''</span>}}
| data11 = {{{television|}}}


| label12 = Radio
| data12 = {{{radio|}}}


| belowclass = noprint
| belowclass = noprint
Line 58: Line 56:
</tr></table>}}
</tr></table>}}


}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox FBA season with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox FBA season]] with unknown parameter "_VALUE_"|ignoreblank=y| arena | bbr_team | championship_win | ChampionshipWin | coach | Color | color | conf_place | conference_label | conference | conference_win | ConferenceWin | division_label | division | division_place | division_win | DivisionWin | end_year | gm | league | losses | next_name | next_season | no_nextseason | no_prevseason | owner | owners | playoffs | prev_name | prev_season | radio | team | team_link | television | wins | misc | logo | logo_size
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using Team season2 with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Team season2]] with unknown parameter "_VALUE_"|ignoreblank=y| arena | bbr_team | championship_win | ChampionshipWin | coach | Color | color | confpl | conf_label | conf | conf_win | ConferenceWin | div_label | div | divpl | end_year | manager | league | losses | next_name | next_season | no_nextseason | no_prevseason | owner | owners | playoffs | prev_name | prev_season | record | team | team_link | wins | misc | logo | logo_size
}}{{#if:{{{misc|}}}| {{main other|[[Category:Pages using infobox FBA season with misc]]}}
}}{{#if:{{{misc|}}}| {{main other|[[Category:Pages using Team season2 with misc]]}}
}}{{#if:{{{logo|}}}{{{logo_size|}}}| {{main other|[[Category:Pages using infobox FBA season with logo]]}}
}}{{#if:{{{logo|}}}{{{logo_size|}}}| {{main other|[[Category:Pages using Team season2 with logo]]}}
}}<noinclude>{{documentation}}</noinclude>
}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 01:43, 11 February 2020

Template documentation[view] [edit] [history] [purge]

Template:Generic template demo

Usage

{{Team season2
| team = 
| league = 
| end_year = 
| championship_win = yes
| conference_win = yes
| division_win = yes
| rlprimary = 
| rlsecondary = 
| coach =
| manager = 
| owners = 
| arena =  
| record =
| div = 
| divpl = 
| confpl = 
| updated = 
| playoffs = 
| bbr_team = 
}}

League is an optional argument which can be used to specify pre-FBA leagues (e.g., |league=ABA or |league=NBL). But these don't exist in the FBA! So you don't need 'em.

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

2017–18 Dakota Bikers season
Coach Bud Boorman (male bison)
General manager Ben Bracy (male donkey)
Owner(s) Bernard Dwight (male red fox)
Arena Sofawolf Stadium; Sturgis, SD

Stats @ wiki.furrybasketball.net
< 2016–17 2018–19 >
{{Team season2
| team = Dakota Bikers
| end_year = 2018
| coach = [[Bud Boorman]] (male bison)
| manager = [[Ben Bracy]] (male donkey)
| owners = [[Bernard Dwight]] (male red fox)
| arena = [[Sofawolf Stadium]]; Sturgis, SD
| record = {{#show: Category:2018_FBA_Season | ?DAK orec is }}
| divpl = {{#show: Category:2018_FBA_Season | ?DAK drnk is }}
| confpl = {{#show: Category:2018_FBA_Season | ?DAK crnk is }}
| updated = {{#show: Category:2018_FBA_Season | ?Modification date }} GMT
| playoffs = 
| bbr_team = DAK
}}

Tracking categories

Microformat

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.

Template:Sandbox other