Template:Infobox team: Difference between revisions
Jump to navigation
Jump to search
(Changed website default, fixed typo) |
No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" style="font-size: 90%; width: 22em; text-align: left; border: thin solid #999; margin: | {| class="infobox" style="font-size: 90%; width: 22em; text-align: left; border: thin solid #999; margin: 1em; padding: 0.3em; float: right;" | ||
|- | |- | ||
<!-- -->{{!}} colspan="2" style="text-align: center; background-color: #DBDABA" {{!}}'''{{{name}}}''' | <!-- -->{{!}} colspan="2" style="text-align: center; background-color: #DBDABA" {{!}}'''{{{name}}}''' | ||
Line 14: | Line 14: | ||
|style="background-color: #FFFFFF;" | {{{years}}} | |style="background-color: #FFFFFF;" | {{{years}}} | ||
|- | |- | ||
!style="background-color: #F5F5EC; font-size: 11px;" | Home {{{field type|field}}} | !style="background-color: #F5F5EC; font-size: 11px;" | Home {{{field type|field}}} | ||
|style="background-color: #FFFFFF;" | {{{home}}} | |style="background-color: #FFFFFF;" | {{{home}}} | ||
|- | |- | ||
Line 23: | Line 23: | ||
|style="background-color: #FFFFFF;" | {{{coach}}} | |style="background-color: #FFFFFF;" | {{{coach}}} | ||
|- | |- | ||
!style="background-color: #F5F5EC; font-size: 11px;" | | !style="background-color: #F5F5EC; font-size: 11px;" | General manager | ||
|style="background-color: #FFFFFF;" | {{{general manager|N/A}}} | |||
|- | |||
!style="background-color: #F5F5EC; font-size: 11px;" | Website | |||
|style="background-color: #FFFFFF;" | {{{website|N/A}}} | |style="background-color: #FFFFFF;" | {{{website|N/A}}} | ||
|}<noinclude> | |}<noinclude> | ||
Line 39: | Line 42: | ||
* '''field type''' (used for "Home field" header; typically "field" or "arena", defaults to "field") | * '''field type''' (used for "Home field" header; typically "field" or "arena", defaults to "field") | ||
* '''coach text''' (used for "Coach" header; defaults to "Coach") | * '''coach text''' (used for "Coach" header; defaults to "Coach") | ||
* '''general manager''' (used for "General manager" header; defaults to "N/A") | |||
* '''record''' (In Win-Loss-Tie format; defaults to "Uncertain") | * '''record''' (In Win-Loss-Tie format; defaults to "Uncertain") | ||
* '''website''' (official | * '''website''' (official website for the team; use normal external link format (e.g. <nowiki>[http://www.barons.com/ barons.com/]</nowiki>); defaults to "N/A") | ||
== Example == | == Example == | ||
Line 82: | Line 86: | ||
|style="background-color: #FFFFFF;" | [[John Brophy]] | |style="background-color: #FFFFFF;" | [[John Brophy]] | ||
|- | |- | ||
!style="background-color: #F5F5EC; font-size: 11px;" | | !style="background-color: #F5F5EC; font-size: 11px;" | Website | ||
|style="background-color: #FFFFFF;" | N/A | |style="background-color: #FFFFFF;" | N/A | ||
|} | |} | ||
[[Category: | [[Category:Infobox templates|Team]] | ||
</noinclude> | </noinclude> |
Latest revision as of 14:38, 8 September 2022
{{{name}}} | |
Sport | {{{sport}}} |
---|---|
League | {{{league}}} |
Active | {{{years}}} |
Home field | {{{home}}} |
Record | Uncertain |
Coach | {{{coach}}} |
General manager | N/A |
Website | N/A |
Usage
This template is for sports teams. The following parameters are required and none of them automatically link:
- name (name of the team)
- sport (type of sport played)
- league (league in which the team played)
- years (year(s) the team played)
- home (home arena/field)
- coach (coach or coaches; multiple individuals should be listed with the years they coached and separated by line breaks (<br>); for particularly long-lived teams, only the current coach or notable coaches might be listed)
The following parameters are optional, but will display the default if not specified:
- logo (team logo, defaults to blank space)
- field type (used for "Home field" header; typically "field" or "arena", defaults to "field")
- coach text (used for "Coach" header; defaults to "Coach")
- general manager (used for "General manager" header; defaults to "N/A")
- record (In Win-Loss-Tie format; defaults to "Uncertain")
- website (official website for the team; use normal external link format (e.g. [http://www.barons.com/ barons.com/]); defaults to "N/A")
Example
{{Infobox team | name=Birmingham Bulls | logo=[[Image:Birmingham_Bulls_1980s_logo.gif|225px]] | sport=Hockey | league=CHL | years=1979–1981 | field type=arena | home=[[Birmingham Jefferson Convention Complex|BJCC]] | coach=[[John Brophy]] }}
Birmingham Bulls | |
Sport | Hockey |
---|---|
League | CHL |
Active | 1979–1981 |
Home arena | BJCC |
Record | Uncertain |
Coach(es) | John Brophy |
Website | N/A |