Difference between revisions of "Template:Infobox hockey team"
(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{High-use|1365|Wikipedia talk:WikiProject Ice Hockey}} {{Lua|Module:Infobox...") |
|||
Line 8: | Line 8: | ||
{{Infobox hockey team | {{Infobox hockey team | ||
− | | team = | + | | team = |
− | | colour = | + | | colour = |
− | | colour text = | + | | colour text = |
− | | logo = | + | | logo = |
− | | city = | + | | city = |
− | | league = | + | | league = |
− | | conference = | + | | conference = |
− | | division = | + | | division = |
− | | founded = | + | | founded = |
− | | arena = | + | | arena = |
− | | colours = | + | | colours = |
− | | owner = | + | | owner = |
− | | GM = | + | | GM = |
− | | coach = | + | | coach = |
| captain = | | captain = | ||
− | | website = | + | | website = |
− | | name3 = | + | | name3 = |
− | | dates3 = | + | | dates3 = |
− | | name4 = | + | | name4 = |
− | | dates4 = | + | | dates4 = |
}} | }} | ||
Latest revision as of 13:05, 26 May 2020
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. |
This template uses Lua: |
Contents
Usage example
- Template with and without parameters.
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. |
This template uses Lua: |
Usage example
- Template with and without parameters.
Template loop detected: Template:Infobox hockey team
{{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 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 on English Wikipedia.
- Subtemplates
- Use {{Start date and age}} 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.
Please do not remove instances of these subtemplates.
- Classes used
The HTML classes of this microformat include:
- adr
- agent
- category
- country-name
- extended-address
- fn
- geo
- label
- latitude
- locality
- longitude
- nickname
- note
- org
- region
- street-address
- url
- vcard
nor collapse nested elements which use them.
{{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 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 on English Wikipedia.
- Subtemplates
- Use {{Start date and age}} 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.
Please do not remove instances of these subtemplates.
- Classes used
The HTML classes of this microformat include:
- adr
- agent
- category
- country-name
- extended-address
- fn
- geo
- label
- latitude
- locality
- longitude
- nickname
- note
- org
- region
- street-address
- url
- vcard
nor collapse nested elements which use them.