Difference between revisions of "Template:Infobox NHL team"
Jump to navigation
Jump to search
imported>Moka Mo |
|||
| (58 intermediate revisions by 19 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {| | + | <includeonly>{{infobox |
| − | + | | bodystyle = font-size: 90%; width:{{{width|300px}}} | |
| − | + | ||
| − | | | + | | abovestyle = color:{{{text_color}}}; background-color:{{{bg_color}}}; border-color: {{{border_color}}} 3px solid; |
| − | | | + | | above = {{{team_name|}}} |
| − | {{# | + | |
| − | + | | subheader = {{#if:{{{current|}}}|[[File:Hockey current event.svg|33px|alt=|link=]] ''[[{{{current}}}]]''}} | |
| − | + | ||
| − | }} | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo_image|}}}|size={{{logo_image_size|220px}}}|alt={{{logo_alt|}}}}} |
| − | | | + | | caption = {{{logo_caption|}}} |
| − | {{ | + | |
| − | + | | label3 = Conference | |
| − | + | | data3 = {{{conference|}}} | |
| − | + | | label4 = Division | |
| − | | | + | | data4 = {{{division|}}} |
| − | + | | label5 = Founded | |
| − | + | | data5 = {{{founded|}}} | |
| − | + | | label6 = History | |
| − | }} | + | | data6 = {{{history|}}} |
| − | | | + | | label7 = Home arena |
| − | + | | data7 = {{{arena|}}} | |
| − | | {{{founded}}} | + | | label8 = City |
| − | | | + | | data8 = {{{city|}}} |
| − | + | ||
| − | + | | data9 = {{#invoke:InfoboxImage|InfoboxImage|image={{{uniform_image|}}}|size={{{uniform_image_size|220px}}}|center=yes|alt={{{uniform_image_alt|}}}}}{{#if:{{{uniform_caption|}}}|<br>{{{uniform_caption|}}} }} | |
| − | + | | label10 = Colo{{#if:{{{CAN_eng|}}}|u|}}rs | |
| − | }} | + | | data10 = {{{team_colors|}}} |
| − | | | + | | label11 = Media |
| − | + | | data11 = {{{media_affiliates|}}} | |
| − | + | | label12 = Owner(s) | |
| − | + | | data12 = {{{owner|}}} | |
| − | }} | + | | label13 = General manager |
| − | | | + | | data13 = {{{general_manager|}}} |
| − | + | | label14 = [[Coach (ice hockey)|Head coach]] | |
| − | | {{{city}}} | + | | data14 = {{{head_coach|}}} |
| − | | | + | | label15 = [[Captain (ice hockey)|Captain]] |
| − | {{# | + | | data15 = {{{captain|}}} |
| − | + | | label16 = Minor league affiliates | |
| − | + | | data16 = {{{minor_league_affiliates|}}} | |
| − | | | + | | label17 = [[Stanley Cup]]s |
| − | {{ | + | | data17 = {{{stanley_cups|}}} |
| − | + | | label18 = [[Avco World Trophy]] | |
| − | {{ | + | | data18 = {{{avco|}}} |
| − | }} | + | | label19 = Conference championships |
| − | | | + | | data19 = {{{conf_titles|}}} |
| − | {{#if:{{{ | + | | label20 = Presidents' Trophy |
| − | + | | data20 = {{{presidents'_trophies|{{{presidents_trophies|}}}}}} | |
| − | + | | label21 = Division championships | |
| − | + | | data21 = {{{division_titles|}}} | |
| − | | | + | | label22 = Official website |
| − | + | | data22 = {{{website|}}} | |
| − | + | }}</includeonly><noinclude>{{documentation}}</noinclude> | |
| − | |||
| − | }} | ||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | | | ||
| − | |||
| − | |||
| − | {{ | ||
| − | }} | ||
| − | | | ||
| − | |||
| − | |||
| − | {{ | ||
| − | }} | ||
| − | |||
Latest revision as of 04:31, 1 December 2019
| 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. |