Template:Infobox NHL team/doc
Appearance
This is a documentation subpage for Template:Infobox NHL team. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Usage
[edit]{{{team_name}}} | |
---|---|
[[{{{current}}}]] | |
[[File:{{{logo_image}}}|{{{logo_image_size}}}|alt={{{logo_alt}}}]] | |
Conference | {{{conference}}} |
Division | {{{division}}} |
Founded | {{{founded}}} |
History | {{{history}}} |
Home arena | {{{arena}}} |
City | {{{city}}} |
[[File:{{{uniform_image}}}|{{{uniform_image_size}}}|center|alt={{{uniform_image_alt}}}]] {{{uniform_caption}}} | |
Team colors | {{{team_colors}}} |
Media | {{{media_affiliates}}} |
Owner(s) | {{{owner}}} |
General manager | {{{general_manager}}} |
Head coach | {{{head_coach}}} |
Captain | {{{captain}}} |
Minor league affiliates | {{{minor_league_affiliates}}} |
Stanley Cups | {{{stanley_cups}}} |
Avco World Trophy | {{{avco}}} |
Conference championships | {{{conf_titles}}} |
Presidents' Trophy | {{{presidents'_trophies}}} |
Division championships | {{{division_titles}}} |
Official website | {{{website}}} |
All fields are optional, except for team name, logo, founding date, city and the CAN_eng variable. CAN_eng should be set to "1" or "true" (which switches the box to Canadian spelling) for Canadian-based teams.
- Avco = Avco World Trophy (former WHA teams only)
{{Infobox NHL team
| team_name =
| CAN_eng =
| text_color =
| bg_color =
| current =
| logo_image =
| logo_alt = <!-- alt text passed to image link -->
| conference =
| division =
| founded = <!-- first season of play -->
| history =
| arena =
| city = <!-- location of arena -->
| uniform_image =
| team_colors =
| media_affiliates =
| owner =
| general_manager =
| head_coach =
| captain =
| minor_league_affiliates =
| stanley_cups =
| avco =
| conf_titles =
| presidents'_trophies =
| division_titles = <!-- regular season division titles -->
| website =
}}
Microformat
[edit]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 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
Please do not rename or remove these classes
nor collapse nested elements which use them.
nor collapse nested elements which use them.
Use {{Birth date}} for "founded", but ONLY if a full YYYY-MM-DD date is available.
Categories
[edit]