Difference between revisions of "Template:Infobox NHL team/doc"

From blackwiki
Jump to navigation Jump to search
imported>Moka Mo
imported>Moka Mo
Line 2: Line 2:
 
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
 
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{parameter names example| width | text_color | bg_color | team_name | current | logo_image | logo_image_size | logo_alt | logo_caption | conference | division | founded | history | arena | city | uniform_image | uniform_image_size | uniform_image_alt | uniform_caption | team_colors | media_affiliates | owner | general_manager | head_coach | captain | minor_league_affiliates | stanley_cups | avco | conf_titles | presidents'_trophies | presidents_trophies | division_titles | website }}
+
{{parameter names example| width team_name | current | logo_image | logo_image_size | logo_alt | logo_caption | conference | division | founded | history | arena | city | uniform_image | uniform_image_size | uniform_image_alt | uniform_caption | color1 | color2 | color3 | colors | colour1 | colour2 | colour3 | colours | media_affiliates | owner | general_manager | head_coach | captain | minor_league_affiliates | stanley_cups | avco | conf_titles | presidents'_trophies | presidents_trophies | division_titles | website }}
  
 
=== Usage ===
 
=== Usage ===
Line 12: Line 12:
 
{{Infobox NHL team
 
{{Infobox NHL team
 
|team_name =  
 
|team_name =  
 +
|color1 = <!-- or | colour1 = -->
 +
|color2 = <!-- or | colour2 = -->
 +
|color3 = <!-- or | colour3 = -->
 
|CAN_eng =  
 
|CAN_eng =  
 
|current =  
 
|current =  

Revision as of 19:18, 30 November 2019

Template:Parameter names example

Usage

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 = 
|color1 = <!-- or | colour1 = -->
|color2 = <!-- or | colour2 = -->
|color3 = <!-- or | colour3 = -->
|CAN_eng = 
|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