Difference between revisions of "Template:Infobox NHL team"
Jump to navigation
Jump to search
imported>Fuzzybear47 (Undid revision 344500586 by Fuzzybear47 (talk)) |
imported>Thumperward (start cleaning this up to bring it in line with other infobox templates) |
||
| Line 1: | Line 1: | ||
| − | {| class="infobox bordered vcard | + | {| class="infobox bordered vcard" style="font-size: 88%; width: 22em; text-align: left; line-height: 1.5em" |
| − | + | ! colspan=2 class="fn" style="font-size: 125%; color:{{{text_color}}}; background-color:{{{bg_color}}}; text-align: center" | {{{team_name}}} | |
| − | |||
|- | |- | ||
| − | | colspan= | + | | colspan=2 align="center" | [[file:Hockey current event.svg|33px|alt=|link=]] ''[[{{{current}}}]]'' |
|- | |- | ||
| − | | | + | {{#if: {{{logo_image|}}}| |
| − | {{ | + | {{!}} colspan=2 style="background-color: white; text-align: center" {{!}} [[file:{{{logo_image}}}{{!}}200px{{!}}{{{team_name}}}{{!}}alt={{{logo_alt|}}}]] |
| + | {{!}}- | ||
| + | }} | ||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
{{#if:{{{conference|}}}| | {{#if:{{{conference|}}}| | ||
| − | ! | + | ! Conference |
{{!}} {{{conference|}}} | {{!}} {{{conference|}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{division|}}}| | {{#if:{{{division|}}}| | ||
| − | ! | + | ! Division |
{{!}} {{{division}}} | {{!}} {{{division}}} | ||
}} | }} | ||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
| − | + | ! Founded | |
| + | | {{{founded}}} | ||
|- | |- | ||
{{#if:{{{history|}}}| | {{#if:{{{history|}}}| | ||
| − | ! | + | ! History |
{{!}} {{{history}}} | {{!}} {{{history}}} | ||
}} | }} | ||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
{{#if:{{{arena|}}}| | {{#if:{{{arena|}}}| | ||
| − | ! | + | ! Home arena |
{{!}} {{{arena}}} | {{!}} {{{arena}}} | ||
}} | }} | ||
|- | |- | ||
| − | + | ! City | |
| + | | {{{city}}} | ||
|- | |- | ||
{{#if:{{{uniform_image|}}}| | {{#if:{{{uniform_image|}}}| | ||
| − | ! | + | ! colspan=2 style="background-color: white; text-align: center" {{!}} [[file:{{{uniform_image}}}|275px]] |
}} | }} | ||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
{{#if:{{{team_colors|}}}| | {{#if:{{{team_colors|}}}| | ||
| − | ! | + | ! Colo{{#if:{{{CAN_eng|}}}|u|}}rs''' |
{{!}} {{{team_colors}}} | {{!}} {{{team_colors}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{media_affiliates|}}}| | {{#if:{{{media_affiliates|}}}| | ||
| − | ! | + | ! Media |
{{!}} {{{media_affiliates|}}} | {{!}} {{{media_affiliates|}}} | ||
}} | }} | ||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
{{#if:{{{owner|}}}| | {{#if:{{{owner|}}}| | ||
| − | ! | + | ! Owner(s) |
| − | {{!}} | + | {{!}} class="agent" {{!}} {{{owner}}} |
}} | }} | ||
|- | |- | ||
{{#if:{{{general_manager|}}}| | {{#if:{{{general_manager|}}}| | ||
| − | ! | + | ! General manager |
| − | {{!}} | + | {{!}} class="agent" {{!}} {{{general_manager}}} |
}} | }} | ||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
{{#if:{{{head_coach|}}}| | {{#if:{{{head_coach|}}}| | ||
| − | ! | + | ! [[Coach (ice hockey)|Head coach]] |
| − | {{!}} | + | {{!}} class="agent" {{!}} {{{head_coach}}} |
}} | }} | ||
|- | |- | ||
{{#if:{{{captain|}}}| | {{#if:{{{captain|}}}| | ||
| − | ! | + | ! [[Captain (ice hockey)|Captain]] |
| − | {{!}} | + | {{!}} class="agent" {{!}} {{{captain}}} |
}} | }} | ||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
{{#if:{{{minor_league_affiliates|}}}| | {{#if:{{{minor_league_affiliates|}}}| | ||
| − | ! | + | ! Minor league affiliates |
{{!}} {{{minor_league_affiliates|}}} | {{!}} {{{minor_league_affiliates|}}} | ||
}} | }} | ||
|- | |- | ||
| − | {{#if:{{{stanley_cups|}}} | | + | {{#if:{{{stanley_cups|}}}| |
| − | ! | + | ! [[Stanley Cup]]s |
{{!}} {{{stanley_cups|}}} | {{!}} {{{stanley_cups|}}} | ||
}} | }} | ||
|- | |- | ||
| − | {{#if:{{{avco|}}} | | + | {{#if:{{{avco|}}}| |
| − | ! | + | ! Avco World Trophy |
{{!}} {{{avco|}}} | {{!}} {{{avco|}}} | ||
}} | }} | ||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
| − | {{#if:{{{conf_titles|}}} | | + | {{#if:{{{conf_titles|}}}| |
| − | ! | + | ! Conference championships |
{{!}} {{{conf_titles|}}} | {{!}} {{{conf_titles|}}} | ||
}} | }} | ||
|- | |- | ||
| − | {{#if:{{{division_titles|}}} | | + | {{#if:{{{division_titles|}}}| |
| − | ! | + | ! Division championships |
{{!}} {{{division_titles|}}} | {{!}} {{{division_titles|}}} | ||
}} | }} | ||
|}<noinclude>{{documentation}}</noinclude> | |}<noinclude>{{documentation}}</noinclude> | ||
Revision as of 12:09, 10 March 2010
| {{{team_name}}} | |
|---|---|
| Founded | {{{founded}}} |
| City | {{{city}}} |
| 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. |