Template:Football squad player/doc

Usage
This template is used to display a football (soccer) player squad in a standard format.

Syntax
Most squads are split into two vertical columns. For these, you can use the,  and  templates to help with the layouting, and then use this template repeatedly within them:

Alternative template names
In order to make easier the work of writing new squads, some alternative, shorter, names has been designed. So, you may now use Fs start, Fs player, Fs mid and Fs end as alternative templates, using the same equivalent syntax of the other ones.

Parameters
In Football squad start:


 * : By default, the note at the top of the template will always display. It can be disabled with |hidenote=yes.
 * : Optional parameter; will display the date as typed.
 * : Optional parameter; will add a reference to the end of the header.

In Football squad start and football squad mid


 * : Use this param to specify a custom background color for the table header. Use RRGGBB values without the # sign. Example: |bg=5d9731
 * : Use this param to specify a custom text color for the table header. Use RRGGBB values without the # sign. Example: |color=ffffff

In Football squad start, football squad mid and Football squad player:


 * : Many clubs use squad numbers, but others do not. Adding  to football squad start will disable the number column entirely. If used, this parameter should also be added to every player's entry, as otherwise a dash will be shown.

In Football squad player:


 * : The shirt number for the player, if they have one. If the player's number is not known, or unassigned, then you can use the  character instead.
 * : The player's nationality. Use the name of the country, or its 3-letter IOC country code, rather than an adjective (e.g. "Spain" instead of "Spanish"). This is for (regardless of nationality of birth or citizenship, or non-FIFA sporting nationalities the player may use in other contexts). If this template is used in a non-FIFA context, then some other nationality might apply; however, this parameter is never for indication of birthplace as such, which has nothing to do with football.
 * : If the relevant flag of the country is other that its current one, e.g. 1931.
 * : The position in which the player plays. You can use any of the four options below:
 * for Goalkeeper;
 * for Defender;
 * for Midfielder;
 * for Striker or Forward;
 * : The player's name.
 * : This is an optional parameter. You can add any related info to this parameter, like specifying captain, vice-captain, whether the player is on loan, etc. It will show additional info in the brackets after the player name. You do not have to specify it if neither applies.

Example
For example, the following code:

Produces this table: