Difference between revisions of "Template:Infobox NHL team/doc"
Jump to navigation
Jump to search
imported>Vanisaac m (→Categories: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
|||
(37 intermediate revisions by 19 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
+ | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} | ||
=== Usage === | === Usage === | ||
+ | {{parameter names example| width | text_color | bg_color | team_name | current | logo_image | logo_image_size | logo_alt | logo_caption | conference | division | founded | history | arena | city | uniform_image | uniform_image_size | uniform_image_alt | uniform_caption | team_colors | media_affiliates | owner | general_manager | head_coach | captain | minor_league_affiliates | stanley_cups | avco | conf_titles | presidents'_trophies | presidents_trophies | division_titles | 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) | * Avco = Avco World Trophy (former WHA teams only) | ||
− | + | ||
− | + | <pre style="overflow: auto;"> | |
+ | {{Infobox NHL team | ||
|team_name = | |team_name = | ||
+ | |CAN_eng = | ||
+ | |text_color = | ||
|bg_color = | |bg_color = | ||
− | | | + | |current = |
|logo_image = | |logo_image = | ||
− | |logo_alt = | + | |logo_alt = <!-- alt text passed to image link --> |
|conference = | |conference = | ||
|division = | |division = | ||
− | |founded = | + | |founded = <!-- first season of play --> |
|history = | |history = | ||
|arena = | |arena = | ||
− | |city = | + | |city = <!-- location of arena --> |
+ | |uniform_image = | ||
+ | |team_colors = | ||
|media_affiliates = | |media_affiliates = | ||
− | |||
|owner = | |owner = | ||
|general_manager = | |general_manager = | ||
Line 29: | Line 36: | ||
|avco = | |avco = | ||
|conf_titles = | |conf_titles = | ||
− | | | + | |presidents'_trophies = |
|division_titles = | |division_titles = | ||
− | | | + | |website = |
}}</pre> | }}</pre> | ||
− | |||
− | ===Microformat=== | + | === Microformat === |
{{UF-hcard-org}} | {{UF-hcard-org}} | ||
Use {{tl|Birth date}} for "founded", but '''ONLY''' if a full YYYY-MM-DD date is available. | Use {{tl|Birth date}} for "founded", but '''ONLY''' if a full YYYY-MM-DD date is available. | ||
− | === | + | ===Categories === |
− | + | *{{clc|Pages using infobox NHL team with unknown parameters}} | |
− | |||
− | |||
+ | <includeonly>{{Sandbox other|| | ||
+ | <!-- CATEGORIES HERE, THANKS --> | ||
[[Category:Ice hockey infobox templates|National Hockey League team]] | [[Category:Ice hockey infobox templates|National Hockey League team]] | ||
− | + | [[Category:Templates that add a tracking category]] | |
− | + | }}</includeonly> | |
− | |||
− | [[ | ||
− | </includeonly> |
Latest revision as of 20:41, 25 April 2020
![]() | This is a documentation subpage for Template:Infobox NHL team. It contains usage information, categories and other content that is not part of the original template page. |
![]() | 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