แม่แบบ:Football squad mid
หมายเหตุ: ธงชาติที่ปรากฏบ่งบอกให้ทราบว่าผู้เล่นคนนั้นสามารถเล่นให้กับชาติใดตามกฎของฟีฟ่าตามความเหมาะสม เพราะผู้เล่นบางคนอาจถือสองสัญชาติ
|
|
![]() | แม่แบบนี้ใช้ลูอา |
การใช้ แก้ไข
แม่แบบนี้ใช้สำหรับการแสดงรายชื่อผู้เล่นในทีมฟุตบอลในรูปแบบมาตรฐาน
ไวยากรณ์ แก้ไข
ทีมส่วนใหญ่แบ่งออกเป็นสองคอลัมน์แนวตั้ง คุณสามารถใช้ {{Football squad start}}, {{Football squad mid}} และ {{Football squad end}} ช่วยในการจัดวาง จากนั้นใช้แม่แบบนี้ซ้ำ ๆ ภายในแม่แบบ:
{{Football squad start}} {{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=11|nat=ITA|pos=FW|name=[[Gioacchini Simone]]}} ... {{Football squad end}}
หรือหากคุณต้องการเพียงคอลัมน์เดียว คุณสามารถใช้ แม่แบบ:Football squad blank 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}}
ชื่อแม่แบบทางเลือก แก้ไข
เพื่อให้ง่ายต่อการเขียนทีมใหม่จึงได้มีการออกแบบชื่อทางเลือกอื่นที่สั้นกว่า ตอนนี้คุณสามารถใช้ไฟล์ {{Fs start}}, {{Fs mid}}, {{Fs player}}, {{Fs end}} และ {{Fs blank column}} เป็นแม่แบบทางเลือกโดยใช้ไวยากรณ์ที่เทียบเท่าเดียวกันกับแม่แบบอื่น ๆ
พารามิเตอร์ แก้ไข
- no: ให้ใส่หมายเลขเสื้อของผู้เล่นถ้าพวกเขามี ถ้าไม่ทราบหมายเลขของผู้เล่น หรือยังไม่ได้กำหนด คุณสามารถใช้
–
แทน - nat: สัญชาติของผู้เล่น ให้ใส่ชื่อประเทศหรือใช้อักษรย่อ 3 ตัวจากรหัสประเทศโดยคณะกรรมการโอลิมปิกสากล, rather than an adjective (e.g. "Spain" instead of "Spanish"). This is for 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 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.
|natvar=1931
. - pos: ตำแหน่งของผู้เล่น คุณสามารถใช้ชื่อตำแหน่งจากหนึ่งในสี่ชื่อ ต่อไปนี้:
- GK หมายถึง ผู้รักษาประตู;
- DF หมายถึง กองหลัง;
- MF หมายถึง กองกลาง;
- FW หมายถึง สไตรเกอร์ หรือ กองหน้า;
- 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.
ตัวอย่าง แก้ไข
For example, the following code:
{{Football squad start}} {{football squad player | no=1 | nat=Spain | pos=GK | name=[[Iker Casillas]]}} {{football squad player | no=3 | nat=ESP | pos=DF | name=[[Gerard Pique]]}} {{football squad player | no=9 | nat=Singapore | pos=FW | name=[[Aleksandar Đurić]] | other=team captain}} {{football squad player | no=10 | nat=NED| pos=FW | name=[[Robin Van Persie]]}} {{football squad mid}} {{football squad player | no=13 | nat=South Korea| pos=MF | name=[[Park Ji-sung]]}} {{football squad player | no=25 | nat=ENG | pos=GK | name=[[Joe Hart]]}} {{football squad player | no=1 | nat=Spain | natvar=1931 | pos=GK | name=[[Ricardo Zamora]]}} {{football squad player | no= | nat=HUN | natvar=1949 | pos=FW | name=[[Ferenc Puskas]]}} {{football squad player | no=42 | nat= | natvar= | pos=FW | name=[[Arthur Dent]]}} {{football squad end}}
Produces this table:
หมายเหตุ: ธงชาติที่ปรากฏบ่งบอกให้ทราบว่าผู้เล่นคนนั้นสามารถเล่นให้กับชาติใดตามกฎของฟีฟ่าตามความเหมาะสม เพราะผู้เล่นบางคนอาจถือสองสัญชาติ
|
|
ไมโครฟอร์แมต แก้ไข
TemplateData แก้ไข
ข้อมูลแม่แบบสำหรับ Football squad mid (ยังไม่มีการตรวจสอบ)
แม่แบบ:Football squad mid/TemplateData
คู่มือการใช้งานที่ปรากฏด้านบนนี้ดึงมาจาก แม่แบบ:Football squad player/doc (แก้ | ประวัติ) ผู้เขียนสามารถทำการทดลองได้ที่กระบะทราย (สร้าง | คัดลอก) และชุดทดสอบ (สร้าง) ของแม่แบบนี้ หน้าย่อยของแม่แบบนี้ |