Template talk:Goal
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
Untitled 2010
[edit]There seems to me absolutely nothing intuitive about using a picture of a ball as a symbol for a goal. What was the rationale behind this? Kevin McE (talk) 19:55, 4 August 2010 (UTC)
- For disclosure I think the template is fine. That said, it might be worth asking the creator directly. Given that the template has been used on thousands of articles without so much as a talk page, I would suggest that there might be silent consensus for it. Of course, there is the possibility that that might change. Regards, --WFC-- 20:15, 4 August 2010 (UTC)
How many goals should this template support? (doc says 5)
[edit]In a recent edit, User:Chanheigeorge added lots of duplicate code to accomodate for someone who scored 16 goals. However, I can not find any article that actually uses this template that way: when a very high amount of goals are scored by a player, they always seem to be split up over multiple lines. See for example the very articles where those 16 goals were scored (J. Kaltack with Vanuatu vs Micronesia, here and here), which split those goals over 3 template usages, over 3 lines. After all, if more than 10 or so goals were scored by a single player, all those minutes simply do not fit in a footballbox, so it makes sense indeed to start a new template on every line.
Conclusion: do we even need to accomodate for such a high usage, if the recommendation should probably be to split it over multiple lines anyway? I propose keeping 10 as a maximum, and make a note of that in the documentation (where it actually says five are supported). Sygmoral (talk) 16:23, 26 August 2015 (UTC)
- Well, I reduced it to 10 goals. More than that should be split over multiple lines. I also updated the doc. Sygmoral (talk) 14:15, 29 August 2015 (UTC)
Multiple goals without minutes
[edit]When a single player scores more than one goal, say a hat-trick, but we don't have the times of the goals, we currently need to do the following (I think):
- [[Terry Alcock|Alcock]] {{goal|}} {{goal|}} {{goal|}}
- which gives
- Alcock
Could there be a way to manipulate the code to generate the three balls to appear from one template transclusion? Obviously {{goal|3}} would be the easiest, but equally obviously that would currently render one goal, scored in the third minute. --Dweller (talk) 16:41, 23 December 2015 (UTC)
- I'm afraid this is indeed not obvious to fix in a handy way. Since {{goal|3}} is not available, we'd need something like {{goal|number=3}}, which is not obvious to remember, and therefore would perhaps barely ever be used instead of the relatively simple {{goal}} {{goal}} {{goal}}. In any case, it doesn't look great in high numbers, so instead of figuring out how to show multiple ball-icons for multiple goals, perhaps we should try find a better standard to display multiple goals with a single icon, even if the minutes are not available. Alcock: 3 or something ... (perhaps only to be used if more than 4 or so) —Sygmoral (talk) 16:31, 24 December 2015 (UTC)
- Coming back to this, for older articles, earlier football, it's hard to find time of the goals in matches, so it be helpful to have additional code like Sygmoral said, are we able to add goal|number=xamount element? That can generate the number in the brackets with an available note? Govvy (talk) 12:11, 20 May 2022 (UTC)
- I'm afraid this is indeed not obvious to fix in a handy way. Since {{goal|3}} is not available, we'd need something like {{goal|number=3}}, which is not obvious to remember, and therefore would perhaps barely ever be used instead of the relatively simple {{goal}} {{goal}} {{goal}}. In any case, it doesn't look great in high numbers, so instead of figuring out how to show multiple ball-icons for multiple goals, perhaps we should try find a better standard to display multiple goals with a single icon, even if the minutes are not available. Alcock: 3 or something ... (perhaps only to be used if more than 4 or so) —Sygmoral (talk) 16:31, 24 December 2015 (UTC)
Edit request
[edit]@Jonesey95, Primefac, and JackHoang: Recent editors: Would one of you please be so kind as to change the apostrophe in the template to a single prime? —DocWatson42 (talk) 14:05, 25 February 2019 (UTC)
- Why? We are measuring minutes, not arcminutes or degrees. MOS:TIME specifically says not to use prime or the apostrophe, so what to do? MOS:
Do not use prime; (′), Prime; (″), apostrophe (') or quote (") for minutes or seconds.
– Jonesey95 (talk) 14:20, 25 February 2019 (UTC)- MOS:TIME is for units of measurement, not necessary sports-related terminology. However, the single prime is more or less specifically for arcminutes. I've notified WP:FOOTY of this discussion, but from what I know about footy the apostrophe is the appropriate symbol to use here. Primefac (talk) 15:46, 25 February 2019 (UTC) (please ping on reply)
- As mentioned above, the MOS deprecates the use of both the apostrophe and the prime symbol, but what other option do we have? Football doesn't record the specific second when a goal is scored (at least not as a matter of course), so we can't use the MM:SS format prevalent in American football articles, for example. To make matters even more confusing, this BBC report uses the apostrophe to indicate goal times, as does this one from ESPN, while this report on the same game from Sky Sports doesn't. If the choice is between the apostrophe and the prime, I'd say let's use the prime symbol. This is a template, so we don't have to worry about it being a difficult symbol to find on the keyboard, which is the only reason I can think of not to change. – PeeJay 16:19, 25 February 2019 (UTC)
- If the MoS supports neither symbol, there's no reason to change from one unacceptable use to another. Likewise, if the MoS doesn't address minutes in this context at all, there's no reason to change.
- As stated above, BBC and ESPN use apostrophes, and Sky uses parentheses. UEFA uses plain numbers. FIFA uses apostrophes. I can't actually find a source that uses a prime.
- If we did change this, then presumably for consistency we'd have to change those articles – like 2018–19 Manchester United F.C. season and predecessors – that use simple wikitables to display match results. Again as stated above, the keyboard-unfriendliness of the prime doesn't matter for a template, but it certainly does for tables. cheers, Struway2 (talk) 19:01, 25 February 2019 (UTC)
- Good point. I'm happy to keep things as they are then. – PeeJay 19:22, 25 February 2019 (UTC)
- Yes, I'd say keep it as it is. GiantSnowman 13:46, 26 February 2019 (UTC)
- I'm sorry—I thought it was referring to feet, not minutes of time. —DocWatson42 (talk) 17:12, 26 February 2019 (UTC)
- The prime symbol is not to be used for feet/inches either, per MOS. In any event, that's why Americans call it "soccer" – it avoids all of this foot/foot confusion. (But please don't ask about American football....) A joke, in case it's not clear. – Jonesey95 (talk) 20:16, 26 February 2019 (UTC)
- I'm sorry—I thought it was referring to feet, not minutes of time. —DocWatson42 (talk) 17:12, 26 February 2019 (UTC)
- Yes, I'd say keep it as it is. GiantSnowman 13:46, 26 February 2019 (UTC)
- Good point. I'm happy to keep things as they are then. – PeeJay 19:22, 25 February 2019 (UTC)
- As mentioned above, the MOS deprecates the use of both the apostrophe and the prime symbol, but what other option do we have? Football doesn't record the specific second when a goal is scored (at least not as a matter of course), so we can't use the MM:SS format prevalent in American football articles, for example. To make matters even more confusing, this BBC report uses the apostrophe to indicate goal times, as does this one from ESPN, while this report on the same game from Sky Sports doesn't. If the choice is between the apostrophe and the prime, I'd say let's use the prime symbol. This is a template, so we don't have to worry about it being a difficult symbol to find on the keyboard, which is the only reason I can think of not to change. – PeeJay 16:19, 25 February 2019 (UTC)
- MOS:TIME is for units of measurement, not necessary sports-related terminology. However, the single prime is more or less specifically for arcminutes. I've notified WP:FOOTY of this discussion, but from what I know about footy the apostrophe is the appropriate symbol to use here. Primefac (talk) 15:46, 25 February 2019 (UTC) (please ping on reply)
Penalty
[edit]Can someone please add alternative for penalty kick using parameter "pen" (without dot)? Albertus Aditya (talk) 15:44, 9 March 2020 (UTC)
- Already available (although with a full stop indicating that "pen." is an abbreviation). See the documentation and the examples therein, e.g.
{{goal|5||20||90+2|pen.}} →
5', 20', 90+2' (pen.) – Jonesey95 (talk) 17:28, 9 March 2020 (UTC){{goal|90+2|pen}}
→ 90+2' (pen.) does not give the same link. Albertus Aditya (talk) 12:11, 10 March 2020 (UTC)
Font size violating MOS:FONTSIZE
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
font-size: 85% in Template:Goal/styles.css violates MOS:FONTSIZE: "Avoid using smaller font sizes within page elements that already use a smaller font size, such as most text within infoboxes, navboxes, and references". {{goal}} is used in already smaller font size infoboxes like {{Football box}} and {{Football box collapsible}}. According to Wikipedia:Manual of Style "The resulting font size of any text should not drop below 85% of the page's default font size." So font-size: 85% should be changed to 100%.--Corwin of Amber (talk) 11:35, 11 January 2024 (UTC)
- Done Good catch. Fixed. For an example usage, see 2002 FIFA World Cup#Semi-finals. – Jonesey95 (talk) 14:43, 11 January 2024 (UTC)
- Does someone need to do the other templates used in {{Football box}} and {{Football box collapsible}}? To my knowledge there is {{futsal goal}}, {{yel}}, {{sent off}}, {{subon}}, {{suboff}}, {{pengoal}}, {{penmiss}}, {{golden goal}} and {{silver goal}}.
- I would offer myself but I'm a relative amateur. Thanks. RednessInside (talk) 14:59, 14 February 2024 (UTC)
- Probably. A more complete (but probably incomplete) list of templates is at Category:Association football templates needing maintenance. – Jonesey95 (talk) 17:44, 14 February 2024 (UTC)
- Can you please restore this to its previous state, it has caused a discrepancy between the size of the images for the goals and the cards. Either make them the same size or restore them to their previous state.--EpicAdventurer (talk) 21:43, 29 August 2024 (UTC)
- I don't see any problems with the images in the above template transclusion. – Jonesey95 (talk) 22:48, 29 August 2024 (UTC)
Capped at 10 goals
[edit]I see that this template is capped at 10 goals, so that at Australia_31–0_American_Samoa#Details three goals are missing. Maproom (talk) 15:47, 11 April 2024 (UTC)
- From the documentation:
if you need more, call the template multiple times
. – Jonesey95 (talk) 16:35, 11 April 2024 (UTC)