ผลต่างระหว่างรุ่นของ "แม่แบบ:Football squad player/doc"
เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
หน้าใหม่: {{Documentation subpage}} {{lua|Module:Flag}} <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> == การใช้ == This template is used to display a foot... ป้ายระบุ: เครื่องมือแก้ไขต้นฉบับปี 2560 |
ไม่มีความย่อการแก้ไข ป้ายระบุ: เครื่องมือแก้ไขต้นฉบับปี 2560 |
||
บรรทัด 4:
== การใช้ ==
แม่แบบนี้ใช้สำหรับการแสดงรายชื่อผู้เล่นในทีมฟุตบอลในรูปแบบมาตรฐาน
=== ไวยากรณ์ ===
<nowiki>{{Football squad start}}</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}} เพื่อเติมคอลัมน์ทางขวามือที่ว่างเปล่า
<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>–</code> character instead.
* '''nat''': The player's nationality. Use the name of the country, or its 3-letter [[
* '''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:
|