Template talk:Infobox football match
Template:Infobox football match is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This is the talk page for discussing improvements to the Infobox football match template. |
|
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||
|
Infobox football match for spanish articles
editHi, I need help how to make work this template in spanish articles, they are not loading — Preceding unsigned comment added by Panama2005 (talk • contribs) 04:31, 7 December 2011 (UTC)
South American setting, perhaps?
editGreetings all,
I would like someone to try to implement a request for this infobox. In South American football, one team is usually designated as the "home team" and they play the second leg at home. The way the infobox is setup now, the designated home team in South American football is team #2. Is there a way that the designated home team can be team #1 without affecting how the rest of the infobox looks and is setup? Thanks in advance. Digirami (talk) 19:49, 15 December 2009 (UTC)
- Do you mean that it is convention in South American to present match reports backwards, with the second leg presented before the first? Chris Cunningham (not at work) - talk 09:56, 17 December 2009 (UTC)
- I think he means that the convention is for team 2 to play at home first, whereas the template forces team 1 to be the home team in the first leg. – PeeJay 16:47, 17 December 2009 (UTC)
- The template output doesn't actually specify which team is team #1 and which is team #2, so what difference would this make to the actual output? It doesn't seem worthwhile to complicate the code just so that South American transclusions can have "team1=" and "team2=" refer to the actual Team #1 and Team #2. Chris Cunningham (not at work) - talk 10:25, 18 December 2009 (UTC)
- It does in matches where there are two legs, like the 2010 Recopa Sudamericana, where Team #2 has to be the team who plays the second leg at home. In the South American system, Team #1 (the designated home team) is the teams that plays the second leg at home. It's even apparent in the name of the legs: the first leg is the "partido de ida", which translates the away game; the second leg is the "partido de vuelta", the return leg. So, in the the football world where games are "home v. visitor", why should South American matches be displayed as "visitor v. home" when it comes to two legs...? Digirami (talk) 20:44, 19 December 2009 (UTC)
- But the labels "team1=" doesn't mean anything, they're just parameters in the template. "team1=" in this template just means "the team that plays the first game at home" chandler 21:21, 19 December 2009 (UTC)
- It does in matches where there are two legs, like the 2010 Recopa Sudamericana, where Team #2 has to be the team who plays the second leg at home. In the South American system, Team #1 (the designated home team) is the teams that plays the second leg at home. It's even apparent in the name of the legs: the first leg is the "partido de ida", which translates the away game; the second leg is the "partido de vuelta", the return leg. So, in the the football world where games are "home v. visitor", why should South American matches be displayed as "visitor v. home" when it comes to two legs...? Digirami (talk) 20:44, 19 December 2009 (UTC)
Display error for replays
editTake a look, if you would, at 1908 FA Charity Shield. As you can see, that article uses this infobox in the top right-hand corner. However, you will also notice that the teams' names are listed twice at the top of the infobox. I believe this is because the template is expecting the aggregate score to be place below the first set of team names, but since the second match was a replay and not the second leg of a two-legged tie, this is an incorrect expectation. Therefore, I would ask, is there any way of removing the top set of team names when the infobox is used for a match that goes to a replay? – PeeJay 20:25, 6 January 2010 (UTC)
Image caption
editIf there are any template experts, could we possibly get a caption parameter (i.e. image caption) added to this template, similar to that in Template:Infobox football biography 2 ? Thanks. --Jameboy (talk) 23:08, 31 January 2010 (UTC)
Help needed on related template
editHi all - I need help with a related template to this one: {{Chatham Cup}}. I've tried to add "previous" and "next" arrows to it in the same way they are used on {{Infobox football match}}, but they're not aligning properly (the right one is over to the left). If anyone who knows more about the working of these templates than me could take a look at it to see what I've done wrong, it'd be much appreciated! Thanks in advance, Grutness...wha? 10:08, 4 August 2010 (UTC)
- Fixed. Any particular reason for not using the standard {{infobox}} system for that template? Chris Cunningham (user:thumperward: not at work) - talk 09:12, 5 August 2010 (UTC)
- Good question. I'm just using the one that was already on several of the articles-I'm not sure why this one isn't part of that system. Thanks for the fix BTW. Grutness...wha? 09:46, 5 August 2010 (UTC)
- Ah, yes, I see that it's a pretty old codebase. I'll update it to use {{infobox}} on my next pass. Chris Cunningham (user:thumperward: not at work) - talk 09:57, 5 August 2010 (UTC)
- Cheers, Grutness...wha? 10:41, 5 August 2010 (UTC)
- Ah, yes, I see that it's a pretty old codebase. I'll update it to use {{infobox}} on my next pass. Chris Cunningham (user:thumperward: not at work) - talk 09:57, 5 August 2010 (UTC)
Man of the match
editCould someone adjust settings to allow the Man of the Match field to be adjusted to Player of the Match for women's matches? Should be quite a small fix and would avoid inappropriate stuff like: 2011 FIFA Women's World Cup Final. Thanks, Clavdia chauchat (talk) 01:15, 25 March 2012 (UTC)
'Next' link does not work!
editHi, The 'previous' link works, but the 'next' does not. I've noticed this in the pages 2011–12 A-League and 2011 A-League Grand Final where a next page exists. Can someone please help! Thanks. -- User:2nyte 18:00, 12 April 2012 (AEST)
- The "previous" and "next" parameters do not work automatically. You have to put an actual link in the source code, not just a year. – PeeJay 15:33, 12 April 2012 (UTC)
- Also, the A-League article does not use this template, so any problems you're having with it will have to be raised on that template's talk page. – PeeJay 15:35, 12 April 2012 (UTC)
Penalty shoot-out scores.
editI was bold, was reverted, so we should discuss: I added the penalty shoot out score parameters because, with a not unnoticeable amount of notable matches going to penalties, we shouldn't relegate who won, say, last night's Champions' League final to small text in the infobox, or likewise the winner of the 2006 World Cup final. The fact a game is won on penalties is often more notable than a game being won in extra time; most coverage, including our own, of last night's match mention that Chelsea won in the penalty shootout in the headline or first paragraph. Hence why we should emphasise the shoot-out score instead of de-emphasising it as we do at the moment. The code is already ready, and can be seen in action at the testcases among in the history of this template. Sceptre (talk) 19:39, 20 May 2012 (UTC)
- I disagree. A penalty shoot-out, while tense and exciting to some people, is not really part of the match itself. It's basically a glorified coin toss. No goals scored in a penalty shoot-out count towards the final score, so I don't think they should be elevated to that sort of status. Simply saying "Team A won X–Y on penalties" in the "details" parameter of the infobox should really be sufficient. And don't forget, that infobox is designed to hold info on replays and second replays as well, so we need to be mindful that it doesn't become too big. – PeeJay 08:56, 21 May 2012 (UTC)
- I don't mean to be rude, but I don't think it's up to us to decide on the value of the penalty shoot-out, or its status in football. The fact is that when a match ends in a shoot-out, that is the deciding factor which shouldn't be treated as some minor detail, as is currently done. I came to comment on this because I thought it was absurd that the single most important information in the infobox for the Champions League Final, "Chelsea won", was written
in italicswith a barely legible size. Personally, it doesn't matter if Sceptre's format is adopted or if the "Team A won X–Y on penalties" format is kept; what's important is that there is a specific parameter that allows the outcome of a shoot-out to be prominent and easy to notice. Do U(knome)? yes...or no 10:20, 21 May 2012 (UTC)- I'm not applying any value to the penalty shoot-out that isn't indicated by the definition of the penalty shoot-out in the Laws of the Game. It may be the deciding factor of the game, but that does not make it any more than a glorified coin toss. I would agree that the text should be enlarged as it is a little too small at the minute, but I disagree with putting the scores in big numbers as Sceptre suggested. The result of the match was actually a 1-1 draw, the result of the penalty shoot-out only decided which club got to lift the trophy. – PeeJay 14:04, 21 May 2012 (UTC)
- Source for that distinction? UEFA seem to consider the match a Chelsea win that ended 1-1 after extra time was played ([1][2][3][4]), and, by extension, Man Utd's triumph in 2008 as a loss for Chelsea. The result will be invariably recorded like "1-1 (4-3 pens)", much like Liverpool-Alaves in 2001 is invariably recorded as "5-4 (a.e.t.)". Sceptre (talk) 18:10, 21 May 2012 (UTC)
- You can't compare a game that is decided by penalty kicks with one decided after extra time, since the penalty shoot-out is not part of the game, whereas the extra time is. – PeeJay 21:03, 21 May 2012 (UTC)
- While you're right that, per the Laws of the Game, that a penalty shoot-out is separate from the preceding match, they are still very often seen as one of the most important things of the fixture. As the infobox means to show the most important aspects of the match, the current deemphasis runs counter to this person. Sceptre (talk) 23:34, 23 May 2012 (UTC)
- You can't compare a game that is decided by penalty kicks with one decided after extra time, since the penalty shoot-out is not part of the game, whereas the extra time is. – PeeJay 21:03, 21 May 2012 (UTC)
- Source for that distinction? UEFA seem to consider the match a Chelsea win that ended 1-1 after extra time was played ([1][2][3][4]), and, by extension, Man Utd's triumph in 2008 as a loss for Chelsea. The result will be invariably recorded like "1-1 (4-3 pens)", much like Liverpool-Alaves in 2001 is invariably recorded as "5-4 (a.e.t.)". Sceptre (talk) 18:10, 21 May 2012 (UTC)
- I'm not applying any value to the penalty shoot-out that isn't indicated by the definition of the penalty shoot-out in the Laws of the Game. It may be the deciding factor of the game, but that does not make it any more than a glorified coin toss. I would agree that the text should be enlarged as it is a little too small at the minute, but I disagree with putting the scores in big numbers as Sceptre suggested. The result of the match was actually a 1-1 draw, the result of the penalty shoot-out only decided which club got to lift the trophy. – PeeJay 14:04, 21 May 2012 (UTC)
- I don't mean to be rude, but I don't think it's up to us to decide on the value of the penalty shoot-out, or its status in football. The fact is that when a match ends in a shoot-out, that is the deciding factor which shouldn't be treated as some minor detail, as is currently done. I came to comment on this because I thought it was absurd that the single most important information in the infobox for the Champions League Final, "Chelsea won", was written
More than two games
editDo infoboxes support more than two matches? Some of the parameters for the 1977 Football League Cup Final second replay don't show yet some do. VEOonefive 22:54, 25 April 2013 (UTC)
TV Network
editWhy does the TV Network not show up after you type it in? I am working on MLS Cup 2013 and it won't appear. Elisfkc (talk) 16:54, 2 December 2013 (UTC)
- Added it myself. Elisfkc (talk) 17:14, 2 December 2013 (UTC)
- I don't know why the TV network and announcers would be appearing in the documentation. They are not really desirable fields for such an infobox as a football match may be broadcast on any number of TV networks worldwide; why should we give prominence to any one broadcaster in particular? – PeeJay 17:18, 2 December 2013 (UTC)
- It's in the documentation, I assumed it should be there. You can do more than one network, as I did on MLS Cup 2013. I admit it's not pretty, but it's how it is in the documentation. Elisfkc (talk) 17:20, 2 December 2013 (UTC)
- Meh, it's not needed as it 1) does not look good and 2) should every single TV station be named that broadcasts a match? Have fun with the World cup finals or so... Just because something is in the documentation, does not mean it has to be used. Kante4 (talk) 18:54, 2 December 2013 (UTC)
- It shouldn't have been in the documentation to begin with. Whoever added it there never discussed it here, and there's certainly no consensus for it to be added just yet. It should be removed until such time as a consensus develops. – PeeJay 18:56, 2 December 2013 (UTC)
- Ok, sounds good to me. Done Elisfkc (talk) 13:49, 3 December 2013 (UTC)
- It's in the documentation, I assumed it should be there. You can do more than one network, as I did on MLS Cup 2013. I admit it's not pretty, but it's how it is in the documentation. Elisfkc (talk) 17:20, 2 December 2013 (UTC)
- I don't know why the TV network and announcers would be appearing in the documentation. They are not really desirable fields for such an infobox as a football match may be broadcast on any number of TV networks worldwide; why should we give prominence to any one broadcaster in particular? – PeeJay 17:18, 2 December 2013 (UTC)
Template-protected edit request on 26 April 2018
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Unlink the second and third (referee2/referee3) instances of "Referee (association football)" per WP:OLINK. S.A. Julio (talk) 06:49, 26 April 2018 (UTC)
- Done Cabayi (talk) 07:44, 28 April 2018 (UTC)
Template-protected edit request on 2 September 2018
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Pursuant to the discussion at Category talk:Articles which use infobox templates with no data rows#Categorisation, I've been looking for templates which are unnecessarily populating the tracking category. It seems quite common for this template to be used with only the parameters "previous" or "next" (usually both) so the infobox can be used for navigation. But that case triggers the "no data rows" condition. The other parameters that populate data rows are all explicitly "optional". Since this is a common and accepted use, I want to add |decat=yes
to the call to the infobox module. I've already done this at Infobox_cricket_tournament Diff/856345363 and I'm just applying the same approach to other templates as I discover them. Other examples where similar template-protected edit requests have been successfully made are at award and
sports competition.
After line 170, near the bottom, which looks like:
| below = {{#if:{{{previous|}}}|{{align|left|← {{{previous|}}} }}}}{{#if:{{{next|}}}|{{align|right|{{{next|}}} → }}}}
please add the following line:
| decat = {{#if:{{{previous|}}}{{{next|}}}|yes|no}}
Thanks. — jmcgnh(talk) (contribs) 23:05, 2 September 2018 (UTC)
- Done — Martin (MSGJ · talk) 19:50, 4 September 2018 (UTC)
Template-protected edit request on 19 March 2019
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please update the template from the sandbox page so the second leg replay parameter works properly. Thanks, S.A. Julio (talk) 04:33, 19 March 2019 (UTC)
- Please create a test case or two at Template:Infobox football match/testcases that shows your proposed changes. – Jonesey95 (talk) 05:58, 19 March 2019 (UTC)
- Jonesey95, now Added S.A. Julio (talk) 06:57, 19 March 2019 (UTC)
- Done. I don't understand all of the lingo, but it appears to work from a technical standpoint. Please update the documentation to match these changes. Thanks. – Jonesey95 (talk) 07:20, 19 March 2019 (UTC)
- Jonesey95, I've now updated the documentation. Also, I've made a few more fixes to the sandbox to allow for custom MOTM names and corrected order for best-of-three series, could the template be updated? Thanks, S.A. Julio (talk) 19:14, 19 March 2019 (UTC)
- Done I have also added unknown parameter tracking, since people might have been using
|away=
, and everybody makes a typo now and then. Category:Pages using infobox football match with unknown parameters (89) will take a few days to a few weeks to fill up. – Jonesey95 (talk) 05:30, 20 March 2019 (UTC)- Jonesey95, alright great! There seem to be just two parameters missing from the tracking,
fair_player1name
andwoman_player1name
, could these be added as well? Thanks, S.A. Julio (talk) 06:04, 20 March 2019 (UTC)- Sorry about that. The script that lists those parameters very occasionally misses some, and I didn't check the list manually. I'll null-edit the pages that are in the error category to purge the erroneous ones. – Jonesey95 (talk) 08:48, 20 March 2019 (UTC)
- Jonesey95, alright great! There seem to be just two parameters missing from the tracking,
- Done I have also added unknown parameter tracking, since people might have been using
- Jonesey95, I've now updated the documentation. Also, I've made a few more fixes to the sandbox to allow for custom MOTM names and corrected order for best-of-three series, could the template be updated? Thanks, S.A. Julio (talk) 19:14, 19 March 2019 (UTC)
- Done. I don't understand all of the lingo, but it appears to work from a technical standpoint. Please update the documentation to match these changes. Thanks. – Jonesey95 (talk) 07:20, 19 March 2019 (UTC)
- Jonesey95, now Added S.A. Julio (talk) 06:57, 19 March 2019 (UTC)
A note about the template parameter check
editAs I noted in the section above, I have added a parameter check to this infobox. Some pages that appear in the unknown parameter category may indicate that a change to the template, rather than a change in the article, is needed. For example, there are a number of articles that use |team1penaltyscore=
and |team2penaltyscore=
, and a number of US articles that use |network=
and |announcers=
. Sometimes those parameters are left over from a template merge. What to do with those parameters is something to decide on this talk page or at another appropriate venue. – Jonesey95 (talk) 08:59, 20 March 2019 (UTC)
Contents
editI'm looking for opinions on what should and shouldn't be included in this infobox. It isn't the most bloated infobox I've ever seen, but perhaps some changes could be made. Infinite mission (talk) 01:27, 6 January 2021 (UTC)
Anthem
editCan an anthem section be added like in Template:Infobox rugby league football match so performers at competition finals can be added? Mn1548 (talk) 10:58, 16 May 2021 (UTC)
- I really hope not. That is the sort of thing that should be mentioned in prose. The person who sings the anthem is not intrinsic to the match. – PeeJay 10:13, 1 October 2021 (UTC)
Template-protected edit request on 19 May 2021
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please add <includeonly>{{Short description|Football match|noreplace}}</includeonly>
at the top to generate automatic short descriptions for the 4,592 pages which transclude this template but lack short descriptions. (This should be uncontroversial.) Thank you! Tol | Talk | Contribs 06:28, 19 May 2021 (UTC)
- Done * Pppery * it has begun... 13:00, 19 May 2021 (UTC)
- Thanks! Tol | Talk | Contribs 16:14, 19 May 2021 (UTC)
Score font size
edit@Muboshgu: I think you reduced the font size of the match score by too much. Maybe 300% was too big, but 150% feels too small. Can you show us some examples of how the infobox looks with the score at different sizes (perhaps 150%, 200%, 250% and 300%)? – PeeJay 12:57, 22 September 2021 (UTC)
- @Muboshgu: Any chance of a change? – PeeJay 19:50, 27 September 2021 (UTC)
- PeeJay, 150% looks plenty big to me, but I increased it to 175%. – Muboshgu (talk) 17:49, 1 October 2021 (UTC)
- @Muboshgu: I think it would look better at 200%, thanks. – PeeJay 09:12, 4 October 2021 (UTC)
- PeeJay, 150% looks plenty big to me, but I increased it to 175%. – Muboshgu (talk) 17:49, 1 October 2021 (UTC)
Logo parameter?
editFor events that have a logo and a suitable image, perhaps we should have a secondary image parameter above the main one just for logos. SounderBruce 21:31, 5 November 2022 (UTC)
Time and time zone?
editWe have date but not time or time zone. Could these be added and displayed next to the date if possible (separated with a dash)? Facts707 (talk) 18:31, 8 December 2022 (UTC)
- In general, the time of day when a match was held is a trivial detail. Wikipedia is not a sports database. If it is relevant for some notable reason, you can note it in the article's prose. – Jonesey95 (talk) 18:38, 8 December 2022 (UTC)
Template-protected edit request on 16 December 2022
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Add |upright={{{upright|}}}
to {{#invoke:InfoboxImage}}
per MOS:IMGSIZE. This would allow a resizing of the image that respects readers' preferences for image thumbnail size. — AFC Vixen 🦊 (talk) 14:30, 16 December 2022 (UTC)
- Completed. P.I. Ellsworth , ed. put'r there 16:08, 16 December 2022 (UTC)
upright
also needs to be added at the bottom in the{{#invoke:Check for unknown parameters}}
list. — AFC Vixen 🦊 (talk) 16:20, 16 December 2022 (UTC)- Good catch! P.I. Ellsworth , ed. put'r there 21:32, 16 December 2022 (UTC)
Man of the match parameter
editThis parameter absolutely needs a gender-neutral version. Frankly, the term "man of the match" is rapidly diminishing in usage generally and a gender-neutral "player of the match" should be used anyway in line with Wikipedia's guidelines on gender-neutral language, but at the very least the option should be there for use, especially in women's matches. oknazevad (talk) 21:52, 6 January 2023 (UTC)
- Both options should be provided for. It would be anachronistic to change to “player of the match” across the board, given how many historical pages this template is used on, but the increasing use of the gender-neutral term should be taken into account. – PeeJay 21:55, 6 January 2023 (UTC)
- I have updated the template to support gender-neutral "player of the match" parameters, keeping all existing parameters. – Jonesey95 (talk) 16:53, 7 January 2023 (UTC)
team1image parameter not working
editteam1image and team2image parameters are not working or not connecting to wikimedia commons, please update Panama2005 (talk) 20:36, 23 July 2023 (UTC)
- Those parameters were added to the documentation by mistake in 2021. They do not exist in the template. I have removed them from the documentation. – Jonesey95 (talk) 18:24, 24 July 2023 (UTC)
Score not visible in dark mode
editThe text colour for team1score and team2score does not invert to white when using dark mode so the score appears blank. Bbb2007 (talk) 15:48, 18 August 2024 (UTC)
- Fixed. – Jonesey95 (talk) 17:45, 18 August 2024 (UTC)