แม่แบบ:Football box

จากวิกิพีเดีย สารานุกรมเสรี
v
Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

Usage[แก้]

All attributes are optional.

{{Football box
|id           =
|date         = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
|time         =
|event        =
|round        =
|team1        =
|score1       =
|team2        =
|score2       =
|scorenote    = 
|aet          =
|report       =
|goals1       =
|goals2       =
|stadium      =
|location     =
|attendance   =
|referee      =
|penalties1   =
|penaltyscore =
|penalties2   =
|size         = <!-- changes the width; use a percentage; include "%" after the percentage; default is "100%" -->
|bg           = <!-- changes the background color; use a hex color code; include "#" before the hex color code; default is "transparent" -->
}}

Example[แก้]

{{Football box
|id           = Italy v France
|date         = {{Start date|2006|07|09|df=y}}
|time         = 20:00 [[Central European Summer Time|CEST]]
|event        = [[2006 FIFA World Cup]]
|round        = [[2006 FIFA World Cup Final|Final]]
|team1        = {{fb-rt|ITA}}
|score1       = 1
|team2        = {{fb|FRA}}
|score2       = 1
|aet          = yes
|report       = https://www.fifa.com/worldcup/matches/round=97410600/match=97410064/index.html
|goals1       = [[Marco Materazzi|Materazzi]] {{goal|19}}
|goals2       = [[Zinedine Zidane|Zidane]] {{goal|7|pen.}}
|stadium      = [[Olympiastadion (Berlin)|Olympiastadion]]
|location     = [[Berlin]]
|attendance   = 69,000
|referee      = [[Horacio Elizondo]] ([[Argentine Football Association|Argentina]])
|penaltyscore = 5–3
|penalties1   = 
* [[Andrea Pirlo|Pirlo]] {{pengoal}}
* [[Marco Materazzi|Materazzi]] {{pengoal}}
* [[Daniele De Rossi|De Rossi]] {{pengoal}}
* [[Alessandro Del Piero|Del Piero]] {{pengoal}}
* [[Fabio Grosso|Grosso]] {{pengoal}}
|penalties2   = 
* {{pengoal}} [[Sylvain Wiltord|Wiltord]]
* {{penmiss}} [[David Trezeguet|Trezeguet]]
* {{pengoal}} [[Éric Abidal|Abidal]]
* {{pengoal}} [[Willy Sagnol|Sagnol]]
}}

produces:

See also[แก้]

Goal {{goal}}
โดนใบเหลือง {{yel}} Red card {{sent off}} Yellow card Red card {{sent off|1}} Yellow card Yellow-red card {{sent off|2}}
Substituted on {{subon}} Substituted off {{suboff}}
Penalty scored {{pengoal}} Missed {{penmiss}}
Golden goal scored {{golden goal}} Silver goal scored {{silver goal}}

TemplateData[แก้]

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

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

เทมเพลตนี้แสดงสรุปการแข่งขันฟุตบอล สรุปประกอบด้วยวันที่และเวลา สนามกีฬา ทีมที่แข่งขัน ผู้ทำประตู และนาทีประตู ลิงก์ไปยังรายงานการแข่งขันอย่างเป็นทางการ และการเข้าร่วมในสนาม นอกจากนี้ยังรวมถึงว่าการแข่งขันจะเป็นช่วงต่อเวลาพิเศษหรือการยิงจุดโทษหรือไม่ และแสดงผลตามลำดับ

พารามิเตอร์แม่แบบ[แก้ไขข้อมูลแม่แบบ]

This template prefers block formatting of parameters.

พารามิเตอร์คำอธิบายชนิดสถานะ
datedate

วันที่ที่การแข่งขันเกิดขึ้นหรือจะเกิดขึ้น

ตัวอย่าง
28 เมษายน พ.ศ. 2567
วันที่จำเป็น
timetime

เวลาที่การแข่งขันเริ่มต้นและเขตเวลาจะกล่าวถึงข้างเวลา

ตัวอย่าง
20:00
สตริงจำเป็น
stadiumstadium

สนามกีฬาที่ใช้จัดการแข่งขัน

ตัวอย่าง
Camp Nou
สตริงจำเป็น
attendanceattendance

จำนวนผู้ชมในสนามแข่งขัน

ตัวอย่าง
71,000
จำนวนจำเป็น
locationlocation

ที่อยู่หรือที่ตั้งของสนามกีฬา

ตัวอย่าง
Barcelona
สตริงจำเป็น
team1team1

ทีมที่เป็นหรือถือว่าเป็นทีมเหย้า

ตัวอย่าง
Barcelona (if venue is Camp Nou)
สตริงจำเป็น
team2team2

ทีมที่เป็นหรือถือว่าเป็นทีมเยือน

ตัวอย่าง
Manchester City (If venue is other than Etihad stadium)
สตริงจำเป็น
score1score1

จำนวนประตูของทีมเจ้าบ้าน

ตัวอย่าง
1
จำนวนเลือกได้
score2score2

จำนวนประตูของทีมเยือน

ตัวอย่าง
0
จำนวนเลือกได้
scorescore

ผลการแข่งขัน

ตัวอย่าง
1-0
สตริงแนะนำ
refereereferee

ผู้ตัดสินอย่างเป็นทางการของการแข่งขันและประเทศของพวกเขาอยู่ในวงเล็บปีกกา

ตัวอย่าง
Horacio Elizondo (Argentina)
สตริงแนะนำ
goals1goals1

ประตูที่ทำได้โดยทีมเจ้าบ้าน รวมถึงชื่อผู้ทำประตูและนาทีที่ทำประตู

ตัวอย่าง
Ramos 90+3'
สตริงแนะนำ
goals2goals2

ประตูที่ทำได้โดยทีมเยือน รวมถึงชื่อผู้ทำประตูและนาทีที่ทำประตู

ตัวอย่าง
Neymar 58'
สตริงแนะนำ
aetaet

รวมเมื่อมีการตัดสินการแข่งขันในช่วงต่อเวลาพิเศษหรือการยิงลูกโทษ

สตริงเลือกได้
penalties1penalties1

รายชื่อผู้ยิงจุดโทษของทีมเหย้า

ตัวอย่าง
Sánchez {{pengoal}}
สตริงเลือกได้
penalties2penalties2

รายชื่อผู้ยิงจุดโทษของทีมเยือน

ตัวอย่าง
Higuaín {{penmiss}}
สตริงเลือกได้
penaltyscorepenaltyscore

คะแนนสุดท้ายหลังการดวลจุดโทษ

ตัวอย่าง
5-3
จำนวนเลือกได้
scorenotescorenote

หมายเหตุเพิ่มเติมเพื่อชี้แจงคะแนนสุดท้าย

ตัวอย่าง
Decided by a coin flip
สตริงเลือกได้
reportreport

ลิงค์ไปยังหน้ารายงานการแข่งขันอย่างเป็นทางการ

ตัวอย่าง
https://www.fifa.com/worldcup/archive/germany2006/index.html
ยูอาร์แอลแนะนำ
motmmotm

ผู้เล่นทรงคุณค่าและประเทศของพวกเขาอยู่ในวงเล็บปีกกา

ตัวอย่าง
Neymar (Brazil)
สตริงเลือกได้
roundround

นี่แสดงว่าแมตช์ที่กำลังเล่นอยู่ระดับใด

ตัวอย่าง
Round of 16
สตริงเลือกได้
eventevent

ชื่อการแข่งขันของแมตช์นี้

ตัวอย่าง
2014-15 UEFA Champions League
สตริงเลือกได้


การใช้งาน[แก้]

ดูเพิ่ม[แก้]