Template:Football box: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
>Anserisa
No edit summary
>Anserisa
(Replaced content with "{{#invoke:football box|main}}<noinclude>{{Documentation}}</noinclude>")
 
Line 1: Line 1:
{{#invoke:football box|main}}<noinclude>{{Documentation}}<templatedata> { "params": { "id": { "label": "ID", "description": "Unique anchor to the match.", "example": "Italy v France", "type": "string", "suggested": true }, "team1": { "label": "Team 1", "description": "First team displayed, usually home team.", "example": "Italy", "type": "string", "required": true }, "team2": { "label": "Team 2", "description": "Second team displayed, usually guest team.", "example": "France", "type": "string", "required": true }, "class": { "label": "Class", "description": "Used to uncollapse the box.", "example": "uncollapsed, collapsible, collapsible collapsed", "type": "string" }, "nobars": { "label": "No Bars", "description": "Set to 1 to hide bars.", "example": "1", "type": "number" }, "size": { "label": "Size", "description": "Width of the box.", "example": "80%", "type": "number", "default": "100%" }, "result": { "label": "Result", "description": "Changes the color of the box based on result.", "example": "W, D, L", "type": "string" }, "bg": { "label": "Background", "description": "Background color.", "example": "red", "type": "string" }, "format": { "label": "Format", "description": "Set to 1 to leave more space for round/date and location.", "example": "1", "type": "number" }, "date": { "label": "Date", "description": "Displays the date the match took place.", "example": "9 July 2006", "type": "date" }, "round": { "label": "Round", "description": "The competition round the match belongs to.", "example": "2006 FIFA World Cup Final", "type": "string", "suggested": true }, "score": { "label": "Score", "description": "The match score.", "example": "1–1", "type": "string", "suggested": true }, "scorenote": { "description": "An optional note clarifying the final score", "example": "Decided by a coin flip", "type": "string", "default": "no", "autovalue": "" }, "aet": { "label": "AET", "description": "Set to \"yes\" if the match went into extra time.", "example": "yes", "type": "boolean", "default": "no", "autovalue": "" }, "aggregatescore": { "label": "Aggregate Score", "description": "The aggregate score for matches played over two legs.", "type": "string" }, "penaltyscore": { "label": "Penalty Score", "description": "The score in the penalty shoot-out.", "example": "5–3", "type": "string" }, "shootoutscore": { "label": "Shootout Score", "description": "The score in the penalty shoot-out (alternative to penaltyscore).", "example": "5–3", "type": "string" }, "location": { "label": "Location", "description": "The city the match took place in.", "example": "Berlin, Germany", "type": "string", "suggested": true }, "stadium": { "label": "Stadium", "description": "The name of the stadium that was played in.", "example": "Olympiastadion", "type": "string", "suggested": true }, "time": { "label": "Time", "description": "Time the match took place.", "example": "20:00 CEST (UTC+02:00)", "type": "string" }, "goals1": { "label": "Goals 1", "description": "The goals (and cards) for the home team.", "example": "Materazzi Template:Goal", "type": "string", "suggested": true }, "report": { "label": "Report", "description": "The URL of a match report.", "example": "https://www.fifa.com/worldcup/matches/round=97410600/match=97410064/index.html#nosticky", "type": "url", "required": true }, "goals2": { "label": "Goals 2", "description": "The goals (and cards) for the guest team.", "example": "Zidane Template:Goal, Template:Sent off", "type": "string", "suggested": true }, "attendance": { "label": "Attendance", "description": "The number of people attending the match.", "example": "69,000", "type": "number" }, "referee": { "label": "Referee", "description": "The referee for the match.", "example": "Horacio Elizondo (Argentina)" }, "assistantreferees": { "label": "Assistant Referees", "description": "The assistant referees for the match.", "example": "Dario García (Argentina)", "type": "string" }, "assistantreferee2": { "label": "Assistant Referee 2", "description": "Second assistant referee; rarely used as usually both assistants go in the \"assistantreferees\" field", "example": "Rodolfo Otero (Argentina)" }, "fourthofficial": { "label": "Fourth Official", "description": "The fourth official for the match.", "example": "Luis Medina Cantalejo (Spain)", "type": "string" }, "fifthofficial": { "label": "Fifth Official", "description": "The fifth official for the match.", "example": "Victoriano Giraldez Carrasco (Spain)", "type": "string" }, "goallineassistants": { "label": "Goal Line Assistants", "description": "The goal line assistants for the match.", "type": "string" }, "goallineassistant2": { "label": "Goal Line Assistant 2", "description": "Second goal line assistant; rarely used as usually both assistants go in the \"goallineassistants\" field", "type": "string" }, "motm": { "label": "Man of the Match", "description": "The Man of the Match.", "example": "Andrea Pirlo", "type": "string" }, "mvp": { "label": "MVP", "description": "The Most Valuable Player", "type": "string" }, "penalties1": { "label": "Penalties 1", "description": "The penalties for the home team.", "example": "Pirlo Template:Pengoal", "type": "string" }, "penalties2": { "label": "Penalties 2", "description": "The penalties for the guest team.", "example": "Template:Pengoal Wiltord", "type": "string" }, "shootout1": { "label": "Shootout 1", "description": "The shootout goal attempts for the home team.", "example": "Pirlo Template:Pengoal", "type": "string" }, "shootout2": { "label": "Shootout 2", "description": "The shootout goal attempts for the guest team.", "example": "Template:Pengoal Wiltord", "type": "string" }, "note": { "label": "Note", "description": "Space for any notes regarding the match.", "type": "string" } }, "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. It is collapsible.", "paramOrder": [ "id", "date", "time", "round", "score", "report", "team1", "goals1", "team2", "goals2", "scorenote", "stadium", "aet", "location", "attendance", "referee", "assistantreferees", "assistantreferee2", "fourthofficial", "fifthofficial", "goallineassistants", "goallineassistant2", "aggregatescore", "motm", "mvp", "note", "penalties1", "penaltyscore", "penalties2", "shootout1", "shootoutscore", "shootout2", "format", "size", "result", "bg", "nobars", "class" ] } </templatedata></noinclude>
{{#invoke:football box|main}}<noinclude>{{Documentation}}</noinclude>

Latest revision as of 00:04, 19 July 2020

{{{team1}}}v{{{team2}}}