Difference between revisions of "Template:Infobox football match/doc"
imported>Waddie96 (add TemplateData) |
|||
(33 intermediate revisions by 14 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
− | <!-- PLEASE ADD CATEGORIES | + | <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> |
+ | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} | ||
− | + | == Usage == | |
− | + | === Single game === | |
<pre> | <pre> | ||
{{Infobox football match | {{Infobox football match | ||
| title = | | title = | ||
+ | | other_titles = | ||
| image = | | image = | ||
| event = | | event = | ||
+ | | caption = | ||
| team1 = | | team1 = | ||
| team1association = | | team1association = | ||
Line 18: | Line 21: | ||
| team2score = | | team2score = | ||
| details = | | details = | ||
− | | date = {{Start date|YYYY|MM|DD}} | + | | date = {{Start date|YYYY|MM|DD|df=y}} |
| stadium = | | stadium = | ||
| city = | | city = | ||
Line 25: | Line 28: | ||
| man_of_the_match1b = | | man_of_the_match1b = | ||
| man_of_the_match1btitle = | | man_of_the_match1btitle = | ||
+ | | fair_player1 = | ||
+ | | fair_player1title = | ||
+ | | woman_player1 = | ||
+ | | woman_player1title = | ||
| referee = | | referee = | ||
| attendance = | | attendance = | ||
Line 32: | Line 39: | ||
}}</pre> | }}</pre> | ||
− | + | === Two legs === | |
<pre> | <pre> | ||
{{Infobox football match | {{Infobox football match | ||
| title = | | title = | ||
+ | | other_titles = | ||
| image = | | image = | ||
| event = | | event = | ||
+ | | caption = | ||
| team1 = | | team1 = | ||
| team1association = | | team1association = | ||
Line 50: | Line 59: | ||
| team2score1 = | | team2score1 = | ||
| details1 = | | details1 = | ||
− | | date1 = | + | | date1 = {{Start date|YYYY|MM|DD|df=y}} |
| stadium1 = | | stadium1 = | ||
| city1 = | | city1 = | ||
Line 57: | Line 66: | ||
| man_of_the_match1b = | | man_of_the_match1b = | ||
| man_of_the_match1btitle = | | man_of_the_match1btitle = | ||
+ | | fair_player1 = | ||
+ | | fair_player1title = | ||
+ | | woman_player1 = | ||
+ | | woman_player1title = | ||
| referee1 = | | referee1 = | ||
| attendance1 = | | attendance1 = | ||
Line 64: | Line 77: | ||
| team2score2 = | | team2score2 = | ||
| details2 = | | details2 = | ||
− | | date2 = | + | | date2 = {{Start date|YYYY|MM|DD|df=y}} |
| stadium2 = | | stadium2 = | ||
| city2 = | | city2 = | ||
Line 71: | Line 84: | ||
| man_of_the_match2b = | | man_of_the_match2b = | ||
| man_of_the_match2btitle = | | man_of_the_match2btitle = | ||
+ | | fair_player2 = | ||
+ | | fair_player2title = | ||
+ | | woman_player2 = | ||
+ | | woman_player2title = | ||
| referee2 = | | referee2 = | ||
| attendance2 = | | attendance2 = | ||
Line 79: | Line 96: | ||
</pre> | </pre> | ||
− | + | === Two legs and replay match === | |
− | |||
<pre> | <pre> | ||
{{Infobox football match | {{Infobox football match | ||
| title = | | title = | ||
+ | | other_titles = | ||
| image = | | image = | ||
| event = | | event = | ||
+ | | caption = | ||
| team1 = | | team1 = | ||
| team1association = | | team1association = | ||
Line 98: | Line 116: | ||
| team2score1 = | | team2score1 = | ||
| details1 = | | details1 = | ||
− | | date1 = | + | | date1 = {{Start date|YYYY|MM|DD|df=y}} |
| stadium1 = | | stadium1 = | ||
| city1 = | | city1 = | ||
Line 105: | Line 123: | ||
| man_of_the_match1b = | | man_of_the_match1b = | ||
| man_of_the_match1btitle = | | man_of_the_match1btitle = | ||
+ | | fair_player1 = | ||
+ | | fair_player1title = | ||
+ | | woman_player1 = | ||
+ | | woman_player1title = | ||
| referee1 = | | referee1 = | ||
| attendance1 = | | attendance1 = | ||
Line 112: | Line 134: | ||
| team2score2 = | | team2score2 = | ||
| details2 = | | details2 = | ||
− | | date2 = | + | | date2 = {{Start date|YYYY|MM|DD|df=y}} |
| stadium2 = | | stadium2 = | ||
| city2 = | | city2 = | ||
Line 119: | Line 141: | ||
| man_of_the_match2b = | | man_of_the_match2b = | ||
| man_of_the_match2btitle = | | man_of_the_match2btitle = | ||
+ | | fair_player2 = | ||
+ | | fair_player2title = | ||
+ | | woman_player2 = | ||
+ | | woman_player2title = | ||
| referee2 = | | referee2 = | ||
| attendance2 = | | attendance2 = | ||
Line 126: | Line 152: | ||
| team2score3 = | | team2score3 = | ||
| details3 = | | details3 = | ||
− | | date3 = | + | | date3 = {{Start date|YYYY|MM|DD|df=y}} |
| stadium3 = | | stadium3 = | ||
| city3 = | | city3 = | ||
Line 133: | Line 159: | ||
| man_of_the_match3b = | | man_of_the_match3b = | ||
| man_of_the_match3btitle = | | man_of_the_match3btitle = | ||
+ | | fair_player3 = | ||
+ | | fair_player3title = | ||
+ | | woman_player3 = | ||
+ | | woman_player3title = | ||
| referee3 = | | referee3 = | ||
| attendance3 = | | attendance3 = | ||
Line 141: | Line 171: | ||
</pre> | </pre> | ||
− | + | == Parameters == | |
+ | === General parameters === | ||
; title: i.e. "2008 Champions League Final" - only needed if the article title is different | ; title: i.e. "2008 Champions League Final" - only needed if the article title is different | ||
− | ; image: a representative image. | + | ; other_titles: other titles of the match (e.g. in other languages) |
+ | ; image: a representative image. Please use only the name of the image, without markup (i.e. <code><nowiki>[[File:]]</nowiki></code>) | ||
+ | ; image_size: size of the image (Alias: '''imagesize''') | ||
+ | ; caption: a caption for the image. | ||
+ | ; alt: [[WP:ALT|alt text]] for the image. | ||
; event: the competition i.e. "Champions League 2007–2008" or "Friendly" | ; event: the competition i.e. "Champions League 2007–2008" or "Friendly" | ||
− | ; team1: Home team | + | ; team1: Home team (Alias: '''home''') |
− | |||
; team1association: i.e. <nowiki>{{flagicon|GER|size=30px}}</nowiki>, the association/conference/etc the team represents | ; team1association: i.e. <nowiki>{{flagicon|GER|size=30px}}</nowiki>, the association/conference/etc the team represents | ||
− | ; team2: Away team | + | ; team1score: Home team score, Home teams aggregate score in the case of two legged match (Aliases: '''score1''', '''home_total''') |
+ | ; team2: Away team (Alias: '''visitor''') | ||
; team2association: i.e. <nowiki>{{flagicon|GER|size=30px}}</nowiki>, the association/conference/etc the team represents | ; team2association: i.e. <nowiki>{{flagicon|GER|size=30px}}</nowiki>, the association/conference/etc the team represents | ||
− | ; team2score: Away team score, Away teams aggregate score in the case of two legged match | + | ; team2score: Away team score, Away teams aggregate score in the case of two legged match (Aliases: '''score2''', '''visitor_total''') |
− | ; details: | + | ; details: Any details relevant to the final scoreline. Primarily used for wins after a penalty shootout or extra time. |
+ | ; date: date1: Date of the match or the first leg or game one - use {{Tl|Start date}} (Alias: '''date1''') | ||
+ | ; stadium: stadium1: Stadium of the match or the first leg or game one (Aliases: '''venue''', '''stadium1''', '''venue1''') | ||
+ | ; city: city1: City of the match or the first leg or game one (Alias: '''city1''') | ||
+ | ; man_of_the_match1a: Man of the match for the match or the first leg or game one | ||
+ | ; man_of_the_match1atitle: Man of the match title, if there are two different man of the match awards (i.e. UEFA) | ||
+ | ; man_of_the_match1aname: Custom name for the man of the match, i.e. <nowiki>[[Most Valuable Player]]</nowiki> or <nowiki>[[MLS Cup#Most valuable player|MLS Cup MVP]]</nowiki> | ||
+ | ; man_of_the_match1b: Second man of the match for the match or the first leg or game one | ||
+ | ; man_of_the_match1btitle: Man of the match title, if there are two different man of the match awards (i.e. Fans') | ||
+ | ; man_of_the_match1bname: Custom name for the second man of the match | ||
+ | ; fair_player1: Fair Player of the match for the match or the first leg or game one | ||
+ | ; fair_player1title: Fair Player of the Match title, e.g. if the award has been given by a company (i.e. Samsung) | ||
+ | ; fair_player1name: Custom name for the fair player of the match | ||
+ | ; woman_player1: (Female) Player of the match for the match or the first leg or game one | ||
+ | ; woman_player1title: (Female) Player of the Match title, e.g. if the award has been given by a company (i.e. Samsung) | ||
+ | ; woman_player1name: Custom name for the (female) player of the match | ||
+ | ; referee: Referee of the match (Alias: '''referee1''') | ||
+ | ; attendance: attendance1: Attendance of the match or first leg or game one (Alias: '''attendance1''') | ||
+ | ; weather: weather1: Weather of the match or first leg or game one (Alias: '''weather1''') | ||
+ | ; previous: Previous match in the same competition, i.e. <nowiki>[[1998 FIFA World Cup Final|1998]]</nowiki> | ||
+ | ; next: Next match in the same competition, i.e. <nowiki>[[2006 FIFA World Cup Final|2006]]</nowiki> | ||
+ | |||
+ | === Parameters for multiple matches === | ||
; firstleg: i.e. First leg, this is the title of the leg | ; firstleg: i.e. First leg, this is the title of the leg | ||
− | ; team1score1: Home team score in the first leg | + | ; team1score1: Home team score in the first leg or game one |
− | ; team2score1: Away team score in the first leg | + | ; team2score1: Away team score in the first leg or game one |
; details1: Any details relevant to the final scoreline. (Only used in two legged match) | ; details1: Any details relevant to the final scoreline. (Only used in two legged match) | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
; secondleg: "Second leg" if it's a two legged match, will have team1 away on the second leg. "Replay" if it's a replay, will have team1 home on the second leg. | ; secondleg: "Second leg" if it's a two legged match, will have team1 away on the second leg. "Replay" if it's a replay, will have team1 home on the second leg. | ||
− | ; team1score2: Team1's score in the second leg | + | ; team1score2: Team1's score in the second leg or game two |
− | ; team2score2: Team2's score in the second leg | + | ; team2score2: Team2's score in the second leg or game two |
; details2: Any details relevant to the final scoreline. (Only used in two legged match) | ; details2: Any details relevant to the final scoreline. (Only used in two legged match) | ||
− | ; date2: Date of the second leg | + | ; date2: Date of the second leg or game two |
− | ; stadium2: Stadium of the second leg | + | ; stadium2: Stadium of the second leg or game two (Alias: '''venue2''') |
− | ; city2: City of the second leg | + | ; city2: City of the second leg or game two |
− | ; man_of_the_match2a: Man of the match for the second leg | + | ; man_of_the_match2a: Man of the match for the second leg or game two |
; man_of_the_match2atitle: Man of the match title, if there are two different man of the match awards (i.e. UEFA) | ; man_of_the_match2atitle: Man of the match title, if there are two different man of the match awards (i.e. UEFA) | ||
− | ; man_of_the_match2b: Second man of the match for the second leg | + | ; man_of_the_match2aname: Custom name for the man of the match, i.e. <nowiki>[[Most Valuable Player]]</nowiki> or <nowiki>[[MLS Cup#Most valuable player|MLS Cup MVP]]</nowiki> |
+ | ; man_of_the_match2b: Second man of the match for the second leg or game two | ||
; man_of_the_match2btitle: Man of the match title, if there are two different man of the match awards (i.e. Fans') | ; man_of_the_match2btitle: Man of the match title, if there are two different man of the match awards (i.e. Fans') | ||
− | ; referee2: Referee of the second leg | + | ; man_of_the_match2bname: Custom name for the second man of the match |
− | ; attendance2: Attendance of the second leg | + | ; fair_player2: Fair Player of the match for the second leg or game two |
− | ; weather2: Weather of the second leg | + | ; fair_player2title: Fair Player of the Match title, e.g. if the award has been given by a company (i.e. Samsung) |
− | ; team1score3: Team1's score in the | + | ; fair_player2name: Custom name for the fair player of the match |
− | ; team2score3: Team2's score in the | + | ; woman_player2: (Female) Player of the match for the match or the first leg or game one |
− | ; details3: Any details relevant to the final scoreline. (Only used in two legged match) | + | ; woman_player2title: (Female) Player of the Match title, e.g. if the award has been given by a company (i.e. Samsung) |
− | ; date3: Date of the | + | ; woman_player2name: Custom name for the (female) player of the match |
− | ; stadium3: Stadium of | + | ; referee2: Referee of the second leg or game two |
− | ; city3: City of the | + | ; attendance2: Attendance of the second leg or game two |
− | ; man_of_the_match3a: Man of the match for the | + | ; weather2: Weather of the second leg or game two |
+ | ; secondlegreplay: i.e. First replay match, this is the title of the game | ||
+ | ; team1score3: Team1's score in the first replay match or game three | ||
+ | ; team2score3: Team2's score in the first replay match or game three | ||
+ | ; details3: Any details relevant to the final scoreline. (Only used in two legged match or series) | ||
+ | ; date3: Date of the first replay match or game three | ||
+ | ; stadium3: Stadium of first replay match or game three (Alias: '''venue3''') | ||
+ | ; city3: City of the first replay match or game three | ||
+ | ; man_of_the_match3a: Man of the match for the first replay match or game three | ||
; man_of_the_match3atitle: Man of the match title, if there are two different man of the match awards (i.e. UEFA) | ; man_of_the_match3atitle: Man of the match title, if there are two different man of the match awards (i.e. UEFA) | ||
− | ; man_of_the_match3b: Second man of the match for | + | ; man_of_the_match3aname: Custom name for the man of the match, i.e. <nowiki>[[Most Valuable Player]]</nowiki> or <nowiki>[[MLS Cup#Most valuable player|MLS Cup MVP]]</nowiki> |
+ | ; man_of_the_match3b: Second man of the match for first replay match or game three | ||
; man_of_the_match3btitle: Man of the match title, if there are two different man of the match awards (i.e. Fans') | ; man_of_the_match3btitle: Man of the match title, if there are two different man of the match awards (i.e. Fans') | ||
− | ; | + | ; man_of_the_match3bname: Custom name for the second man of the match |
− | + | ; fair_player3: Fair Player of the match for the first replay match or game three | |
− | ; | + | ; fair_player3title: Fair Player of the Match title, e.g. if the award has been given by a company (i.e. Samsung) |
− | ; | + | ; fair_player3name: Custom name for the fair player of the match |
− | ; | + | ; woman_player3: (Female) Player of the match for the match or the first leg or game one |
+ | ; woman_player3title: (Female) Player of the Match title, e.g. if the award has been given by a company (i.e. Samsung) | ||
+ | ; woman_player3name: Custom name for the (female) player of the match | ||
+ | ; referee3: Referee of the first replay match or game three | ||
+ | ; attendance3: Attendance of the first replay match or game three | ||
+ | ; weather3: Weather of the first replay match or game three | ||
+ | |||
+ | == Tracking category == | ||
+ | * {{clc|Pages using infobox football match with unknown parameters}} | ||
− | + | == Microformat == | |
For single-leg matches; {{UF-hcal}} | For single-leg matches; {{UF-hcal}} | ||
− | <includeonly> | + | <includeonly>{{sandbox other|| |
− | <!-- | + | <!-- Categories below this line; interwikis at Wikidata --> |
[[Category:Association football infobox templates]] | [[Category:Association football infobox templates]] | ||
− | + | [[Category:Templates that add a tracking category]] | |
− | [[ | + | }}</includeonly> |
− | [[ | + | <templatedata> |
− | [[ | + | { |
− | [[ | + | "params": { |
− | [[ | + | "secondleg": {}, |
− | [ | + | "title": { |
− | + | "label": "Title", | |
− | [[ | + | "description": "If different from page name" |
− | + | }, | |
− | [[ | + | "other_titles": { |
− | + | "label": "Other titles", | |
− | </ | + | "description": "Other titles of the match – in other languages" |
+ | }, | ||
+ | "image": { | ||
+ | "label": "Image" | ||
+ | }, | ||
+ | "imagesize": {}, | ||
+ | "image_size": { | ||
+ | "aliases": [ | ||
+ | "imagesize" | ||
+ | ], | ||
+ | "label": "Image size" | ||
+ | }, | ||
+ | "alt": { | ||
+ | "label": "Image alt text" | ||
+ | }, | ||
+ | "caption": { | ||
+ | "label": "Image caption" | ||
+ | }, | ||
+ | "event": { | ||
+ | "label": "Event", | ||
+ | "description": "The name of the competition; 'Friendly' if friendly match", | ||
+ | "example": "Champions League 2007–2008", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "team1": { | ||
+ | "aliases": [ | ||
+ | "home" | ||
+ | ], | ||
+ | "label": "Home team", | ||
+ | "description": "Home team wikilinked to football team", | ||
+ | "example": "[[Guinea national football team|Guinea]]", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "home": {}, | ||
+ | "team2": { | ||
+ | "aliases": [ | ||
+ | "visitor" | ||
+ | ], | ||
+ | "label": "Away team", | ||
+ | "description": "Away team wikilinked to football team", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "visitor": {}, | ||
+ | "team1association": { | ||
+ | "label": "Home team association", | ||
+ | "description": "The association/conference/etc the team represents", | ||
+ | "example": "{{flagicon|GER|size=30px}}", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "team2association": { | ||
+ | "label": "Away team association", | ||
+ | "description": "The association/conference/etc the team represents" | ||
+ | }, | ||
+ | "team1score": { | ||
+ | "aliases": [ | ||
+ | "score1", | ||
+ | "home_total" | ||
+ | ], | ||
+ | "label": "Home team score", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "score1": {}, | ||
+ | "home_total": {}, | ||
+ | "team2score": { | ||
+ | "aliases": [ | ||
+ | "score2", | ||
+ | "away_total" | ||
+ | ], | ||
+ | "label": "Away team score", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "score2": {}, | ||
+ | "visitor_total": {}, | ||
+ | "details": { | ||
+ | "label": "Details", | ||
+ | "description": "Any details relevant to the final scoreline. Primarily used for wins after a penalty shootout or extra time.", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "firstleg": {}, | ||
+ | "team1score1": {}, | ||
+ | "team2score1": {}, | ||
+ | "details1": {}, | ||
+ | "date1": {}, | ||
+ | "date": { | ||
+ | "aliases": [ | ||
+ | "date1" | ||
+ | ], | ||
+ | "label": "Date", | ||
+ | "description": "Date of the match or the first leg or game one – use {{Start date}}", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "stadium": {}, | ||
+ | "stadium1": {}, | ||
+ | "venue": { | ||
+ | "aliases": [ | ||
+ | "stadium", | ||
+ | "stadium1", | ||
+ | "venue1" | ||
+ | ], | ||
+ | "label": "Venue", | ||
+ | "description": "Stadium/venue of the match or the first leg or game one", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "venue1": {}, | ||
+ | "city1": {}, | ||
+ | "city": { | ||
+ | "aliases": [ | ||
+ | "city1" | ||
+ | ], | ||
+ | "label": "City", | ||
+ | "description": "City of the match or the first leg or game one", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "man_of_the_match1atitle": { | ||
+ | "label": "First man of the match title", | ||
+ | "description": "Man of the match title, if there are two different man of the match awards (i.e. UEFA)" | ||
+ | }, | ||
+ | "man_of_the_match1aname": { | ||
+ | "label": "First man of the match name", | ||
+ | "description": "Custom name for the man of the match, i.e. [[Most Valuable Player]] or [[MLS Cup#Most valuable player|MLS Cup MVP]]" | ||
+ | }, | ||
+ | "man_of_the_match1a": { | ||
+ | "label": "First man of the match", | ||
+ | "description": "Man of the match for the match or the first leg or game one" | ||
+ | }, | ||
+ | "man_of_the_match1btitle": { | ||
+ | "label": "Second man of the match title" | ||
+ | }, | ||
+ | "man_of_the_match1bname": { | ||
+ | "label": "Second man of the match name" | ||
+ | }, | ||
+ | "man_of_the_match1b": { | ||
+ | "label": "Second man of the match", | ||
+ | "description": "Second man of the match for the match or the first leg or game one" | ||
+ | }, | ||
+ | "fair_player1title": { | ||
+ | "label": "Fair Play of the match title" | ||
+ | }, | ||
+ | "fair_player1name": { | ||
+ | "label": "Fair Play of the match name" | ||
+ | }, | ||
+ | "fair_player1": { | ||
+ | "label": "Fair Play of the match", | ||
+ | "description": "Fair Player of the match for the match or the first leg or game one" | ||
+ | }, | ||
+ | "woman_player1title": { | ||
+ | "label": "Woman of the match title" | ||
+ | }, | ||
+ | "woman_player1name": { | ||
+ | "label": "Woman of the match name" | ||
+ | }, | ||
+ | "woman_player1": { | ||
+ | "label": "Woman of the match", | ||
+ | "description": "(Female) Player of the match for the match or the first leg or game one" | ||
+ | }, | ||
+ | "referee1": {}, | ||
+ | "referee": { | ||
+ | "aliases": [ | ||
+ | "referee1" | ||
+ | ], | ||
+ | "label": "Referee", | ||
+ | "description": "Referee of the match", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "attendance1": {}, | ||
+ | "attendance": { | ||
+ | "aliases": [ | ||
+ | "attendance1" | ||
+ | ], | ||
+ | "label": "Attendance", | ||
+ | "description": "Attendance of the match or first leg or game one", | ||
+ | "example": "30,000", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "weather1": {}, | ||
+ | "weather": { | ||
+ | "aliases": [ | ||
+ | "weather1" | ||
+ | ], | ||
+ | "label": "Weather", | ||
+ | "description": "Weather of the match or first leg or game one" | ||
+ | }, | ||
+ | "team1score2": {}, | ||
+ | "team2score2": {}, | ||
+ | "details2": {}, | ||
+ | "date2": {}, | ||
+ | "venue2": {}, | ||
+ | "stadium2": {}, | ||
+ | "city2": {}, | ||
+ | "man_of_the_match2atitle": {}, | ||
+ | "man_of_the_match2aname": {}, | ||
+ | "man_of_the_match2a": {}, | ||
+ | "man_of_the_match2btitle": {}, | ||
+ | "man_of_the_match2bname": {}, | ||
+ | "man_of_the_match2b": {}, | ||
+ | "fair_player2title": {}, | ||
+ | "fair_player2name": {}, | ||
+ | "fair_player2": {}, | ||
+ | "woman_player2title": {}, | ||
+ | "woman_player2name": {}, | ||
+ | "woman_player2": {}, | ||
+ | "referee2": {}, | ||
+ | "attendance2": {}, | ||
+ | "weather2": {}, | ||
+ | "secondlegreplay": {}, | ||
+ | "team1score3": {}, | ||
+ | "team2score3": {}, | ||
+ | "details3": {}, | ||
+ | "date3": {}, | ||
+ | "venue3": {}, | ||
+ | "stadium3": {}, | ||
+ | "city3": {}, | ||
+ | "man_of_the_match3atitle": {}, | ||
+ | "man_of_the_match3aname": {}, | ||
+ | "man_of_the_match3a": {}, | ||
+ | "man_of_the_match3btitle": {}, | ||
+ | "man_of_the_match3bname": {}, | ||
+ | "man_of_the_match3b": {}, | ||
+ | "fair_player3title": {}, | ||
+ | "fair_player3name": {}, | ||
+ | "fair_player3": {}, | ||
+ | "woman_player3title": {}, | ||
+ | "woman_player3name": {}, | ||
+ | "woman_player3": {}, | ||
+ | "referee3": {}, | ||
+ | "attendance3": {}, | ||
+ | "weather3": {}, | ||
+ | "previous": { | ||
+ | "label": "Previous", | ||
+ | "description": "Previous match in the same competition, i.e. [[1998 FIFA World Cup Final|1998]]", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "next": { | ||
+ | "label": "Next", | ||
+ | "description": "Next match in the same competition, i.e. [[2006 FIFA World Cup Final|2006]]", | ||
+ | "suggested": true | ||
+ | } | ||
+ | }, | ||
+ | "description": "Infobox for football/soccer matches; may be used for multiple matches", | ||
+ | "paramOrder": [ | ||
+ | "title", | ||
+ | "other_titles", | ||
+ | "image", | ||
+ | "imagesize", | ||
+ | "image_size", | ||
+ | "alt", | ||
+ | "caption", | ||
+ | "event", | ||
+ | "team1", | ||
+ | "team1association", | ||
+ | "team1score", | ||
+ | "home", | ||
+ | "team2", | ||
+ | "visitor", | ||
+ | "team2association", | ||
+ | "team2score", | ||
+ | "score1", | ||
+ | "home_total", | ||
+ | "score2", | ||
+ | "visitor_total", | ||
+ | "details", | ||
+ | "date", | ||
+ | "secondleg", | ||
+ | "firstleg", | ||
+ | "team1score1", | ||
+ | "team2score1", | ||
+ | "details1", | ||
+ | "date1", | ||
+ | "stadium", | ||
+ | "stadium1", | ||
+ | "venue", | ||
+ | "venue1", | ||
+ | "city1", | ||
+ | "city", | ||
+ | "man_of_the_match1atitle", | ||
+ | "man_of_the_match1aname", | ||
+ | "man_of_the_match1a", | ||
+ | "man_of_the_match1btitle", | ||
+ | "man_of_the_match1bname", | ||
+ | "man_of_the_match1b", | ||
+ | "fair_player1title", | ||
+ | "fair_player1name", | ||
+ | "fair_player1", | ||
+ | "woman_player1title", | ||
+ | "woman_player1name", | ||
+ | "woman_player1", | ||
+ | "referee1", | ||
+ | "referee", | ||
+ | "attendance1", | ||
+ | "attendance", | ||
+ | "weather1", | ||
+ | "weather", | ||
+ | "team1score2", | ||
+ | "team2score2", | ||
+ | "details2", | ||
+ | "date2", | ||
+ | "venue2", | ||
+ | "stadium2", | ||
+ | "city2", | ||
+ | "man_of_the_match2atitle", | ||
+ | "man_of_the_match2aname", | ||
+ | "man_of_the_match2a", | ||
+ | "man_of_the_match2btitle", | ||
+ | "man_of_the_match2bname", | ||
+ | "man_of_the_match2b", | ||
+ | "fair_player2title", | ||
+ | "fair_player2name", | ||
+ | "fair_player2", | ||
+ | "woman_player2title", | ||
+ | "woman_player2name", | ||
+ | "woman_player2", | ||
+ | "referee2", | ||
+ | "attendance2", | ||
+ | "weather2", | ||
+ | "secondlegreplay", | ||
+ | "team1score3", | ||
+ | "team2score3", | ||
+ | "details3", | ||
+ | "date3", | ||
+ | "venue3", | ||
+ | "stadium3", | ||
+ | "city3", | ||
+ | "man_of_the_match3atitle", | ||
+ | "man_of_the_match3aname", | ||
+ | "man_of_the_match3a", | ||
+ | "man_of_the_match3btitle", | ||
+ | "man_of_the_match3bname", | ||
+ | "man_of_the_match3b", | ||
+ | "fair_player3title", | ||
+ | "fair_player3name", | ||
+ | "fair_player3", | ||
+ | "woman_player3title", | ||
+ | "woman_player3name", | ||
+ | "woman_player3", | ||
+ | "referee3", | ||
+ | "attendance3", | ||
+ | "weather3", | ||
+ | "previous", | ||
+ | "next" | ||
+ | ], | ||
+ | "format": "block" | ||
+ | } | ||
+ | </templatedata> |
Latest revision as of 12:21, 11 September 2020
![]() | This is a documentation subpage for Template:Infobox football match. It contains usage information, categories and other content that is not part of the original template page. |
![]() | This template uses Lua: |
Contents
Usage
Single game
{{Infobox football match | title = | other_titles = | image = | event = | caption = | team1 = | team1association = | team1score = | team2 = | team2association = | team2score = | details = | date = {{Start date|YYYY|MM|DD|df=y}} | stadium = | city = | man_of_the_match1a = | man_of_the_match1atitle = | man_of_the_match1b = | man_of_the_match1btitle = | fair_player1 = | fair_player1title = | woman_player1 = | woman_player1title = | referee = | attendance = | weather = | previous = | next = }}
Two legs
{{Infobox football match | title = | other_titles = | image = | event = | caption = | team1 = | team1association = | team1score = | team2 = | team2association = | team2score = | details = | firstleg = | team1score1 = | team2score1 = | details1 = | date1 = {{Start date|YYYY|MM|DD|df=y}} | stadium1 = | city1 = | man_of_the_match1a = | man_of_the_match1atitle = | man_of_the_match1b = | man_of_the_match1btitle = | fair_player1 = | fair_player1title = | woman_player1 = | woman_player1title = | referee1 = | attendance1 = | weather1 = | secondleg = | team1score2 = | team2score2 = | details2 = | date2 = {{Start date|YYYY|MM|DD|df=y}} | stadium2 = | city2 = | man_of_the_match2a = | man_of_the_match2atitle = | man_of_the_match2b = | man_of_the_match2btitle = | fair_player2 = | fair_player2title = | woman_player2 = | woman_player2title = | referee2 = | attendance2 = | weather2 = | previous = | next = }}
Two legs and replay match
{{Infobox football match | title = | other_titles = | image = | event = | caption = | team1 = | team1association = | team1score = | team2 = | team2association = | team2score = | details = | firstleg = | team1score1 = | team2score1 = | details1 = | date1 = {{Start date|YYYY|MM|DD|df=y}} | stadium1 = | city1 = | man_of_the_match1a = | man_of_the_match1atitle = | man_of_the_match1b = | man_of_the_match1btitle = | fair_player1 = | fair_player1title = | woman_player1 = | woman_player1title = | referee1 = | attendance1 = | weather1 = | secondleg = | team1score2 = | team2score2 = | details2 = | date2 = {{Start date|YYYY|MM|DD|df=y}} | stadium2 = | city2 = | man_of_the_match2a = | man_of_the_match2atitle = | man_of_the_match2b = | man_of_the_match2btitle = | fair_player2 = | fair_player2title = | woman_player2 = | woman_player2title = | referee2 = | attendance2 = | weather2 = | secondlegreplay = | team1score3 = | team2score3 = | details3 = | date3 = {{Start date|YYYY|MM|DD|df=y}} | stadium3 = | city3 = | man_of_the_match3a = | man_of_the_match3atitle = | man_of_the_match3b = | man_of_the_match3btitle = | fair_player3 = | fair_player3title = | woman_player3 = | woman_player3title = | referee3 = | attendance3 = | weather3 = | previous = | next = }}
Parameters
General parameters
- title
- i.e. "2008 Champions League Final" - only needed if the article title is different
- other_titles
- other titles of the match (e.g. in other languages)
- image
- a representative image. Please use only the name of the image, without markup (i.e.
[[File:]]
) - image_size
- size of the image (Alias: imagesize)
- caption
- a caption for the image.
- alt
- alt text for the image.
- event
- the competition i.e. "Champions League 2007–2008" or "Friendly"
- team1
- Home team (Alias: home)
- team1association
- i.e. {{flagicon|GER|size=30px}}, the association/conference/etc the team represents
- team1score
- Home team score, Home teams aggregate score in the case of two legged match (Aliases: score1, home_total)
- team2
- Away team (Alias: visitor)
- team2association
- i.e. {{flagicon|GER|size=30px}}, the association/conference/etc the team represents
- team2score
- Away team score, Away teams aggregate score in the case of two legged match (Aliases: score2, visitor_total)
- details
- Any details relevant to the final scoreline. Primarily used for wins after a penalty shootout or extra time.
- date
- date1: Date of the match or the first leg or game one - use {{Start date}} (Alias: date1)
- stadium
- stadium1: Stadium of the match or the first leg or game one (Aliases: venue, stadium1, venue1)
- city
- city1: City of the match or the first leg or game one (Alias: city1)
- man_of_the_match1a
- Man of the match for the match or the first leg or game one
- man_of_the_match1atitle
- Man of the match title, if there are two different man of the match awards (i.e. UEFA)
- man_of_the_match1aname
- Custom name for the man of the match, i.e. [[Most Valuable Player]] or [[MLS Cup#Most valuable player|MLS Cup MVP]]
- man_of_the_match1b
- Second man of the match for the match or the first leg or game one
- man_of_the_match1btitle
- Man of the match title, if there are two different man of the match awards (i.e. Fans')
- man_of_the_match1bname
- Custom name for the second man of the match
- fair_player1
- Fair Player of the match for the match or the first leg or game one
- fair_player1title
- Fair Player of the Match title, e.g. if the award has been given by a company (i.e. Samsung)
- fair_player1name
- Custom name for the fair player of the match
- woman_player1
- (Female) Player of the match for the match or the first leg or game one
- woman_player1title
- (Female) Player of the Match title, e.g. if the award has been given by a company (i.e. Samsung)
- woman_player1name
- Custom name for the (female) player of the match
- referee
- Referee of the match (Alias: referee1)
- attendance
- attendance1: Attendance of the match or first leg or game one (Alias: attendance1)
- weather
- weather1: Weather of the match or first leg or game one (Alias: weather1)
- previous
- Previous match in the same competition, i.e. [[1998 FIFA World Cup Final|1998]]
- next
- Next match in the same competition, i.e. [[2006 FIFA World Cup Final|2006]]
Parameters for multiple matches
- firstleg
- i.e. First leg, this is the title of the leg
- team1score1
- Home team score in the first leg or game one
- team2score1
- Away team score in the first leg or game one
- details1
- Any details relevant to the final scoreline. (Only used in two legged match)
- secondleg
- "Second leg" if it's a two legged match, will have team1 away on the second leg. "Replay" if it's a replay, will have team1 home on the second leg.
- team1score2
- Team1's score in the second leg or game two
- team2score2
- Team2's score in the second leg or game two
- details2
- Any details relevant to the final scoreline. (Only used in two legged match)
- date2
- Date of the second leg or game two
- stadium2
- Stadium of the second leg or game two (Alias: venue2)
- city2
- City of the second leg or game two
- man_of_the_match2a
- Man of the match for the second leg or game two
- man_of_the_match2atitle
- Man of the match title, if there are two different man of the match awards (i.e. UEFA)
- man_of_the_match2aname
- Custom name for the man of the match, i.e. [[Most Valuable Player]] or [[MLS Cup#Most valuable player|MLS Cup MVP]]
- man_of_the_match2b
- Second man of the match for the second leg or game two
- man_of_the_match2btitle
- Man of the match title, if there are two different man of the match awards (i.e. Fans')
- man_of_the_match2bname
- Custom name for the second man of the match
- fair_player2
- Fair Player of the match for the second leg or game two
- fair_player2title
- Fair Player of the Match title, e.g. if the award has been given by a company (i.e. Samsung)
- fair_player2name
- Custom name for the fair player of the match
- woman_player2
- (Female) Player of the match for the match or the first leg or game one
- woman_player2title
- (Female) Player of the Match title, e.g. if the award has been given by a company (i.e. Samsung)
- woman_player2name
- Custom name for the (female) player of the match
- referee2
- Referee of the second leg or game two
- attendance2
- Attendance of the second leg or game two
- weather2
- Weather of the second leg or game two
- secondlegreplay
- i.e. First replay match, this is the title of the game
- team1score3
- Team1's score in the first replay match or game three
- team2score3
- Team2's score in the first replay match or game three
- details3
- Any details relevant to the final scoreline. (Only used in two legged match or series)
- date3
- Date of the first replay match or game three
- stadium3
- Stadium of first replay match or game three (Alias: venue3)
- city3
- City of the first replay match or game three
- man_of_the_match3a
- Man of the match for the first replay match or game three
- man_of_the_match3atitle
- Man of the match title, if there are two different man of the match awards (i.e. UEFA)
- man_of_the_match3aname
- Custom name for the man of the match, i.e. [[Most Valuable Player]] or [[MLS Cup#Most valuable player|MLS Cup MVP]]
- man_of_the_match3b
- Second man of the match for first replay match or game three
- man_of_the_match3btitle
- Man of the match title, if there are two different man of the match awards (i.e. Fans')
- man_of_the_match3bname
- Custom name for the second man of the match
- fair_player3
- Fair Player of the match for the first replay match or game three
- fair_player3title
- Fair Player of the Match title, e.g. if the award has been given by a company (i.e. Samsung)
- fair_player3name
- Custom name for the fair player of the match
- woman_player3
- (Female) Player of the match for the match or the first leg or game one
- woman_player3title
- (Female) Player of the Match title, e.g. if the award has been given by a company (i.e. Samsung)
- woman_player3name
- Custom name for the (female) player of the match
- referee3
- Referee of the first replay match or game three
- attendance3
- Attendance of the first replay match or game three
- weather3
- Weather of the first replay match or game three
Tracking category
Microformat
For single-leg matches; Template:UF-hcal
Infobox for football/soccer matches; may be used for multiple matches
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | If different from page name | Unknown | optional |
Other titles | other_titles | Other titles of the match – in other languages | Unknown | optional |
Image | image | no description | Unknown | optional |
Imagesize | imagesize | no description | Unknown | optional |
Image size | image_size imagesize | no description | Unknown | optional |
Image alt text | alt | no description | Unknown | optional |
Image caption | caption | no description | Unknown | optional |
Event | event | The name of the competition; 'Friendly' if friendly match
| Unknown | suggested |
Home team | team1 home | Home team wikilinked to football team
| Unknown | suggested |
Home team association | team1association | The association/conference/etc the team represents
| Unknown | suggested |
Home team score | team1score score1 home_total | no description | Unknown | suggested |
Home | home | no description | Unknown | optional |
Away team | team2 visitor | Away team wikilinked to football team | Unknown | suggested |
Visitor | visitor | no description | Unknown | optional |
Away team association | team2association | The association/conference/etc the team represents | Unknown | optional |
Away team score | team2score score2 away_total | no description | Unknown | suggested |
Score1 | score1 | no description | Unknown | optional |
Home_total | home_total | no description | Unknown | optional |
Score2 | score2 | no description | Unknown | optional |
Visitor_total | visitor_total | no description | Unknown | optional |
Details | details | Any details relevant to the final scoreline. Primarily used for wins after a penalty shootout or extra time. | Unknown | suggested |
Date | date date1 | Date of the match or the first leg or game one – use {{Start date}} | Unknown | suggested |
Secondleg | secondleg | no description | Unknown | optional |
Firstleg | firstleg | no description | Unknown | optional |
Team1score1 | team1score1 | no description | Unknown | optional |
Team2score1 | team2score1 | no description | Unknown | optional |
Details1 | details1 | no description | Unknown | optional |
Date1 | date1 | no description | Unknown | optional |
Stadium | stadium | no description | Unknown | optional |
Stadium1 | stadium1 | no description | Unknown | optional |
Venue | venue stadium stadium1 venue1 | Stadium/venue of the match or the first leg or game one | Unknown | suggested |
Venue1 | venue1 | no description | Unknown | optional |
City1 | city1 | no description | Unknown | optional |
City | city city1 | City of the match or the first leg or game one | Unknown | suggested |
First man of the match title | man_of_the_match1atitle | Man of the match title, if there are two different man of the match awards (i.e. UEFA) | Unknown | optional |
First man of the match name | man_of_the_match1aname | Custom name for the man of the match, i.e. [[Most Valuable Player]] or [[MLS Cup#Most valuable player|MLS Cup MVP]] | Unknown | optional |
First man of the match | man_of_the_match1a | Man of the match for the match or the first leg or game one | Unknown | optional |
Second man of the match title | man_of_the_match1btitle | no description | Unknown | optional |
Second man of the match name | man_of_the_match1bname | no description | Unknown | optional |
Second man of the match | man_of_the_match1b | Second man of the match for the match or the first leg or game one | Unknown | optional |
Fair Play of the match title | fair_player1title | no description | Unknown | optional |
Fair Play of the match name | fair_player1name | no description | Unknown | optional |
Fair Play of the match | fair_player1 | Fair Player of the match for the match or the first leg or game one | Unknown | optional |
Woman of the match title | woman_player1title | no description | Unknown | optional |
Woman of the match name | woman_player1name | no description | Unknown | optional |
Woman of the match | woman_player1 | (Female) Player of the match for the match or the first leg or game one | Unknown | optional |
Referee1 | referee1 | no description | Unknown | optional |
Referee | referee referee1 | Referee of the match | Unknown | suggested |
Attendance1 | attendance1 | no description | Unknown | optional |
Attendance | attendance attendance1 | Attendance of the match or first leg or game one
| Unknown | suggested |
Weather1 | weather1 | no description | Unknown | optional |
Weather | weather weather1 | Weather of the match or first leg or game one | Unknown | optional |
Team1score2 | team1score2 | no description | Unknown | optional |
Team2score2 | team2score2 | no description | Unknown | optional |
Details2 | details2 | no description | Unknown | optional |
Date2 | date2 | no description | Unknown | optional |
Venue2 | venue2 | no description | Unknown | optional |
Stadium2 | stadium2 | no description | Unknown | optional |
City2 | city2 | no description | Unknown | optional |
Man_of_the_match2atitle | man_of_the_match2atitle | no description | Unknown | optional |
Man_of_the_match2aname | man_of_the_match2aname | no description | Unknown | optional |
Man_of_the_match2a | man_of_the_match2a | no description | Unknown | optional |
Man_of_the_match2btitle | man_of_the_match2btitle | no description | Unknown | optional |
Man_of_the_match2bname | man_of_the_match2bname | no description | Unknown | optional |
Man_of_the_match2b | man_of_the_match2b | no description | Unknown | optional |
Fair_player2title | fair_player2title | no description | Unknown | optional |
Fair_player2name | fair_player2name | no description | Unknown | optional |
Fair_player2 | fair_player2 | no description | Unknown | optional |
Woman_player2title | woman_player2title | no description | Unknown | optional |
Woman_player2name | woman_player2name | no description | Unknown | optional |
Woman_player2 | woman_player2 | no description | Unknown | optional |
Referee2 | referee2 | no description | Unknown | optional |
Attendance2 | attendance2 | no description | Unknown | optional |
Weather2 | weather2 | no description | Unknown | optional |
Secondlegreplay | secondlegreplay | no description | Unknown | optional |
Team1score3 | team1score3 | no description | Unknown | optional |
Team2score3 | team2score3 | no description | Unknown | optional |
Details3 | details3 | no description | Unknown | optional |
Date3 | date3 | no description | Unknown | optional |
Venue3 | venue3 | no description | Unknown | optional |
Stadium3 | stadium3 | no description | Unknown | optional |
City3 | city3 | no description | Unknown | optional |
Man_of_the_match3atitle | man_of_the_match3atitle | no description | Unknown | optional |
Man_of_the_match3aname | man_of_the_match3aname | no description | Unknown | optional |
Man_of_the_match3a | man_of_the_match3a | no description | Unknown | optional |
Man_of_the_match3btitle | man_of_the_match3btitle | no description | Unknown | optional |
Man_of_the_match3bname | man_of_the_match3bname | no description | Unknown | optional |
Man_of_the_match3b | man_of_the_match3b | no description | Unknown | optional |
Fair_player3title | fair_player3title | no description | Unknown | optional |
Fair_player3name | fair_player3name | no description | Unknown | optional |
Fair_player3 | fair_player3 | no description | Unknown | optional |
Woman_player3title | woman_player3title | no description | Unknown | optional |
Woman_player3name | woman_player3name | no description | Unknown | optional |
Woman_player3 | woman_player3 | no description | Unknown | optional |
Referee3 | referee3 | no description | Unknown | optional |
Attendance3 | attendance3 | no description | Unknown | optional |
Weather3 | weather3 | no description | Unknown | optional |
Previous | previous | Previous match in the same competition, i.e. [[1998 FIFA World Cup Final|1998]] | Unknown | suggested |
Next | next | Next match in the same competition, i.e. [[2006 FIFA World Cup Final|2006]] | Unknown | suggested |