Template:Infobox team: Difference between revisions

From Bhamwiki
Jump to navigation Jump to search
(New page: {| class="infobox" style="font-size: 90%; width: 22em; text-align: left; border: thin solid #999; margin: .2em; padding: .3em; float: right;" |- <!-- -->{{!}} colspan="2" style="text-align...)
 
(Add ability to customize Coach text.)
Line 20: Line 20:
|style="background-color: #FFFFFF;"  | {{{record|Uncertain}}}
|style="background-color: #FFFFFF;"  | {{{record|Uncertain}}}
|-
|-
!style="background-color: #F5F5EC; font-size: 11px;" | Coach(es)
!style="background-color: #F5F5EC; font-size: 11px;" | {{{coach text|Coach}}}
|style="background-color: #FFFFFF;"  | {{{coach}}}
|style="background-color: #FFFFFF;"  | {{{coach}}}
|-
|-
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;))
* '''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)


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:
* '''logo''' (team logo, defaults to blank space)
* '''logo''' (team logo, defaults to blank space)
* '''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")
* '''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 "Defunct")

Revision as of 14:02, 17 November 2009

{{{name}}}
Sport {{{sport}}}
League {{{league}}}
Active {{{years}}}
Home field {{{home}}}
Record Uncertain
Coach {{{coach}}}
Web site Defunct

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, on 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 "Defunct")

Example

{{Infobox team | name=Birmingham Bulls
| logo=[[Image:Birmingham_Bulls_1980s_logo.gif|150px]]
| sport=Hockey
| league=CHL
| years=1979–1981
| field type=arena
| home=[[Birmingham Jefferson Convention Complex|BJCC]]
| coach=[[John Brophy]]
| website=N/A
}}
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