Jump to content

Template talk:Infobox Olympic event

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Nations parameter

[edit]

When using the nations parameter, should we treat every IOC code as one nation, even those that don't represent an NOC (EUN and IOP in 1992, IOA in 2000)? -- Jao (talk) 01:28, 18 September 2008 (UTC)[reply]

That was my original intent for this infobox, yes. — Andrwsc (talk · contribs) 23:01, 29 September 2008 (UTC)[reply]

Edit request from Itxia, 16 August 2010

[edit]

{{editprotected}} I think we should add the parameter 2010 Summer Youth and 2012 Winter Youth in "games", so wen can add this template to the articles of the 2010 Summer Youth Olympics. Itxia (talk) 12:32, 16 August 2010 (UTC)[reply]

 DoneAndrwsc (talk · contribs) 23:48, 16 August 2010 (UTC)[reply]
I'm creating a page for Curling at the 2012 Winter Youth Olympics, but the "games" section does not respond to the parameter "2012 Winter Youth." Is there any way to resolve this issue? Thanks. Prayerfortheworld (talk) 06:02, 27 August 2010 (UTC)[reply]

Tweak for print

[edit]

Could you replace

-->{{#if:{{{prev|}}}{{{next|}}}|<tr><td align="left" style="border-top:1px solid #aaa; padding:0.2em;">{{#if:{{{prev|}}}|«{{{prev}}}| }}</td><td align="right" style="border-top:1px solid #aaa; padding:0.2em;">{{#if:{{{next|}}}|{{{next}}}»| }}</td></tr>}}<!--

with

-->{{hide in print |1={{#if:{{{prev|}}}{{{next|}}}|<tr><td align="left" style="border-top:1px solid #aaa; padding:0.2em;">{{#if:{{{prev|}}}|«{{{prev}}}| }}</td><td align="right" style="border-top:1px solid #aaa; padding:0.2em;">{{#if:{{{next|}}}|{{{next}}}»| }}</td></tr>}} }}<!--

This will remove a useless part of the infobox from the print version. Many thanks. Headbomb {talk / contribs / physics / books} 20:27, 29 September 2011 (UTC)[reply]

 Done — Martin (MSGJ · talk) 22:17, 29 September 2011 (UTC)[reply]
Many thanks. Headbomb {talk / contribs / physics / books} 22:27, 29 September 2011 (UTC)[reply]
[edit]

I recently visited Shooting at the 1920 Summer Olympics – Men's 300 metre free rifle, three positions and there was no wikilink from the article to 300 metre rifle three positions.

As one who doesn't know a lot about shooting as a sport, this was a big gap in Wikipedia's linking. It wasn't hard to find the relevant article, but not nearly so easy as it should have been. The phrasing of the article was also in need of work.

Looking around, there are an enormous number of articles that use this infobox template [1], and many perhaps even most of them seem to need work of this sort.

ISTM that a good start would be to have a parameter in this infobox template linking to an article on the sport. Presumably all Olympic sports are notable enough for such articles.

My suggestion is to simply use the event = parameter, and wikilink the line this creates to an article of the same name. If this exists then it's a good link, if not then an article probably should be created at that name, and if not again then a redirect at this name would certainly be appropriate. In any case, redlinks created by this coding will be rare, and those that are will all be helpful ones.

Comments? Andrewa (talk) 08:43, 30 October 2011 (UTC)[reply]

In that nobody speaks, I'd better raise this in a more popular forum I think. Andrewa (talk) 19:20, 6 November 2011 (UTC)[reply]

discipline?

[edit]

Should there be, or can there be, a discipline/sport field? -- Hooperswim (talk) 18:28, 21 March 2012 (UTC)[reply]

Add hCalendar microformat

[edit]

Please sync the sandbox, to which I have just added an hCalendar microformat. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:51, 12 August 2012 (UTC)[reply]

Done --Redrose64 (talk) 16:12, 12 August 2012 (UTC)[reply]
And promptly - thank you. Thanks also for moving my misplaced comment! Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 17:36, 12 August 2012 (UTC)[reply]

Total overhaul

[edit]

This template's code base is a huge mess of manual HTML and nested tables. I've converted it into a proper {{infobox}} in the sandbox: a selection of side-by-side comparisons is available on the test cases page. If there are no objections I'll deploy this code in a while, and then work on updating all of the many places that this code was copy-pasted around (such as {{infobox Pan American Games event}}). Chris Cunningham (user:thumperward) (talk) 09:00, 18 April 2013 (UTC)[reply]

Looks fine to me. Thanks for the effort. Parutakupiu (talk) 09:30, 18 April 2013 (UTC)[reply]

This has now been deployed. Chris Cunningham (user:thumperward) (talk) 10:09, 25 April 2013 (UTC)[reply]

Sorry, but I have some certain objections. The infobox would be fine if you adjust the font. It's too small to be read honestly. Be user-friendly. Thank you. Raymarc Badillo (user:raymarcbadz) (talk) 13:43, 25 April 2013 (UTC)[reply]
The font, as explained to you on my talk, is precisely the same size as that used not only on 95% of the encyclopedia's infoboxes, but also specifically that of {{infobox sportsperson}} (which you'd used as a comparison). Chris Cunningham (user:thumperward) (talk) 18:10, 25 April 2013 (UTC)[reply]

Edit request on 25 April 2013

[edit]

Can I edit some parts of this template please? The updated template is too small to be read. The template would be fine if I adjust the font.

Raymarcbadz 13:47, 25 April 2013 (UTC)

Deactivating editprotected request as this discussion is already taking place on my talk. Chris Cunningham (user:thumperward) (talk) 14:01, 25 April 2013 (UTC)[reply]

please revert the last change to this template, so the formatting issues can be addressed. I have placed the old version in the sandbox so that the differences can be seen in template:Infobox Olympic event/testcases. notice the dramatic changes in alignment, and format. Frietjes (talk) 17:50, 25 April 2013 (UTC)[reply]

I'm not seeing the "dramatic changes in formatting". Can you elaborate? Chris Cunningham (user:thumperward) (talk) 18:09, 25 April 2013 (UTC)[reply]
(1) the horizontal rules have been removed, (2) the title was moved outside of the box, (3) there are now deprecated bullets being used in the medal section, ... in addition to other functional changes and changes to label wrapping behaviour (e.g., if nations is specified without competitors). Frietjes (talk) 18:11, 25 April 2013 (UTC)[reply]
#1 and #2 are trivial aesthetic quibbles that can be addressed with the new codebase if there's consensus for it. #3 was deliberate as a separator was needed following the removal of the unnecessary nested inner table: I don't see anything to indicate {{,}} is deprecated anyway, though obviously correction on that would be appreciated. #4 (the extra stuff) is something I'm happy to address with test cases; it's not at all obvious that a revert for such would be a net positive. Chris Cunningham (user:thumperward) (talk) 18:37, 25 April 2013 (UTC)[reply]
clearly some editors will only notice the change after the change is live. how about reducing the protection level so I can make some arbitrary style decisions as well? as far as the {{,}} goes, these have been traditionally used as list delimiters, and the better approach is to use a properly scoped table row. my screen reader reads them as 'dot' which is very annoying. Frietjes (talk) 22:55, 25 April 2013 (UTC)[reply]
I've pinged the protecting admin to ask if it's alright to lower the protection. For now, if you sandbox and changes then ping me and I'll be happy to push them live. Chris Cunningham (user:thumperward) (talk) 09:25, 26 April 2013 (UTC)[reply]
Replied on my talk page, but also repeated here:
I'm not sure why the proposed changes are necessary. Certainly there are non-trivial changes to the rendered output:
  • the horizontal rules within the infobox are gone (this helps separate the medalist section and especially the previous/next navigation section),
  • the flag icons for the medal winners are no longer left-aligned,
  • unnecessary bullet characters now appear before the flag icons for medal winners (and read as "dot" by screen readers),
  • when the longnames=yes parameter is used, the flag icons on the second line are no longer indented,
  • the text size is slightly smaller.
I really do not like these changes (except for one: I like that the Venue/Date/etc. field labels are now left-aligned). The only reason for making them seems to be because of an objection to using direct HTML markup instead of the "modern" {{infobox}} meta-template helper. Is that really a problem? I note that many common infoboxes need (e.g. {{Infobox settlement}}) to use direct HTML markup to achieve their design goals (which may not be possible when using the meta-template). It is not mandatory that every infobox be implemented using {{infobox}}. — Andrwsc (talk · contribs) 17:50, 6 May 2013 (UTC)[reply]

I have reverted the changes to this template on 25 April, due to the objections raised on this page. (Thumperward, it would have been better if you had reverted your changes as soon as concerns were raised.) If you can work out which changes were desirable, and place them in the sandbox, I will happily update. — Martin (MSGJ · talk) 08:58, 9 May 2013 (UTC)[reply]

Bah. This codebase is ancient, crufty, uses tables for presentation, and worst of all is repeatedly copy-pasted around whenever someone needs an infobox for another athletics competition. I think resolving that is far more important than addressing a small number of mostly aesthetic concerns. But to address those:
0. While using {{infobox}} is not mandatory, it makes the code vastly more readable and ensures consistency with the vast majority of the encyclopedia's other infoboxes. What's more, the more rigid formmat helps to encourage the removal of the various awful hacks that are commonplace when raw HTML is used (particularly the use of inner tables for presentation).
1. The horizontal rules can be trivially re-added.
2. / 3. / 4. At present this requires the use of an inner table. My original choice was to put the country in parentheses, but this looks inelegant due to the flags. My preferred outcome here would be to reformat the medals section to put the flag first with only the IOC trigramme rather than the whole country name, and then the athlete's. That mostly the alignment problems (which can be tweaked even further by using a monospace font for the country names) without needing an inner table. What would be even better would be to get some CSS inserted into the main stylesheet which can style <ol>...</ol>s as medals for #medal-infobox ol or the like; this would allow us to do away with the manual insertion of medal icons and indentation would be free, as well as imparting plenty of semantic meaning.
5. Using the same font size as is used on practically every other infobox rather than some arbitrary one picked in 2007 is a feature.
I'll work on addressing #2 / #3 / #4 in the sandbox. I don't consider #0 or #5 to be problems at all and #1 is a matter of only minor aesthetic concern which can be discussed independently. Chris Cunningham (user:thumperward) (talk) 09:59, 9 May 2013 (UTC)[reply]

Template-protected edit request on 2 April 2014

[edit]

At this moment the template generates "2016" for the next event when the games parameter = 2012 Summer. Please open this up for the 2016 Olympic events. NED33 (talk) 09:40, 2 April 2014 (UTC)[reply]

Not done: it's not clear what changes you want made. Please mention the specific changes in a "change X to Y" format. — {{U|Technical 13}} (tec) 13:34, 2 April 2014 (UTC)[reply]
Change: align="right" style="border-top:1px solid #aaa; padding:0.2em;">{{#if:{{{next|}}}|{{#ifeq:{{{games|}}}|2012 Summer|2016|{{{next}}}}}»| }}</td></tr>}} }}<!--
Into: align="right" style="border-top:1px solid #aaa; padding:0.2em;">{{#if:{{{next|}}}|{{#ifeq:{{{games|}}}|2016 Summer|2020|{{{next}}}}}»| }}</td></tr>}} }}<!--
Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. This is 2014... So, 2016 would still be the "next", unless there is something I'm entirely missing. Please show how these changes would be used by updating the /sandbox and /testcases page with appropriate uses so us  Template editors (or administrators) can visualize what you are hoping to accomplish. Thanks. — {{U|Technical 13}} (tec) 15:27, 2 April 2014 (UTC)[reply]
Man, man, man! Done!NED33 (talk) 15:32, 2 April 2014 (UTC)[reply]

I've made the change, but on reflection, I am contemplating undoing it for now. There are no individual event articles for 2016 at this time, and in my opinion, it is still far too early to create them. Any event information can be included on the main sport pages (e.g. Sailing at the 2016 Summer Olympics) and I also see that most of those are still nothing more than redirects into the 2016 Summer Olympics article. I think we won't need 2016 per-event articles until early 2016. — Andrwsc (talk · contribs) 17:17, 2 April 2014 (UTC)[reply]

But also Sailing at the 2012 Summer Olympics next link to Sailing at the 2016 Summer Olympics does not work! 2016 to 2020 on the other hand does work:-)NED33 (talk) 17:51, 2 April 2014 (UTC)[reply]
{{Infobox Olympic event}} is intended for individual event pages, not sport summary pages. I think it is mis-used on Sailing at the 2012 Summer Olympics and should be removed from there. — Andrwsc (talk · contribs) 05:35, 3 April 2014 (UTC)[reply]

Closing this request, as it appears to be stale. Kevin Rutherford (talk) 00:58, 8 April 2014 (UTC)[reply]

I reopened it, see my comments below. Sander.v.Ginkel (talk) 10:22, 8 April 2014 (UTC)[reply]

Note that there is also an article about cycling, see Cycling at the 2016 Summer Olympics. It would be great to show the links for the sports, but not yet for the single events. Sander.v.Ginkel (talk) 10:05, 8 April 2014 (UTC)[reply]

Regarding to the comment of Andrwsc: I think the infobox is not mis-used. All the 2012 and 2014 Olympic sports are using this template (or a sports specific one). Sander.v.Ginkel (talk) 10:13, 8 April 2014 (UTC)[reply]

That's not the intent of this template when I created it, but obviously it's been repurposed for top-level Olympic sport pages in the past few years. Perhaps a more appropriate template should be created instead. — Andrwsc (talk · contribs) 17:01, 11 April 2014 (UTC)[reply]
Isn't that a wonderful idea that when you create something it can do even more than it was intended to. As a non smoker or drinker I always find it fascinating to see smokers opening a beer bottle with their lighters:-)NED33 _/) talk 18:24, 11 April 2014 (UTC)[reply]

And a third comment, why is 2016 hidden for the Summer Olympics, but 2018 not for the Winter Olympics? In my opinion this should be vice versa. Sander.v.Ginkel (talk) 10:18, 8 April 2014 (UTC)[reply]

 Not done for now. Doesn't seem to be a consensus for the change.—cyberpower ChatOnline 06:27, 29 April 2014 (UTC)[reply]

governing_body

[edit]

The documentation talks of a "governing_body" parameter, but it doesn't seem to be displayed. I haven't had a chance to see whether there is anything relevant in previous versions. --David Biddulph (talk) 05:58, 6 December 2014 (UTC)[reply]

On further investigation it looks as if the parameter was added to the documentation page in this edit nearly 3 years ago, but I don't see an equivalent edit to add the parameter to the template itself. --David Biddulph (talk) 06:05, 6 December 2014 (UTC)[reply]

Template-protected edit request on 22 November 2015

[edit]

Can someone add the 2016 Winter Youth Olympics to the parameters please? Thanks. Sportsfan 1234 (talk) 19:13, 22 November 2015 (UTC) Sportsfan 1234 (talk) 19:13, 22 November 2015 (UTC) Done Bazj (talk) 21:04, 22 November 2015 (UTC)[reply]

Edit request - wrap second line of title in <small> tags

[edit]
Golf
at the Games of the XXXI Olympiad
Golf
at the Games of the XXXI Olympiad

Sometimes I find cases such as Golf at the 2016 Summer Olympics and Judo at the 2016 Summer Olympics, where the second line of the title, "at the Games of the XXXI Olympiad", dwarfs the first line "Golf"/"Judo", rather unsettling from an aesthetic standpoint. The sport itself is the subject of the article, but it is dwarfed by its subtitle in the infobox. I propose a text design change where the second line is wrapped in <small> tags, so that it can be brought down to, at best, three quarters of the width of the infobox instead of the full width, and properly representing its place in the infobox as a subtitle with a smaller font size, allowing the titular sport to not only be on aesthetically equal ground with the subtitle, but with smaller titles such as "Golf" and "Judo" being able to cement their prominence as the title, visually, with a relatively larger font size. I believe there is no issue with MOS:ACCESS, as is usually the case with <small> tags, since applying the tags here won't decrease the font size below what is already the standard on the page; if anything, because it is still highlighted in bold, it will still be easier to read that most of the page that is the same font size, but isn't bold font (Examples on the right – current infobox with no application on the subtitle on top, proposed change with <small> tags wrapped around the subtitle on bottom). Philip Terry Graham 19:19, 24 May 2016 (UTC)[reply]

Edit request

[edit]

Please, add 2014 Youth Olympic Games in this template. Thanks! WildCherry06 05:22, 26 July 2016 (UTC)

@WildCherry06: Done --Ahecht (TALK
PAGE
) 17:06, 26 July 2016 (UTC)[reply]
@Ahecht: I also created the redirect that I believe was intended, given the added text in the template. — Andy W. (talk ·ctb) 17:10, 26 July 2016 (UTC)[reply]
You seem to have created a redirect for 2014, but not for 2010. --David Biddulph (talk) 17:43, 26 July 2016 (UTC)[reply]
@David Biddulph: Special:Diff/731645795 was at 17:12. — Andy W. (talk ·ctb) 17:46, 26 July 2016 (UTC)[reply]
Sorry, yes. I'd looked earlier and written my post, but not sent it for some time. --David Biddulph (talk) 18:31, 26 July 2016 (UTC)[reply]
Thanks Andy. You beat me to it. --Ahecht (TALK
PAGE
) 20:42, 26 July 2016 (UTC)[reply]

Edit request - Minor text design changes

[edit]
Golf
at the Games of the XXXI Olympiad
«19042020»
Golf
at the Games of the XXXI Olympiad
19042020

I have two requests. The first is the one I had proposed in an earlier post on this talk page entitled "Edit request - wrap second line of title in <small> tags", to which the only reply was objectively unhelpful. I proposed that <small> tags be wrapped around the second line of the title, so that, especially in articles where the name of the sport has a smaller name, such as Golf at the 2016 Summer Olympics and Judo at the 2016 Summer Olympics, the subject of the article isn't completely dwarfed in the infobox. The titular sport will be on aesthetically equal ground with the subtitle that way, and smaller titles such as "Golf" and "Judo" will able to cement their visual prominence as the title. Once again, I believe there to be no MOS:ACCESS issue, since the smaller font size would still be larger than the majority of the text in the article, anyways.

The second change I want to propose is to change the chronology text and arrows. Currently it's formatted as "<<year" and "year>>". I propose it to be changed to "year ←" and "→ year", with "←" and "→" replacing the rather code-y and non-aesthetically pleasing "<<" and ">>". These arrows honestly look like an element left over from the time Wikipedia mostly used blocky, code-inspired infoboxes. The same formatting for year chronology can be found in sports templates such as Infobox International Football Competition, and non-sport templates such as Infobox election. Though, these templates differ in where the arrow is placed in relation to the text. I personally prefer the text to be on the outside of the arrow, but just having these particular arrows there is all that matters. The changes I propose are visualised on the right, using Golf as an example; the top infobox is as it is now, and the bottom one is with the changes. Philip Terry Graham 04:30, 11 August 2016 (UTC)[reply]

Philip Terry Graham, no objections, so done. Frietjes (talk) 16:00, 8 September 2016 (UTC)[reply]

Template-protected edit request on 8 October 2016

[edit]


Can the 2018 Winter Olympics be added as a parameter please. Thanks. Sportsfan 1234 (talk) 22:13, 8 October 2016 (UTC)[reply]

Done Matt Fitzpatrick (talk) 03:48, 9 October 2016 (UTC)[reply]

Template-protected edit request on 8 October 2016

[edit]

Can a new parameter be included which reads "event(s)". For the main pages (and not the individual pages) it would be great to show how many events are being contested in a particular sport.

Sportsfan 1234 (talk) 22:37, 8 October 2016 (UTC)[reply]

Done Primefac (talk) 20:35, 9 October 2016 (UTC)[reply]

Script errors

[edit]

The recent changes by Zackmann08 seem to be generating script errors: see Category:Pages with script errors. I cannot see what the error is – there is no ERROR or similar visible but it is affecting hundreds of over 1000 pages, so flooding the category.--JohnBlackburnewordsdeeds 04:23, 23 December 2016 (UTC)[reply]

@Frietjes: any ideas??? --Zackmann08 (Talk to me/What I been doing) 05:30, 23 December 2016 (UTC)[reply]
@JohnBlackburne: I don't want you to think I'm indifferent towards your comment. It definitely needs to be fixed but as there are not display errors, I don't think it is critical. Frietjes is the bomb and hopefully she will know how to fix it. If not, we can revert the changes until a solution is found. :-) --Zackmann08 (Talk to me/What I been doing) 06:28, 23 December 2016 (UTC)[reply]
It looks like it’s affecting over 3000 pages now. Yes, the error is not visible but it makes the category unusable for finding visible errors, including any visible errors in the affected pages – my assumption that the error is invisible on all of them might be wrong as I have not checked all 3000. If the error were visible on so many pages I would ask for the changes to be reverted immediately, but as-is there is no urgency.
It should be possible to check which of the two changes caused the problem, using the template preview feature. I can’t do it as the template is edit protected, otherwise I would tell you, and probably would look at it myself.--JohnBlackburnewordsdeeds 06:37, 23 December 2016 (UTC)[reply]
JohnBlackburne and Zackmann08, I am assuming that this was fixed by Zyxw? Frietjes (talk) 13:18, 23 December 2016 (UTC)[reply]
Yes, it’s now fixed. It was the first fix that did it, but it took a little time to propagate to all of the articles affected.--JohnBlackburnewordsdeeds 23:44, 23 December 2016 (UTC)[reply]
There were visible Lua script errors appearing in articles using this infobox, which is what got my attention yesterday. The visible errors occurred on pages such as Short track speed skating at the 1992 Winter Olympics – Men's 5000 metre relay which use the gold/silver/bronze parameters without using the associated NOC parameters. The old version of this template (before 03:41, 23 December 2016‎) did not call {{FlagIOC}} unless the NOC parameter was defined. Without that, each missing NOC parameter in the infobox generated three Lua script error messages (since {{FlagIOC}} calls {{Country alias}} three times):
  • {{FlagIOC|{{{goldNOC}}}}}
  • Lua error in Module:Country_alias at line 205: Invalid country alias: {{{goldNOC}}}.
My first edit (07:46, 23 December 2016‎) fixed the visible errors. I did notice that some articles were being added to Category:Pages with script errors without a visible error message, but did not attempt to figure out why. Hopefully the edit fixing the visible errors also took care of the non-visible ones. -- Zyxw (talk) 04:06, 24 December 2016 (UTC)[reply]

Formatting problem

[edit]
Resolved

There seems to be a problem with the 'Competitors' field: it is not leaving a space between the first number and 'from', including the example on the documentation page.--JohnBlackburnewordsdeeds 04:31, 23 December 2016 (UTC)[reply]

Redo formatting changes

[edit]

These are changes from #Edit request - Minor text design changes above, that were missed in the recent conversion to use infobox. I‘ve redone them in the sandbox, so that now matches the old version in sandbox2, as can be seen in the testcases. Please update the main template from its sandbox with them.--JohnBlackburnewordsdeeds 10:05, 24 December 2016 (UTC)[reply]

2 of the 3 changes have been done: in this change Zyxw brought them across, perhaps inadvertently as we were editing the sandbox at the same time. The only one left is adding a couple of spaces.--JohnBlackburnewordsdeeds 10:40, 24 December 2016 (UTC)[reply]
 Done the change to the spacing. -- John of Reading (talk) 10:42, 24 December 2016 (UTC)[reply]

Edit request - default image size to fill the infobox width

[edit]

Change the default image size from {{{image_size|220px}}} to {{{image_size|280px}}}. This will allow the image width to fill the width of the infobox without leaving too much unnecessary space. – PhilipTerryGraham (talk · articles · reviews) 10:06, 3 August 2018 (UTC)[reply]

 Not done: Any large change to appearance should be discussed first and a consensus reached; Per MOS:IMGSIZE, fixed image sizes in pixels shouldn't be used. Instead, I have removed the fixed image sizing in pixels in the sandbox and will implement the change in a few days/week if there are no objections. One may want to increase the size using upright but that will have to be discussed first. Galobtter (pingó mió) 17:12, 4 August 2018 (UTC)[reply]
@Galobtter: Okay, is there any way that we can have the image in the infobox fill the width of the infobox regardless of user preferences for thumbnails, and if not, is there any way we can ensure that the width of the infobox will not increase with the image if users' thumbnail preferences are set to those larger than the default width of the infobox (300px and 400px)? The {{Olympic events sidebar}} series is dependent on {{Infobox Olympic event}} to keep its width in order to look good in terms of a harmonious width of sorts. – PhilipTerryGraham (talk · articles · reviews) 03:24, 5 August 2018 (UTC)[reply]

Edit request - silver4

[edit]

We need a fourth row for silver medals for Gymnastics at the 1984 Summer Olympics – Men's vault. Could someone please add the silver4 and silverNOC4 parameters? -- Jonel (Speak to me) 12:11, 28 November 2020 (UTC)[reply]

 Done I think I have set it up right. Try it and ping me here if it is not working. – Jonesey95 (talk) 18:57, 28 November 2020 (UTC)[reply]
Perfect, thank you! -- Jonel (Speak to me) 19:30, 28 November 2020 (UTC)[reply]

Auto short description

[edit]

Please change the first line of this template to use {{Short description}} rather than {{shortdesc}}GhostInTheMachine talk to me 08:18, 20 July 2021 (UTC)[reply]

Because...? Primefac (talk) 11:30, 20 July 2021 (UTC)[reply]
None of the aliases should be used. I have created (logged? filed?) a TFDGhostInTheMachine talk to me 21:43, 20 July 2021 (UTC)[reply]
That works. Done. Primefac (talk) 22:25, 20 July 2021 (UTC)[reply]

Change automatic short description

[edit]

Hi, I believe that per WP:SDNONE, this template would be better suited to provide an automatic short description of "none". The format "{{event}} events at the Olympics" is a prime example of why SDNONE exists, in that it heavily duplicates content from the article title. Also, it actually provides less detail compared to the article title, rather than more. For example, "Swimming at the Olympics" really not helpful when the corresponding title is Swimming at the 1996 Summer Olympics. Thrakkx (talk) 18:33, 17 February 2022 (UTC)[reply]

Just noting that I have seen this; if there is no significant opposition in the next few days I'll implement probably at week's end. Primefac (talk) 20:02, 17 February 2022 (UTC)[reply]
It appears that this "none" description may not work when implemented in this way. When I look at Basque pelota at the 1900 Summer Olympics, I do not see the usual "this article intentionally has no description". In Category:1900 Summer Olympics events, and using the SD helper gadget, that article shows the Wikidata short description only. Am I missing something here? It might be useful to provide a short description of "Olympic event", on the off chance that there is a book or music album or (heaven help us) a musical group with a name like "Archery at the 1996 Summer Olympics". – Jonesey95 (talk) 15:49, 19 June 2022 (UTC)[reply]
The gadget not showing what is intended seems to be an issue with the gadget, as when I search on mobile I see no SD for Basque pelota at all (not even the WD value). As far as our hypothetical "let's name something like it's something else", while theoretically I agree with you I don't think we need to start pre-planning for every possible title that might exist. Primefac (talk) 16:11, 19 June 2022 (UTC)[reply]
Thanks. I have put a note on the talk pages for the gadget and the category script. – Jonesey95 (talk) 16:56, 19 June 2022 (UTC)[reply]
Out of curiosity, do you see this behaviour with any of the other infoboxes with automatic shortdescs? Offhand I know {{infobox country at games}}, {{infobox crater}}, {{Infobox lunar crater or mare}}, and {{infobox school}} all have them. Primefac (talk) 17:08, 19 June 2022 (UTC) Struck silly statement - Prime[reply]
I do not, and I have added automatic short descriptions to a couple dozen infoboxes (see Category:Templates that generate short descriptions for a big group). The automatic SDs all show properly on category pages and on the article page. This is the only one I know of where the description is set to "none", however, which is a special value. – Jonesey95 (talk) 00:18, 20 June 2022 (UTC)[reply]
Oh! Right. I was being dumb and mixing up "none" and "noreplace". I do feel like there was another template that used "none" but I cannot remember it at the moment. Primefac (talk) 12:05, 20 June 2022 (UTC)[reply]
Here are a couple more. – Jonesey95 (talk) 13:21, 20 June 2022 (UTC)[reply]
@Jonesey95@Primefac unfortunately I don't think there's a way for the gadget to detect none without a change to the template. "none" as it is currently implemented makes the template not output anything, so the gadget currently searches the wikitext to figure out if "none" is there. If "none" is made to output something in the html it would be possible to detect it. Galobtter (pingó mió) 23:05, 30 June 2022 (UTC)[reply]
[edit]

As a navigation template, this template should link to the page for the event at the Olympic games generally. I propose that the event parameter automatically link to the event at the Olympic games. For example, Swimming at the top of the infobox at Swimming at the 2024 Summer Olympics should link to Swimming at the Summer Olympics. The ifexists parserfunction could be used to only link if there is such a page. -- JFHutson (talk) 14:18, 31 July 2024 (UTC)[reply]

I haven't had time to code this up (and have other projects to focus on) but if you can sandbox it to make sure everything works, I'm happy to implement it (mainly per WP:SILENCE). Primefac (talk) 13:15, 18 August 2024 (UTC)[reply]