Difference between revisions of "Template:Infobox NHL team/doc"
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 | + | {{parameter names example | 1_body | 1_pattern_b | 1_pattern_s | 1_shorts | 1_title | 2_body | 2_pattern_b | 2_pattern_s | 2_shorts | 2_title | 3_body | 3_pattern_b | 3_pattern_s | 3_shorts | 3_title | 4_body | 4_pattern_b | 4_pattern_s | 4_shorts | 4_title | 5_body | 5_pattern_b | 5_pattern_s | 5_shorts | 5_title | 6_body | 6_pattern_b | 6_pattern_s | 6_shorts | 6_title | width | team_name | team_color1 | team_color2 | team_color3 | team_colors | team_colour1 | team_colour2 | team_colour3 | team_colours | 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 | colors | 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 11: | Line 11: | ||
<pre style="overflow: auto;"> | <pre style="overflow: auto;"> | ||
{{Infobox NHL team | {{Infobox NHL team | ||
| − | |team_name = | + | |team_name = <!-- required --> |
|color1 = <!-- or |colour1 = --> | |color1 = <!-- or |colour1 = --> | ||
|color2 = <!-- or |colour2 = --> | |color2 = <!-- or |colour2 = --> | ||
| Line 26: | Line 26: | ||
|city = <!-- location of arena --> | |city = <!-- location of arena --> | ||
|uniform_image = | |uniform_image = | ||
| − | | | + | |team_colors = <!-- or |colours1 = --> |
|media_affiliates = | |media_affiliates = | ||
|owner = | |owner = | ||
Revision as of 19:25, 30 November 2019
| This is a documentation subpage for Template:Infobox NHL team. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
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 = <!-- required -->
|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 = <!-- or |colours1 = -->
|media_affiliates =
|owner =
|general_manager =
|head_coach =
|captain =
|minor_league_affiliates =
|stanley_cups =
|avco =
|conf_titles =
|presidents'_trophies =
|division_titles =
|website =
}}
Microformat
Use {{Birth date}} for "founded", but ONLY if a full YYYY-MM-DD date is available.
Categories