Шаблон:Football box

С Википедије, слободне енциклопедије
Пређи на навигацију Пређи на претрагу
v
Документација шаблона[прикажи] [уреди] [историја] [освежи]

Параметри се могу користити и преведени (ID, датум, време, догађај, рунда, тим1, резултат1, тим2, резултат2, псн, извештај, голови1, голови2, стадион, локација, гледалаца, пенали1, пенали резултат, пенали2, ширина, позадина).

Usage[уреди извор]

All attributes are optional.

{{Football box
|id           =
|date         = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
|time         =
|event        =
|round        =
|team1        =
|score1       =
|team2        =
|score2       =
|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}}
Жути картон {{yel}} Red card {{sent off}} Yellow card Red card {{sent off|1}} Yellow card Yellow-red card {{sent off|2}}
Ушао у игру {{subon}} Излазак са терена-замењен {{suboff}}
Погодак {{pengoal}} Промашај {{penmiss}}
Златни гол {{golden goal}} Сребрни гол {{silver goal}}

Tracking categories[уреди извор]

Категорија:Soccer template needing maintenance (1): for templates using an apostrophe at the end of a minute value (remove the apostrophe to fix the error)

Tracking category[уреди извор]

All tracking

Microdata[уреди извор]

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.

TemplateData[уреди извор]

Ово је TemplateData документација за овај шаблон, коришћена у Визуелном уређивачу и у другим алаткама; погледајте месечни извештај о грешкама за овај шаблон.

TemplateData за Football box

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.

Параметри шаблона

Овај шаблон преферира форматирање параметара један испод другог.

ПараметарОписВрстаСтатус
Datedate

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

Пример
{{датум почетка|2006|07|09|df=y}}
датумобавезно
Eventevent

The name of the competition of the match

Пример
2014-15 UEFA Champions League
текстобавезно
Team1team1

The team that is or is treated as a home team

Пример
Barcelona (if venue is Camp Nou)
текстобавезно
Team2team2

The team that is or is treated as the away team

Пример
Manchester City (If venue is other than Etihad stadium)
текстобавезно
Timetime

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

Пример
20:00 [[Central European Summer Time|CEST]] ([[UTC+02:00]])
бројобавезно
Roundround

This shows at which level is the match being played

Пример
Round of 16
текстобавезно
Score1score1

The final score of the home team

Подразумевано
0
Пример
1
бројобавезно
Score2score2

The final score of the away team

Подразумевано
0
Пример
0
бројобавезно
Scorescore

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

Пример
1-0
текстзастарело
Goals1goals1

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

Пример
Ramos 90+3'
текстобавезно
Reportreport

Links to the official report page of the match

Пример
https://www.fifa.com/worldcup/archive/germany2006/index.html
URLобавезно
Goals2goals2

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

Пример
Neymar 58'
текстобавезно
Penaltyscorepenaltyscore

The final score after penalty shoot-out

Пример
5-3
бројпредложено
Penalties1penalties1

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

Пример
Sánchez {{pengoal}}
текстпредложено
Penalties2penalties2

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

Пример
Higuaín {{penmiss}}
текстпредложено
Stadiumstadium

The stadium in which the match took place

Пример
Camp Nou
текстобавезно
Locationlocation

The address or location of the stadium

Пример
Barcelona
текстпредложено
Attendanceattendance

The number of people in the stadium of the match

Пример
71,000
бројобавезно
Refereereferee

The official referee of the match and their country in braces

Пример
Horacio Elizondo (Argentina)
текстобавезно
Motmmotm

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

Пример
Neymar (Brazil)
текстнеобавезно
Aetaet

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

текстпредложено