Template:Team season2: Difference between revisions
Jump to navigation
Jump to search
Testing a thing... (pretty sure it'll bork) |
m progress... |
||
| Line 10: | Line 10: | ||
<!-- Division, Conference --> | <!-- Division, Conference --> | ||
| label1 = | | label1 = Primary Contact | ||
| data1 = {{{rlprimary|}}} | |||
| data1 = {{{ | |||
| label2 = | | label2 = Secondary Contact | ||
| data2 = {{{ | | data2 = {{{rlsecondary|}}} | ||
| label3 = | | label3 = Coach | ||
| data3 = {{{ | | class3 = agent | ||
| data3 = {{{coach|}}} | |||
| label4 = Arena | | label4 = General manager | ||
| | | data4 = {{{manager|}}} | ||
| | |||
| label5 = Owner(s) | |||
| data5 = {{{owners|}}} | |||
| label6 = Arena | |||
| class6 = label | |||
| data6 = {{{arena|}}} | |||
| headerstyle = background: #E0E7EF | | headerstyle = background: #E0E7EF | ||
| | | header7 = {{#if:{{{wins|}}}{{{losses|}}}{{{division_place|}}}{{{conf_place|}}}{{{playoffs|}}}|Results}} | ||
| | | label8 = Record | ||
| | | data8 = {{#if:{{{wins|}}}{{{losses|}}}|{{{wins}}}–{{{losses}}} {{#ifexpr:({{{wins|0}}} + {{{losses|0}}}) = 0||({{winning percentage|{{{wins|0}}}|{{{losses|0}}}}})}}}} | ||
| | | label9 = Place | ||
| | | 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> }} }} | ||
}} | }} | ||
| | | label10 = Playoff finish | ||
| | | data10 = {{{playoffs|}}} | ||
| | | 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>}} | ||
| | |||
| belowclass = noprint | | belowclass = noprint | ||
| Line 58: | Line 56: | ||
</tr></table>}} | </tr></table>}} | ||
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using | }}{{#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 | }}{{#if:{{{misc|}}}| {{main other|[[Category:Pages using Team season2 with misc]]}} | ||
}}{{#if:{{{logo|}}}{{{logo_size|}}}| {{main other|[[Category:Pages using | }}{{#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: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 | |
{{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.
nor collapse nested elements which use them.
| The above documentation is transcluded from Template:Team season2/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |