ผลต่างระหว่างรุ่นของ "แม่แบบ:Football squad player/doc"

เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
Patseaza (คุย | ส่วนร่วม)
หน้าใหม่: {{Documentation subpage}} {{lua|Module:Flag}} <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> == การใช้ == This template is used to display a foot...
ป้ายระบุ: เครื่องมือแก้ไขต้นฉบับปี 2560
 
Patseaza (คุย | ส่วนร่วม)
ไม่มีความย่อการแก้ไข
ป้ายระบุ: เครื่องมือแก้ไขต้นฉบับปี 2560
บรรทัด 4:
 
== การใช้ ==
แม่แบบนี้ใช้สำหรับการแสดงรายชื่อผู้เล่นในทีมฟุตบอลในรูปแบบมาตรฐาน
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คุณสามารถใช้ <nowiki>{{Football squad start}}</nowiki>, <nowiki>{{Football squad mid}}</nowiki> andและ <nowiki>{{Football squad end}}</nowiki> templates to help with the layouting, and then use this templateช่วยในการจัดวาง repeatedlyจากนั้นใช้แม่แบบนี้ซ้ำ within themภายในแม่แบบ:
 
<nowiki>{{Football squad start}}</nowiki>
<nowiki><!-- For help using the below template, please see [[Template talk:Football squad player]] --></nowiki>
'''<nowiki>{{Football squad player|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME}}</nowiki>'''
'''<nowiki>{{Football squad player|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME|other=#OTHER_RELATED_INFO}}</nowiki>'''
เส้น 19 ⟶ 18:
<nowiki>{{Football squad end}}</nowiki>
 
หรือหากคุณต้องการเพียงคอลัมน์เดียว คุณสามารถใช้ {{football squad blank column}} เพื่อเติมคอลัมน์ทางขวามือที่ว่างเปล่า
Alternatively, if you just want a single column, you can use <nowiki>{{football squad blank column}}</nowiki> to fill in a blank right hand column.
 
<nowiki>{{football squad start}}</nowiki>
เส้น 32 ⟶ 31:
=== พารามิเตอร์ ===
* '''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 <code>&ndash;</code> character instead.
* '''nat''': The player's nationality. Use the name of the country, or its 3-letter [[List of IOC country codesรายชื่อรหัสประเทศโดยคณะกรรมการโอลิมปิกสากล|IOC country codeรหัสประเทศโดยคณะกรรมการโอลิมปิกสากล]], rather than an adjective (e.g. "Spain" instead of "Spanish"). This is for {{em|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 [[Wikipedia:Manual of Style/Icons#Inappropriate use|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. {{para|natvar|1931}}. {{crossref|(see [[Template:Flagicon/doc]] for how to look up the available flag options for each country.)}}
* '''pos''': The position in which the player plays. You can use any of the four options below: