Bản mẫu:Esportsbox

Bách khoa toàn thư mở Wikipedia
{{{đội 1}}} v {{{đội 2}}}
Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm mới]

Cách sử dụng[sửa mã nguồn]

Tất cả các thuộc tính là tùy chọn.

{{Esportsbox
|id           =
|ngày         = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
|giờ          =
|sự kiện      =
|vòng         =
|đội 1        =
|tỷ số 1      =
|đội 2        =
|tỷ số 2      =
|báo cáo      =
|trận thắng đội 1 =
|trận thắng đội 2 =
|sân vận động =
|vị trí       =
|khán giả     =
|kích thước   = <!-- changes the width; use a percentage; include "%" after the percentage; default is "100%" -->
|nền màu      = <!-- changes the background color; use a hex color code; include "#" before the hex color code; default is "transparent" -->
}}

Xem thêm[sửa mã nguồn]

{{bàn thắng}}
Thẻ vàng {{thẻ vàng}} Thẻ đỏ {{thẻ đỏ}} Thẻ vàng Thẻ đỏ {{thẻ đỏ|1}} Thẻ vàng Thẻ vàng-đỏ (thẻ đỏ gián tiếp) {{thẻ đỏ|2}}
Vào sân {{thay người vào}} Thay ra {{thay người ra}}
Phạt đền thành công {{phạt đền}} Phạt đền hỏng {{phạt đền hỏng}}
Ghi bàn thắng vàng {{bàn thắng vàng}} Ghi bàn thắng bạc {{bàn thắng bạc}}

Thể loại theo dõi[sửa mã nguồn]

Thể loại:Bản mẫu bóng đá cần bảo trì (17): cho bản mẫu sử dụng dấu nháy đơn ở cuối giá trị phút (xóa dấu nháy đơn để sửa lỗi)

Siêu dữ liệu[sửa mã nguồn]

This template outputs structured data, in microdata format, as a schema.org SportsEvent. To verify the data, you can use Google's structured data testing tool on pages that transclude this template.

Dữ liệu bản mẫu[sửa mã nguồn]

Đây là tài liệu Dữ liệu bản mẫu cho bản mẫu này được sử dụng bởi Trình soạn thảo trực quan và các công cụ khác; xem báo cáo sử dụng tham số hàng tháng cho bản mẫu này.

Dữ liệu bản mẫu cho Esportsbox

This template displays the summary of a football (soccer) match. The summary include date and time, stadium, competing teams, goal scorers and the minute of goal, a link to the official match report and attendance of the stadium. It also includes whether or not the match went to extra-time or penalty-shoots and displays respective results.

Tham số bản mẫu[Quản lý Dữ liệu bản mẫu]

Nên dùng bản mẫu này với các tham số đặt thành khối.

Tham sốMiêu tảKiểuTrạng thái
datedate

The date on which the match took place or will be taking place

Ví dụ
{{Start date|2006|07|09|df=y}}
Ngày thángbắt buộc
eventevent

The name of the competition of the match

Ví dụ
2014-15 UEFA Champions League
Chuỗi dàibắt buộc
team1team1

The team that is or is treated as a home team

Ví dụ
Barcelona (if venue is Camp Nou)
Chuỗi dàibắt buộc
team2team2

The team that is or is treated as the away team

Ví dụ
Manchester City (If venue is other than Etihad stadium)
Chuỗi dàibắt buộc
timetime

The time at which match starts and the time zone is mentioned beside the timings

Ví dụ
20:00 [[Giờ mùa hè Trung Âu|CEST]] ([[UTC+02:00]])
Sốbắt buộc
roundround

This shows at which level is the match being played

Ví dụ
Round of 16
Chuỗi dàibắt buộc
score1score1

The final score of the home team

Mặc định
0
Ví dụ
1
Sốbắt buộc
score2score2

The final score of the away team

Mặc định
0
Ví dụ
0
Sốbắt buộc
scorescore

The final score i.e. outcome of the match; fallback for score1 and score2

Ví dụ
1-0
Chuỗi dàilỗi thời
goals1goals1

Goals scored by the home team, including name of the scorer and minute of the goal

Ví dụ
Ramos 90+3'
Chuỗi dàibắt buộc
reportreport

Links to the official report page of the match

Ví dụ
https://www.fifa.com/worldcup/archive/germany2006/index.html
URLbắt buộc
goals2goals2

Goals scored by the away team, including name of the scorer and the minute of goal

Ví dụ
Neymar 58'
Chuỗi dàibắt buộc
penaltyscorepenaltyscore

The final score after penalty shoot-out

Ví dụ
5-3
Sốkhuyên dùng
penalties1penalties1

Penalties scored by the home team, including name of penalty-taker and whether or not it was scored

Ví dụ
Sánchez {{pengoal}}
Chuỗi dàikhuyên dùng
penalties2penalties2

Penalties scored by the away team, including name of penalty-taker and whether or not it was scored.

Ví dụ
Higuaín {{penmiss}}
Chuỗi dàikhuyên dùng
stadiumstadium

The stadium in which the match took place

Ví dụ
Camp Nou
Chuỗi dàibắt buộc
locationlocation

The address or location of the stadium

Ví dụ
Barcelona
Chuỗi dàikhuyên dùng
attendanceattendance

The number of people in the stadium of the match

Ví dụ
71,000
Sốbắt buộc
refereereferee

The official referee of the match and their country in braces

Ví dụ
Horacio Elizondo (Argentina)
Chuỗi dàibắt buộc
motmmotm

The elected man of the match and their their country in braces or country flag

Ví dụ
Neymar (Brazil)
Chuỗi dàitùy chọn
aetaet

Included when match is decided in extra-time or penalty-shoot

Chuỗi dàikhuyên dùng

Cách sử dụng[sửa mã nguồn]