တမ်းပလိတ်:Football squad player/doc
ဤစာမျက်နှာမှာ တမ်းပလိတ်:Football squad player တမ်းပလိတ်အတွက် အသုံးပြုပုံ လက်စွဲ (documentation) ၏ စာမျက်နှာခွဲ (subpage) တစ်ခုဖြစ်သည်။ ဤစာမျက်နှာတွင် မူရင်း တမ်းပလိတ် page ၌ တစိတ်တပိုင်းအဖြစ် မပါဝင်သည့် အသုံးပြုပုံပြုနည်းနှင့် သက်ဆိုင်သည့် သတင်းအချက်များ၊ ကဏ္ဍများ နှင့် အခြားအချက်အလက်များ ပါဝင်သည်။ |
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}}, {{Football squad mid}} and {{Football squad 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]] --> {{Football squad 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}} ... {{Football squad mid}} {{Football squad player|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME}} ... {{Football squad 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}} {{Football squad player|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME}} ... {{football squad blank column}} {{Football squad 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.
Example
[ပြင်ဆင်ရန်]For example, the following code:
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:
- GK for Goalkeeper;
- DF for Defender;
- MF for Midfielder;
- 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.
Microformat
[ပြင်ဆင်ရန်]