Difference between revisions of "Template:Infobox NHL team"

From blackwiki
Jump to navigation Jump to search
imported>Moka Mo
imported>Moka Mo
 
Line 2: Line 2:
 
| bodystyle = font-size: 90%; width:{{{width|300px}}}
 
| bodystyle = font-size: 90%; width:{{{width|300px}}}
  
| abovestyle = color:{{{#FFFFFF}}}; background-color:{{{color1 <!-- or | colour1 = -->}}}; border-color: {{{color2 <!-- or | colour1 = -->}}} 3px solid;
+
| abovestyle = color:{{{text_color}}}; background-color:{{{bg_color}}}; border-color: {{{border_color}}} 3px solid;
 
| above = {{{team_name|}}}
 
| above = {{{team_name|}}}
  

Latest revision as of 04:31, 1 December 2019

50px Template documentation[view] [edit] [history] [purge]

Usage

Template:Parameter names example

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

Template:UF-hcard-org

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

Categories