Template:Football box/doc

Usage
All attributes are optional.



Example


produces:

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
{	"description": "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.", "params": { "date": { "description": "The date on which the match took place or will be taking place", "example": "July 9, 2006", "type": "date", "required": true },		"event": { "description": "The name of the competition of the match", "example": "2014-15 UEFA Champions League", "type": "string", "required": true },		"team1": { "description": "The team that is or is treated as a home team", "example": "Barcelona (if venue is Camp Nou)", "type": "string", "required": true },		"team2": { "description": "The team that is or is treated as the away team", "example": "Manchester City (If venue is other than Etihad stadium)", "type": "string", "required": true },		"time": { "description": "The time at which match starts and the time zone is mentioned beside the timings", "example": "20:00 CEST (UTC+02:00)", "type": "number", "required": true },		"round": { "description": "This shows at which level is the match being played", "example": "Round of 16", "type": "string", "required": true },		"score1": { "description": "The final score of the home team", "example": "1", "default": "0", "type": "number", "required": true },		"score2": { "description": "The final score of the away team", "example": "0", "default": "0", "type": "number", "required": true },		"score": { "description": "The final score i.e. outcome of the match; fallback for score1 and score2", "example": "1-0", "type": "string", "deprecated": true },		"goals1": { "description": "Goals scored by the home team, including name of the scorer and minute of the goal", "example": "Ramos 90+3'", "required": true, "type": "string" },		"report": { "description": "Links to the official report page of the match", "example": "https://www.fifa.com/worldcup/archive/germany2006/index.html", "type": "url", "required": true },		"goals2": { "description": "Goals scored by the away team, including name of the scorer and the minute of goal", "example": "Neymar 58'", "required": true, "type": "string" },		"penaltyscore": { "description": "The final score after penalty shoot-out", "example": "5-3", "type": "number", "suggested": true },		"penalties1": { "description": "Penalties scored by the home team, including name of penalty-taker and whether or not it was scored", "example": "Sánchez ✅", "type": "string", "suggested": true },		"penalties2": { "description": "Penalties scored by the away team, including name of penalty-taker and whether or not it was scored.", "example": "Higuaín ❌", "type": "string", "suggested": true },		"stadium": { "description": "The stadium in which the match took place", "example": "Camp Nou", "type": "string", "required": true },		"location": { "description": "The address or location of the stadium", "example": "Barcelona", "type": "string", "suggested": true },		"attendance": { "description": "The number of people in the stadium of the match", "example": "71,000", "type": "number", "required": true },		"referee": { "description": "The official referee of the match and their country in braces", "example": "Horacio Elizondo (Argentina)", "type": "string", "required": true },		"motm": { "description": "The elected man of the match and their their country in braces or country flag", "example": "Neymar (Brazil)", "type": "string", "required": false },		"aet": { "description": "Included when match is decided in extra-time or penalty-shoot", "type": "string", "suggested": true }	},	"format": "block" }