Hopp til innhald

Mal:Fs player

Frå Wikipedia – det frie oppslagsverket

Note: Flagga viser til landslaget som spelaren kan spela for, som definert av FIFA sine reglar. Spelarane kan ha fleire nasjonalitetar i annan forstand.

Nr. Posisjon Spelar
{{landdata {{{nat}}}|land flaggikon2|variant=|storleik=}} {{{name}}}
Nr. Posisjon Spelar
[sjå] [endra] [oppdater] Maldokumentasjon


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

Most squads are split into two vertical columns. For these, you can use the {{fs start}}, {{fs mid}} and {{Fs end}} templates to help with the layouting, and then use this template repeatedly within them:

{{Fs start}}
<!-- For help using the below template, please see [[Template talk:Football squad player]] -->
{{fs player|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME}}
{{fs player|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME|other=#OTHER_RELATED_INFO}}
...
{{Fs mid}}
{{Fs player|no=11|nat=ITA|pos=FW|name=[[Gioacchini Simone]]}}
...
{{Fs end}}

Alternatively, if you just want a single column, you can use {{football squad blank column}} to fill in a blank right hand column.

{{fs start}}
{{fs player|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME}}
...
{{fs blank column}}
{{fs end}}

Alternative template names

[endre wikiteksten]

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 mid}}, {{Fs player}}, {{Fs end}} and {{Fs blank column}} as alternative templates, using the same equivalent syntax of the other ones.

Parameters

[endre wikiteksten]
  • 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.
  • 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.

For example, the following code:

{{fs start}}
{{fs player | no=1  | nat=Spain      | pos=GK | name=[[Iker Casillas]]}}
{{fs player | no=3  | nat=ESP        | pos=DF | name=[[Gerard Pique]]}}
{{fs player | no=9  | nat=Singapore  | pos=FW | name=[[Aleksandar Đurić]] | other=team captain}}
{{fs player | no=10 | nat=NED| pos=FW | name=[[Robin Van Persie]]}}
{{fs mid}}
{{fs player | no=13 | nat=Sør-Korea| pos=MF | name=[[Park Ji-sung]]}}
{{fs player | no=25 | nat=ENG  | pos=GK | name=[[Joe Hart]]}}
{{fs player | no=1  | nat=Spain  | natvar=1931 | pos=GK | name=[[Ricardo Zamora]]}}
{{fs player | no=   | nat=HUN  | natvar=1949 | pos=FW | name=[[Ferenc Puskas]]}}
 {{fs player | no=42 | nat=     | natvar=     | pos=FW | name=[[Arthur Dent]]}}
{{fs end}}

Produces this table:

Note: Flagga viser til landslaget som spelaren kan spela for, som definert av FIFA sine reglar. Spelarane kan ha fleire nasjonalitetar i annan forstand.

Nr. Posisjon Spelar
1 Flagget til Spania MV Iker Casillas
3 Flagget til Spania F Gerard Pique
9 Flagget til Singapore A Aleksandar Đurić (team captain)
10 Det nederlandske flagget A Robin Van Persie
Nr. Posisjon Spelar
13 Flagget til Sør-Korea M Park Ji-sung
25 Flagget til England MV Joe Hart
1 Flagget til Spania MV Ricardo Zamora
Flagget til Ungarn A Ferenc Puskas
42 Flagget til A Arthur Dent