Difference between revisions of "Template:Infobox NHL team"
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:{{{ | + | | 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
| 30px | This template uses Lua: |
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
Use {{Birth date}} for "founded", but ONLY if a full YYYY-MM-DD date is available.
Categories
| The above documentation is transcluded from Template:Infobox NHL team/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |