This template is used to display a football (soccer) player squad in a standard format. It is derived from Template:Football squad player, with additional features and changes which aim to resolve WP:ACCESS with that template.

Syntax

tahrir
{{Football squad start2}}
{{Football squad player2|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME}}
{{Football squad player2|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME|other=#OTHER_RELATED_INFO}}
...
{{Football squad player2|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME}}
{{Football squad end2}}

Alternative template names

tahrir

In order to make easier the work of writing new squads, some alternative, shorter, names has been designed. So, you may now use {{Fs start2}}, {{Fs player2}} and {{Fs end2}} as alternative templates, using the same equivalent syntax of the other ones.

Parameters

tahrir

In {{Football squad start2}}:

  • hidenote: By default, the note at the top of the template will always display. It can be disabled with |hidenote=yes.
  • date: Optional parameter; will display the date as typed.
  • ref: Optional parameter; will add a reference to the end of the header.
  • bg: Use this param to specify a custom background color for the table header. Use RRGGBB values without the # sign. Example: |bg=5d9731
  • color: Use this param to specify a custom text color for the table header. Use RRGGBB values without the # sign. Example: |color=ffffff

In both {{Football squad start2}} and {{football squad player2}}:

  • nonumber: Many clubs use squad numbers, but others do not. Adding |nonumber=yes to {{football squad start2}} 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.
  • nonat: Adding |nonat=yes to {{football squad start2}} will disable the nation column entirely. If used, nat should be omitted from every player's entry.

In {{Football squad player2}}:

  • no: 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.
  • nat: 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 the country that the player represents in international football (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.
  • natvar: If the relevant flag of the country is other that its current one, e.g. |natvar=1931. Andoza:Crossref
  • pos: The position in which the player plays. You can use any of the four options below:
    1. GK for Goalkeeper;
    2. DF for Defender;
    3. MF for Midfielder;
    4. FW for Striker or Forward;
  • name: The player's name.
  • other: 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

tahrir

For example, the following code:

{{Football squad start2}}
{{Football squad player2|no=1|nat=Germany|pos=GK|name=[[Jens Lehmann]]}}
{{Football squad player2|no=3|nat=England|pos=DF|name=[[Ashley Cole]]}}
{{Football squad player2|no=14|nat=France|pos=FW|name=[[Thierry Henry]]|other=captain }}
{{Football squad player2|no=23|nat=England|pos=DF|name=[[Sol Campbell]]}}
{{Football squad player2|no=24|nat=Spain|pos=GK|name=[[Manuel Almunia]]}}
{{Football squad player2|no=26|nat=Ghana|pos=FW|name=[[Quincy Owusu-Abeyie]]|other=on loan}}
{{Football squad end2}}

Produces this table:

Note: Flags indicate national team as defined under FIFA eligibility rules. Players may hold more than one non-FIFA nationality.

No. Pos. Player Nation
1 GK Jens Lehmann  Germaniya
3 DF Ashley Cole  Angliya
14 FW Thierry Henry (captain)  Fransiya
23 DF Sol Campbell  Angliya
24 GK Manuel Almunia  Ispaniya
26 FW Quincy Owusu-Abeyie (on loan)  Gana

Andoza:Football squad end2

Microformat

tahrir

The HTML markup produced by this template includes an hCard microformat, which makes the person's name parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

To include a URL, use {{URL}}.

Classes

tahrir

The hCard in this template uses at least some of these HTML classes:

  • agent
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • n
  • nickname
  • org
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.

TemplateData

tahrir
Bu TemplateData TemplateWizard, VisualEditor va boshqa vositalar uchun ishlab chiqilgan.

Football squad player2 uchun TemplateData

The template gives displays the shirt no., country, position and full name of a football (soccer) player. Also mentions if a player is a captain, vice-captain or on-loan.

Andoza parametrlari

This template prefers inline formatting of parameters.

ParametrTavsifTuriStatus
National teamnat

The national team of the player, as name or IOC code.

Namuna
Spain or ESP, not Spanish
Stringrequired
Positionpos

The position of the player which can be either GK (Goal keeper), DF(defender), MF(Mid fielder) or FW(Forward)

Namuna
FW
Stringrequired
Namename

Name of player. May be wikilinked.

Namuna
Kaká
Kontentrequired
Other informationother

Optional field that is used to mention captain, vice-captain, on loan, etc.

Namuna
on loan
Stringsuggested
Numberno

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.

Namuna
10
Sonixtiyoriy
No numbernonumber

Player shirt numbers are not shown in the table

Namuna
yes
Booleanixtiyoriy
Flag variantnatvar

To use a historical flag. See Template:Flagicon

Sukut boʻyicha
Use the current flag.
Nomaʼlumixtiyoriy
Referenceref

tavsif yoʻq

Nomaʼlumixtiyoriy