Difference between revisions of "Template:Infobox hockey team"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Jonteemil |
imported>Sabbatino (Rvt undiscussed and useless addition) |
||
| Line 18: | Line 18: | ||
| above = {{{team|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | | above = {{{team|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | ||
| image = {{#invoke:InfoboxImage|InfoboxImage |image={{{logo|}}} |size={{{logosize|}}} |sizedefault=frameless |alt={{{logo_alt|{{{alt|}}}}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage |image={{{logo|}}} |size={{{logosize|}}} |sizedefault=frameless |alt={{{logo_alt|{{{alt|}}}}}}}} | ||
| − | |||
| label1 = Nickname | | label1 = Nickname | ||
| Line 169: | Line 168: | ||
| 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]]''}} | ||
| − | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox hockey team with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox hockey team]] with unknown parameter "_VALUE_"|ignoreblank=y| affiliates | alt | altdates1 | altdates2 | altdates3 | altdates4 | altdates5 | altdates6 | altdates7 | altdates8 | altname1 | altname2 | altname3 | altname4 | altname5 | altname6 | altname7 | altname8 | American | arena | ass_coach | ass_coach2 | body1 | body2 | body3 | capacity | captain | championships | city | coach | color | color text | colors | colour | colour text | colours | conference | current | dates1 | dates10 | dates2 | dates3 | dates4 | dates5 | dates6 | dates7 | dates8 | dates9 | division | farmclub | folded | founded | gm | GM | kit | kit_image1 | kit_image2 | kit_image3 | league | leftarm1 | leftarm2 | leftarm3 | logo | logo_alt | logosize | + | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox hockey team with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox hockey team]] with unknown parameter "_VALUE_"|ignoreblank=y| affiliates | alt | altdates1 | altdates2 | altdates3 | altdates4 | altdates5 | altdates6 | altdates7 | altdates8 | altname1 | altname2 | altname3 | altname4 | altname5 | altname6 | altname7 | altname8 | American | arena | ass_coach | ass_coach2 | body1 | body2 | body3 | capacity | captain | championships | city | coach | color | color text | colors | colour | colour text | colours | conference | current | dates1 | dates10 | dates2 | dates3 | dates4 | dates5 | dates6 | dates7 | dates8 | dates9 | division | farmclub | folded | founded | gm | GM | kit | kit_image1 | kit_image2 | kit_image3 | league | leftarm1 | leftarm2 | leftarm3 | logo | logo_alt | logosize | module | name1 | name10 | name2 | name3 | name4 | name5 | name6 | name7 | name8 | name9 | nickname | operated | owner | parentclub | pattern_b1 | pattern_b2 | pattern_b3 | pattern_la1 | pattern_la2 | pattern_la3 | pattern_name1 | pattern_name2 | pattern_name3 | pattern_ra1 | pattern_ra2 | pattern_ra3 | pattern_sh1 | pattern_sh2 | pattern_sh3 | president | rightarm1 | rightarm2 | rightarm3 | shorts1 | shorts2 | shorts3 | team | uniform | website }}<noinclude> |
{{documentation}}</noinclude> | {{documentation}}</noinclude> | ||
Latest revision as of 14:53, 28 November 2019
[[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. |