Template:Speedway squad

From Wikipedia, the free encyclopedia

[edit] Template documentation

Contents

[edit] Usage

{{Speedway squad}} is designed to be used within squad list templates (typically placed at the bottom of a player page) in order to make editing and standardisation easier. If you want to use this template first set up a new template for your squad, typically called something like Template:(team name) squad. For an example of the template in use see Template:Sheffield speedway team.

The full blank template is as below -

{{Speedway squad
 | bgcolor = 
 | bordercolor = 
 | textcolor =
 | teamname =
 | alttitle =
 | squadtitle =
 | name1 =
 | name2 =
 | name3 =
 | name4 =
 | name5 =
 | name6 =
 | name7 =
 | name8 =
 | managername =
 | managertitle =
 }}

[edit] Parameters

  • bgcolor: Color of the header background. Can be either a name (for example red) or in hexadecimal (for example #ff0000)
  • textcolor: Color of the header text. Can be either a name or in hexadecimal
  • bordercolor: Color of the header border. Can be either a name or in hexadecimal
  • teamname: Name of the team. Use the name of the team's article.
  • alttitle:(optional): Enter this parameter to change the team name shown in the header to something other than the article name.
  • squadtitle:(optional): Enter this parameter to change the title of the box to something other than Current squad.
  • name: Typically a direct or Piped link to the person's article on Wikipedia.
    For people with a space in their name, such as Jason Crump, the use of a piped link with   instead of a space ensures that the name will appear on one line:
    • [[Jason Crump]] becomes [[Jason Crump|Jason Crump]].. See Non-breaking space for further details.
      All names are optional just in case the squad is not complete, it will allow you to leave out an entry if you so wish.
  • managername:(optional) Gives you the ability to add a Team manager to the squad if desired
  • managertitle:(optional) An optional extra which changes the title of "Manager". Alternative titles may include "Coach" or "Caretaker Manager" (Caretaker Manager).

[edit] Examples

[edit] General with no number 8

{{Speedway squad
 | bgcolor = #0000FF
 | bordercolor = yellow
 | textcolor = yellow
 | teamname = Sheffield Tigers
 | name1 = [[Ricky Ashworth]]
 | name2 = [[Ben Wilson (speedway rider)|Ben Wilson]]
 | name3 = [[Andre Compton|Andre Compton]] (c)
 | name4 = [[James Birkinshaw|James Birkinshaw]]
 | name5 = [[Joel Parsons|Joel Parsons]]
 | name6 = [[Paul Cooper (speedway rider)|Paul Cooper]]
 | name7 = [[James Cockle (speedway rider)|James Cockle]]
 | managername = [[Reg Wilson|Reg Wilson]]
 }}

[edit] Using alternate titles for the team and manager

{{Speedway squad
 | bgcolor = #0000FF
 | bordercolor = yellow
 | textcolor = yellow
 | teamname = Sheffield Tigers
 | alttitle = Sheffield
 | name1 = [[Ricky Ashworth]]
 | name2 = [[Ben Wilson (speedway rider)|Ben Wilson]]
 | name3 = [[Andre Compton|Andre Compton]] (c)
 | name4 = [[James Birkinshaw|James Birkinshaw]]
 | name5 = [[Joel Parsons|Joel Parsons]]
 | name6 = [[Paul Cooper (speedway rider)|Paul Cooper]]
 | name7 = [[James Cockle (speedway rider)|James Cockle]]
 | name8 = [[Jason Crump|Jason Crump]]
 | managername = [[Reg Wilson|Reg Wilson]]
 | managertitle = Promoter
 }}

[edit] Using alternate titles and squadtitles

{{Speedway squad
 | bgcolor = red
 | bordercolor = yellow
 | textcolor = yellow
 | teamname = British Speedway national team
 | alttitle = Britain
 | squadtitle = 2007 Speedway World Cup
 | name1 = [[Ricky Ashworth]]
 | name2 = [[Ben Wilson (speedway rider)|Ben Wilson]]
 | name3 = [[Andre Compton|Andre Compton]] (c)
 | name5 = [[Joel Parsons|Joel Parsons]]
 | name6 = [[Paul Cooper (speedway rider)|Paul Cooper]]
 | name7 = [[James Cockle (speedway rider)|James Cockle]]
 | name8 = [[Jason Crump|Jason Crump]]
 }}