Difference between revisions of "Template:Infobox NHL team"
Jump to navigation
Jump to search
imported>Fuzzybear47 (Undid revision 344503236 by Fuzzybear47 (talk)) |
imported>Fuzzybear47 (Undid revision 344500586 by Fuzzybear47 (talk)) |
||
| Line 9: | Line 9: | ||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
{{#if:{{{conference|}}}| | {{#if:{{{conference|}}}| | ||
| − | ! style="text-align: left;" {{!}} | + | ! style="text-align: left;" {{!}} Conference |
{{!}} {{{conference|}}} | {{!}} {{{conference|}}} | ||
}} | }} | ||
| Line 26: | Line 26: | ||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
{{#if:{{{arena|}}}| | {{#if:{{{arena|}}}| | ||
| − | ! style="text-align: left;" {{!}} Home | + | ! style="text-align: left;" {{!}} Home arena |
{{!}} {{{arena}}} | {{!}} {{{arena}}} | ||
}} | }} | ||
| Line 52: | Line 52: | ||
|- | |- | ||
{{#if:{{{general_manager|}}}| | {{#if:{{{general_manager|}}}| | ||
| − | ! style="text-align: left;" {{!}} | + | ! style="text-align: left;" {{!}} General manager |
{{!}} <span class="agent">{{{general_manager}}}</span> | {{!}} <span class="agent">{{{general_manager}}}</span> | ||
}} | }} | ||
| Line 72: | Line 72: | ||
|- | |- | ||
{{#if:{{{stanley_cups|}}} | | {{#if:{{{stanley_cups|}}} | | ||
| − | ! style="text-align: left;" {{!}} | + | ! style="text-align: left;" {{!}} [[Stanley Cup]]s |
{{!}} {{{stanley_cups|}}} | {{!}} {{{stanley_cups|}}} | ||
}} | }} | ||
| Line 82: | Line 82: | ||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
{{#if:{{{conf_titles|}}} | | {{#if:{{{conf_titles|}}} | | ||
| − | ! style="text-align: left;" {{!}} | + | ! style="text-align: left;" {{!}} Conference championships |
{{!}} {{{conf_titles|}}} | {{!}} {{{conf_titles|}}} | ||
}} | }} | ||
Revision as of 23:33, 16 February 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. |