Template:Infobox NHL team/doc

From The League Wiki
< Template:Infobox NHL team
Revision as of 13:09, 26 May 2020 by Roctos (talk | contribs) (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

{{{team_name}}}
[[{{{current}}}]]
[[File:{{{logo_image}}}|{{{logo_image_size}}}|alt={{{logo_alt}}}]]
{{{logo_caption}}}
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}}}
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 =
|website =
}}

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

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.

Use {{Birth date}} for "founded", but ONLY if a full YYYY-MM-DD date is available.

Categories