Template:Football squad2 start/doc

undefined 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:Everton F.C. squad.

Syntax
You need to use three templates to create a squad list using this template: football squad2 start, football squad2 player and football squad2 lastplayer. Use football squad2 start to define the team name and colours, football squad2 player to add the name and number of every player and football squad2 lastplayer to add the last player in the squad and close the template.

Example
The code:

Creates the following table:

Start

 * teamname: Name of the team. Use the name of the team's article.
 * 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
 * title(optional): Enter this paramater to change the team name shown in the header to something other than the article name.

player and lastplayer

 * no: Player's squad number
 * name: Typically a Piped link to the player's article on Wikipedia. The pipe should have the article name first and the player's surname (or nickname) second, for example  Rooney  or  Fred . For players whose article title is only one word long a piped link is not necessary (for example  Ronaldinho  would be fine). For players with a space in their surname, such as Marco van Basten, the use of a piped link with &amp;nbsp; instead of a space ensures that the name will appear on one line:
 *  van Basten  becomes  van&amp;nbsp;Basten. 
 *  Carlos Alberto  becomes  Carlos&amp;nbsp;Alberto . See Non-breaking space for further details.

manager
This can be used instead of the lastplayer template, if the inclusion of a club manager is desired.
 * title: An optional extra which changes the title of "Manager". Alternative titles may include "Coach" or "Caretaker Manager" (Caretaker&amp;nbsp;Manager).

Categorisation
Templates are categorised into countries within the Category:Football squad templates. It is important to use &lt;noinclude&gt; and &lt;/noinclude&gt; either side of the categories so that they are not seen on the template.

fi:Malline:Urheilujoukkueen pelaajat