Page semibeskyttet

Skabelon:Fs end

Fra Wikipedia, den frie encyklopædi
Spring til navigation Spring til søgning

|}

|}

Documentation icon Skabelondokumentation[vis] [redigér] [historik] [opfrisk]

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 {{Football squad start}}, {{Fs mid}} and {{Fs end}} templates to help with the layouting, and then use this template repeatedly within them:

{{Football squad 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}}
{{Football squad 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.

{{football squad start}}
{{Fs player|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME}}
...
{{Fs end}}

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

Eksempel

For eksmpelproducerer følgende kode:

{{Football squad start}}
{{fs player | no=1  | nat=Spain      | pos=GK | name=[[Iker Casillas]]}}
{{fs player | no=3  | nat=Spain      | pos=DF | name=[[Gerard Pique]]}}
{{fs player | no=9  | nat=Singapore  | pos=FW | name=[[Aleksandar Đurić]] | other=kaptajn}}
{{fs mid}}
{{fs player | no=10 | nat=Netherlands| pos=FW | name=[[Robin van Persie]]}}
{{fs player | no=13 | nat=South Korea| pos=MF | name=[[Park Ji-sung]]}}
{{fs player | no=25 | nat=England    | pos=GK | name=[[Joe Hart]]}}
{{fs end}}

denne tabel:

Nr. Position Spiller
1 Spanien MM Iker Casillas
3 Spanien FO Gerard Pique
9 Singapore AN Aleksandar Đurić (kaptajn)
Nr. Position Spiller
10 Holland AN Robin van Persie
13 Sydkorea MI Park Ji-sung
25 England MM Joe Hart

Parameters

  • 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 usually the country of the player's birth; however, if a player has dual nationality then use the country that he represents in international football.
  • pos: The position in which the player plays. You can use any of the four options below:
    1. GK for Målmand;
    2. DF for Forsvarsspiller;
    3. MF for Angriber;
    4. FW for Angriber 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.

Microformat

Skabelon:UF-hcard-name


TemplateData

Dette er denne skabelons TemplateData-dokumentation, som bruges af VisualEditor og andre værktøjer.

Fs end

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.

Skabelonparametre

Denne skabelon foretrækker inline-formatering af parametre.

ParameterBeskrivelseTypeStatus
Natnat

The national team of the player

Eksempel
Brazil
Strengpåkrævet
Pospos

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

Eksempel
FW
Strengpåkrævet
NameName

Name of player

Eksempel
Kaká
Strengpåkrævet
Otherother

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

Eksempel
on-loan
Strengforeslået
Nono

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.

Eksempel
10
Talpåkrævet