Difference between revisions of "Template:Infobox hockey team"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Primefac (update logo code) |
imported>Frietjes |
||
| Line 40: | Line 40: | ||
| label10 = {{#if:{{{colors|}}}|Colors|Colours}} | | label10 = {{#if:{{{colors|}}}|Colors|Colours}} | ||
| data10 = {{#if:{{{colors|}}}|{{{colors}}}|{{{colours|}}}}} | | data10 = {{#if:{{{colors|}}}|{{{colors}}}|{{{colours|}}}}} | ||
| − | | | + | | label11 = Owner(s) |
| + | | class11 = agent | ||
| + | | data11 = {{{owner|}}} | ||
| + | | label12 = President | ||
| + | | data12 = {{{president|}}} | ||
| class12 = agent | | class12 = agent | ||
| − | + | | label13 = General manager | |
| − | | label13 = | ||
| − | |||
| class13 = agent | | class13 = agent | ||
| − | | label14 = | + | | data13 = {{{GM|{{{gm|}}}}}} |
| + | | label14 = Head coach | ||
| class14 = agent | | class14 = agent | ||
| − | | data14 = {{{ | + | | data14 = {{{coach|}}} |
| − | + | | label15 = {{abbr|Asst.|Assistant}} head coach{{#if:{{{ass_coach2|}}}|es}} | |
| class15 = agent | | class15 = agent | ||
| − | | data15 = {{{ | + | | data15 = {{{ass_coach|}}}{{#if:{{{ass_coach2|}}}|<br>{{{ass_coach2}}}}} |
| − | + | | label16 = Captain | |
| class16 = agent | | class16 = agent | ||
| − | | data16 = {{{ | + | | data16 = {{{captain|}}} |
| − | | label17 | + | | label17 = Affiliate(s) |
| − | + | | data17 = {{{affiliates|}}} | |
| − | + | | label18 = Parent club(s) | |
| − | + | | data18 = {{{parentclub|}}} | |
| − | | | + | | label19 = Farm club(s) |
| − | | | + | | data19 = {{{farmclub|}}} |
| − | | | + | | label20 = Championships |
| − | | | + | | data20 = {{{championships|}}} |
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | + | | label21 = Website |
| − | | | + | | data21 = {{{website|}}} |
| − | | | + | | data22 = {{#if:{{{uniform|}}}|{{{uniform}}}|{{#switch: {{{kit|}}} |
|image = {{Infobox Football club/Kit image | |image = {{Infobox Football club/Kit image | ||
|kit_image1= {{ #if:{{{kit_image1|}}} | {{{kit_image1}}} }} | |kit_image1= {{ #if:{{{kit_image1|}}} | {{{kit_image1}}} }} | ||
| Line 123: | Line 123: | ||
}} | }} | ||
| − | | | + | | data23 = {{{module|}}} |
| − | | | + | | header24 = {{#if:{{{name1|}}}{{{name2|}}}{{{name3|}}}{{{name4|}}}{{{name5|}}}{{{name6|}}}{{{name7|}}}{{{name8|}}}{{{name9|}}}{{{name10|}}}|Franchise history}} |
| − | | | + | | label25 = {{{dates1|}}} |
| − | | | + | | data25 = {{{name1|}}} |
| − | | | + | | label26 = {{{dates2|}}} |
| − | | | + | | data26 = {{{name2|}}} |
| − | | | + | | label27 = {{{dates3|}}} |
| − | | | + | | data27 = {{{name3|}}} |
| − | | | + | | label28 = {{{dates4|}}} |
| − | | | + | | data28 = {{{name4|}}} |
| − | | | + | | label29 = {{{dates5|}}} |
| − | | | + | | data29 = {{{name5|}}} |
| − | | | + | | label30 = {{{dates6|}}} |
| − | | | + | | data30 = {{{name6|}}} |
| − | | | + | | label31 = {{{dates7|}}} |
| − | | | + | | data31 = {{{name7|}}} |
| − | | | + | | label32 = {{{dates8|}}} |
| − | | | + | | data32 = {{{name8|}}} |
| − | | | + | | label33 = {{{dates9|}}} |
| − | | | + | | data33 = {{{name9|}}} |
| − | | | + | | label34 = {{{dates10|}}} |
| − | | | + | | data34 = {{{name10|}}} |
| − | | | + | | header35 = {{#if:{{{altname1|}}}{{{altname2|}}}{{{altname3|}}}{{{altname4|}}}{{{altname5|}}}{{{altname6|}}}{{{altname7|}}}{{{altname8|}}}|Previous franchise history}} |
| − | | | + | | label36 = {{{altdates1|}}} |
| − | | | + | | data36 = {{{altname1|}}} |
| − | | | + | | label37 = {{{altdates2|}}} |
| − | | | + | | data37 = {{{altname2|}}} |
| − | | | + | | label38 = {{{altdates3|}}} |
| − | | | + | | data38 = {{{altname3|}}} |
| − | | | + | | label39 = {{{altdates4|}}} |
| − | | | + | | data39 = {{{altname4|}}} |
| − | | | + | | label40 = {{{altdates5|}}} |
| − | | | + | | data40 = {{{altname5|}}} |
| − | | | + | | label41 = {{{altdates6|}}} |
| − | | | + | | data41 = {{{altname6|}}} |
| − | | | + | | label42 = {{{altdates7|}}} |
| − | | | + | | data42 = {{{altname7|}}} |
| − | | | + | | label43 = {{{altdates8|}}} |
| − | | | + | | data43 = {{{altname8|}}} |
| below = {{#if:{{{current|}}}|[[File:Hockey current event.svg|33px|alt=|link=]] ''[[{{{current|}}}{{!}}Current season]]''}} | | below = {{#if:{{{current|}}}|[[File:Hockey current event.svg|33px|alt=|link=]] ''[[{{{current|}}}{{!}}Current season]]''}} | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> | ||
Revision as of 15:48, 6 November 2016
[[Category:Infobox templates|Template:Remove first word]]
| 40px | This template is used on approximately 1,400 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes at Wikipedia talk:WikiProject Ice Hockey before implementing them.
Transclusion count updated automatically (see documentation). |
| 30px | This template uses Lua: |
Usage example
- Template with and without parameters.
| Kelowna Rockets | |
|---|---|
| File:Bad Title Example.png | |
| City | Kelowna, British Columbia |
| League | Western Hockey League |
| Conference | Western |
| Division | B.C. |
| Founded | 1991 |
| Home arena | Prospera Place |
| Colours | Teal, red, copper, black, white |
| Owner(s) | 23x15px Bruce Hamilton |
| General manager | 23x15px Bruce Hamilton |
| Head coach | 23x15px Ryan Huska |
| Website | www.KelownaRockets.com |
| Franchise history | |
| 1991–95 | Tacoma Rockets |
| 1995–present | Kelowna Rockets |
{{Infobox hockey team
| team = Kelowna Rockets
| colour = #008394
| colour text = #FFFFFF
| logo = Bad Title Example.png
| city = [[Kelowna]], [[British Columbia]]
| league = [[Western Hockey League]]
| conference = [[Western Conference (WHL)|Western]]
| division = [[B.C. Division|B.C.]]
| founded = 1991
| arena = [[Prospera Place]]
| colours = Teal, red, copper, black, white
{{Color box|#008394}} {{Color box|#E13A3E}}
{{Color box|#B98544}} {{Color box|#000000}} {{Color box|#FFFFFF}}
| owner = {{Flagicon|CAN}} [[Bruce Hamilton]]
| GM = {{Flagicon|CAN}} Bruce Hamilton
| coach = {{Flagicon|CAN}} [[Ryan Huska]]
| website = [http://www.kelownarockets.com/ www.KelownaRockets.com]
| name3 = [[Tacoma Rockets]]
| dates3 = 1991–95
| name4 = [[Kelowna Rockets]]
| dates4 = 1995–present
}}
- Team, City and League fields are mandatory.
- All other fields are optional.
- Logosize if used must be ___px format.
- For teams that use Canadian English variant, use
|colours=instead of|colors=
{{Infobox hockey team
| team =
| colour = <!-- or | color = -->
| colour text = <!-- or | color text = -->
| logo =
| logosize =
| city =
| league =
| conference =
| division =
| founded = <!-- {{Start date|YYYY|MM|DD}} -->
| operated =
| folded =
| arena =
| colours = <!-- or | colors = -->
| owner =
| GM =
| coach =
| captain =
| affiliates =
| parentclub =
| farmclub =
| website =
<!-- Optional current franchise history -->
| name1 =
| dates1 =
| name2 =
| dates2 =
| name3 =
| dates3 =
| name4 =
| dates4 =
| name5 =
| dates5 =
| name6 =
| dates6 =
| name7 =
| dates7 =
| name8 =
| dates8 =
| name9 =
| dates9 =
| name10 =
| dates10 =
<!-- Optional previous franchise history -->
| altname1 =
| altdates1 =
| altname2 =
| altdates2 =
| altname3 =
| altdates3 =
| altname4 =
| altdates4 =
| altname5 =
| altdates5 =
| altname6 =
| altdates6 =
| altname7 =
| altdates7 =
| altname8 =
| altdates8 =
}}
Tracking category
Microformat
| The above documentation is transcluded from Template:Infobox hockey team/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |