Template:Football box
v | ||
---|---|---|
This template is used by one or more bots.
If you intend to make significant changes to this template, move it, or nominate it for deletion, please notify the bot operator(s) in advance. The relevant bots are: User:cewbot. |
This template is used on approximately 27,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
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}} {{futsal goal}}
- {{yel}} {{sent off}} {{sent off|1}} {{sent off|2}}
- {{subon}} {{suboff}}
- {{pengoal}} {{penmiss}}
- {{golden goal}} {{silver goal}}
Tracking categories
Category:Association football templates needing maintenance (1): for templates using an apostrophe at the end of a minute value or a double apostrophe at the end of a second value (remove the apostrophe or double apostrophe to fix the error)
Tracking category
All tracking
- Pages using football box collapsible with blank class parameter
- Pages using football box collapsible with class parameter
- Pages using football box collapsible with unknown parameters
- Pages using football box collapsible with unsupported stack parameter
- Pages using football box with aggregatescore
- Pages using football box with assistantreferees
- Pages using football box with fourthofficial
- Pages using football box with game
- Pages using football box with motm
- Pages using football box with nobars
- Pages using football box with note
- Pages using football box with result
- Pages using football box with unknown parameters
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 for 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
date | date | The date on which the match took place or will be taking place
| Date | required |
event | event | The name of the competition of the match
| String | required |
team1 | team1 | The team that is or is treated as a home team
| String | required |
team2 | team2 | The team that is or is treated as the away team
| String | required |
time | time | The time at which match starts and the time zone is mentioned beside the timings
| Number | required |
round | round | This shows at which level is the match being played
| String | required |
score1 | score1 | The final score of the home team
| Number | required |
score2 | score2 | The final score of the away team
| Number | required |
score | score | The final score i.e. outcome of the match; fallback for score1 and score2
| String | deprecated |
scorenote | scorenote | An optional note clarifying the final score
| String | optional |
goals1 | goals1 | Goals scored by the home team, including name of the scorer and minute of the goal
| String | required |
report | report | Links to the official report page of the match
| URL | required |
goals2 | goals2 | Goals scored by the away team, including name of the scorer and the minute of goal
| String | required |
penaltyscore | penaltyscore | The final score after penalty shoot-out
| Number | suggested |
penalties1 | penalties1 | Penalties scored by the home team, including name of penalty-taker and whether or not it was scored
| String | suggested |
penalties2 | penalties2 | Penalties scored by the away team, including name of penalty-taker and whether or not it was scored.
| String | suggested |
stadium | stadium | The stadium in which the match took place
| String | required |
location | location | The address or location of the stadium
| String | suggested |
attendance | attendance | The number of people in the stadium of the match
| Number | required |
referee | referee | The official referee of the match and their country in braces
| String | required |
motm | motm | The elected man of the match and their country in braces or country flag
| String | optional |
aet | aet | Included when match is decided in extra-time or penalty-shoot | String | suggested |