Template:Infobox team: Difference between revisions

From Bhamwiki
Jump to navigation Jump to search
m (Bigger logo in example)
(Changed website default, fixed typo)
Line 24: Line 24:
|-
|-
!style="background-color: #F5F5EC; font-size: 11px;" | Web site
!style="background-color: #F5F5EC; font-size: 11px;" | Web site
|style="background-color: #FFFFFF;"  | {{{website|Defunct}}}
|style="background-color: #FFFFFF;"  | {{{website|N/A}}}
|}<noinclude>
|}<noinclude>
==Usage==
==Usage==
Line 33: Line 33:
* '''years''' (year(s) the team played)
* '''years''' (year(s) the team played)
* '''home''' (home arena/field)
* '''home''' (home arena/field)
* '''coach''' (coach or coaches; multiple individuals should be listed with the years they coached and separated by line breaks (&lt;br&gt;); for particularly long-lived teams, on the current coach or notable coaches might be listed)
* '''coach''' (coach or coaches; multiple individuals should be listed with the years they coached and separated by line breaks (&lt;br&gt;); 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:
The following parameters are '''optional''', but will display the default if not specified:
Line 40: Line 40:
* '''coach text''' (used for "Coach" header; defaults to "Coach")
* '''coach text''' (used for "Coach" header; defaults to "Coach")
* '''record''' (In Win-Loss-Tie format; defaults to "Uncertain")
* '''record''' (In Win-Loss-Tie format; defaults to "Uncertain")
* '''website''' (official web site for the team; use normal external link format (e.g. <nowiki>[http://www.barons.com/ barons.com/]</nowiki>); defaults to "Defunct")
* '''website''' (official web site 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 54: Line 54:
| home=[[Birmingham Jefferson Convention Complex|BJCC]]
| home=[[Birmingham Jefferson Convention Complex|BJCC]]
| coach=[[John Brophy]]
| coach=[[John Brophy]]
| website=N/A
}}
}}
</pre>
</pre>

Revision as of 11:10, 30 March 2010

{{{name}}}
Sport {{{sport}}}
League {{{league}}}
Active {{{years}}}
Home field {{{home}}}
Record Uncertain
Coach {{{coach}}}
Web site 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")
  • record (In Win-Loss-Tie format; defaults to "Uncertain")
  • website (official web site 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
Birmingham Bulls 1980s logo.gif
Sport Hockey
League CHL
Active 1979–1981
Home arena BJCC
Record Uncertain
Coach(es) John Brophy
Web site N/A