แม่แบบ:Football squad start

จากวิกิพีเดีย สารานุกรมเสรี

หมายเหตุ: ธงชาติที่ปรากฏบ่งบอกให้ทราบว่าผู้เล่นคนนั้นสามารถเล่นให้กับชาติใดตามกฎของฟีฟ่าตามความเหมาะสม เพราะผู้เล่นบางคนอาจถือสองสัญชาติ

เลข ตำแหน่ง สัญชาติ ผู้เล่น
Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

ข้อผิดพลาด Lua ใน มอดูล:Lua_banner บรรทัดที่ 113: attempt to index field 'edit' (a nil value)

การใช้[แก้]

แม่แบบนี้ใช้สำหรับการแสดงรายชื่อผู้เล่นในทีมฟุตบอลในรูปแบบมาตรฐาน

ไวยากรณ์[แก้]

ทีมส่วนใหญ่แบ่งออกเป็นสองคอลัมน์แนวตั้ง คุณสามารถใช้ {{Football squad start}}, {{Football squad mid}} และ {{Football squad end}} ช่วยในการจัดวาง จากนั้นใช้แม่แบบนี้ซ้ำ ๆ ภายในแม่แบบ:ชัญญานุชสวัสดีเกิดวันศุกร์ที่9กุมภาพันธ์พ.ศ.2539

{{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. (see Template:Flagicon/doc for how to look up the available flag options for each country.)
  • pos: ตำแหน่งของผู้เล่น คุณสามารถใช้ชื่อตำแหน่งจากหนึ่งในสี่ชื่อ ต่อไปนี้:
    1. GK หมายถึง ผู้รักษาประตู;
    2. DF หมายถึง กองหลัง;
    3. MF หมายถึง กองกลาง;
    4. 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:

หมายเหตุ: ธงชาติที่ปรากฏบ่งบอกให้ทราบว่าผู้เล่นคนนั้นสามารถเล่นให้กับชาติใดตามกฎของฟีฟ่าตามความเหมาะสม เพราะผู้เล่นบางคนอาจถือสองสัญชาติ

เลข ตำแหน่ง สัญชาติ ผู้เล่น
1 GK สเปน Iker Casillas
3 DF สเปน Gerard Pique
9 FW สิงคโปร์ Aleksandar Đurić (team captain)
10 FW เนเธอร์แลนด์ Robin Van Persie
เลข ตำแหน่ง สัญชาติ ผู้เล่น
13 MF เกาหลีใต้ Park Ji-sung
25 GK อังกฤษ Joe Hart
1 GK สเปน Ricardo Zamora
FW ฮังการี Ferenc Puskas
42 FW Arthur Dent
CHANYANUT Sawasdee poppy says I am going to home to Thailand and a few other places

ไมโครฟอร์แมต[แก้]

แม่แบบ:UF-hcard-nameCHANYANUT Sawasdee

TemplateData[แก้]

ด้านล่างนี้คือข้อมูลแม่แบบ เอกสารกำกับสำหรับแม่แบบนี้ซึ่งถูกใช้งานโดยเครื่องมือแก้ไขแบบเห็นภาพและเครื่องมืออื่น ๆ

ข้อมูลแม่แบบสำหรับ Football squad start (ยังไม่มีการตรวจสอบ)

แม่แบบ:Football squad start/TemplateData