Template:Speedway squad
From Wikipedia, the free encyclopedia
| [[{{{teamname}}}|{{{teamname}}}]] - Current squad |
|---|
|
1 {{{name1}}} 2 {{{name2}}} 3 {{{name3}}} 4 {{{name4}}} 5 {{{name5}}} 6 {{{name6}}} 7 {{{name7}}} 8 {{{name8}}} Manager: {{{managername}}} |
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.
- [[Jason Crump]] becomes [[Jason Crump|Jason Crump]].. See Non-breaking space for further details.
- 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]]
}}
| Sheffield Tigers - Current squad |
|---|
|
1 Ricky Ashworth 2 Ben Wilson 3 Andre Compton (c) 4 James Birkinshaw 5 Joel Parsons 6 Paul Cooper 7 James Cockle Manager: 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
}}
| Sheffield - Current squad |
|---|
|
1 Ricky Ashworth 2 Ben Wilson 3 Andre Compton (c) 4 James Birkinshaw 5 Joel Parsons 6 Paul Cooper 7 James Cockle 8 Jason Crump Promoter: Reg Wilson |
[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]]
}}
| Britain - 2007 Speedway World Cup |
|---|
|
1 Ricky Ashworth 2 Ben Wilson 3 Andre Compton (c) 5 Joel Parsons 6 Paul Cooper 7 James Cockle 8 Jason Crump |

