Template:Infobox NHL team: Difference between revisions
Appearance
Content deleted Content added
No edit summary Tag: Reverted |
No edit summary |
||
(28 intermediate revisions by 13 users not shown) | |||
Line 2: | Line 2: | ||
| bodystyle = width:{{{width|300px}}} |
| bodystyle = width:{{{width|300px}}} |
||
| abovestyle = color:{{{ |
| abovestyle = background-color:{{{bg_color}}}; color:{{{text_color}}}; border-color:{{{border_color}}} 2px solid; |
||
| above = {{{team_name|}}} |
| above = {{{team_name|}}} |
||
| subheader = {{#if:{{{current|}}}|[[File:Hockey current event.svg|33px|alt=|link=]] ''[[{{{current}}}]]''}} |
| subheader = {{#if:{{{current|}}}|[[File:Hockey current event.svg|33px|alt=|link=]] ''[[{{{current}}}]]''}} |
||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo_image|}}}|size={{{ |
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo_image|}}}|size={{{logo_image_size|220px}}}|alt={{{logo_alt|}}}}} |
||
| caption = {{{logo_caption|}}} |
| caption = {{{logo_caption|}}} |
||
Line 23: | Line 23: | ||
| data8 = {{{city|}}} |
| data8 = {{{city|}}} |
||
| data9 = |
| 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 = |
| label10 = Team colo{{#if:{{{CAN_eng|}}}|u|}}rs |
||
| data10 = {{{team_colors|}}} |
| data10 = {{{team_colors|}}} |
||
| label11 = Media |
| label11 = Media |
Latest revision as of 15:43, 4 July 2024
This template uses Lua: |
Usage
[edit]{{{team_name}}} | |
---|---|
[[{{{current}}}]] | |
[[File:{{{logo_image}}}|{{{logo_image_size}}}|alt={{{logo_alt}}}]] | |
Conference | {{{conference}}} |
Division | {{{division}}} |
Gegründet | {{{founded}}} |
History | {{{history}}} |
Home arena | {{{arena}}} |
City | {{{city}}} |
[[File:{{{uniform_image}}}|{{{uniform_image_size}}}|center|alt={{{uniform_image_alt}}}]] {{{uniform_caption}}} | |
Team colors | {{{team_colors}}} |
Media | {{{media_affiliates}}} |
Owner(s) | {{{owner}}} |
General manager | {{{general_manager}}} |
Head coach | {{{head_coach}}} |
Captain | {{{captain}}} |
Minor league affiliates | {{{minor_league_affiliates}}} |
Stanley Cups | {{{stanley_cups}}} |
Avco World Trophy | {{{avco}}} |
Conference championships | {{{conf_titles}}} |
Presidents' Trophy | {{{presidents'_trophies}}} |
Division championships | {{{division_titles}}} |
Official website | {{{website}}} |
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 = <!-- regular season division titles -->
| website =
}}
Microformat
[edit]- Subtemplates
- Use {{Start date and age}} for the date on which an organisation was "established", "founded", "opened" or otherwise started, unless that date is before 1583 CE.
- Use {{URL}} for an organisation's URL.
Please do not remove instances of these subtemplates.
- Classes used
The HTML classes of this microformat include:
- adr
- agent
- category
- country-name
- extended-address
- fn
- geo
- label
- latitude
- locality
- longitude
- nickname
- note
- org
- region
- street-address
- url
- vcard
Please do not rename or remove these classes
nor collapse nested elements which use them.
nor collapse nested elements which use them.
Use {{Birth date}} for "founded", but ONLY if a full YYYY-MM-DD date is available.