الگو:Fs end
|} |}
استفاده
[ویرایش]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 {{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}} ... {{football squad blank column}} {{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.
نمونه
[ویرایش]For example, the following code:
{{Fs start}} {{Fs player| no=1 | nat=Spain | pos=GK | name=[[ایکر کاسیاس]]}} {{Fs player| no=3 | nat=Spain | pos=DF | name=[[جرارد پیکه]]}} {{Fs player| no=9 | nat=Singapore | pos=FW | name=[[Aleksandar Đurić]] | other=team captain}} {{Fs mid}} {{Fs player| no=10 | nat=Netherlands| pos=FW | name=[[روبین فان پرسی]]}} {{Fs player| no=13 | nat=South Korea| pos=MF | name=[[پارک جی سونگ]]}} {{Fs player| no=25 | nat=England | pos=GK | name=[[جو هارت]]}} {{Fs end}}
Produces this table:
|
|
پارامترها
[ویرایش]- 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:
- GK for Goalkeeper;
- DF for Defender;
- MF for هافبک;
- 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.