Template talk:MedalCount

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconOlympics Template‑class
WikiProject iconThis template is within the scope of WikiProject Olympics, a collaborative effort to improve the coverage of Olympics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
WikiProject iconSports Template‑class
WikiProject iconThis template is within the scope of WikiProject Sports, a collaborative effort to improve the coverage of sport-related topics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
To-do list:

Here are some tasks awaiting attention:

Three more rows[edit]

Is possible add three more rows please? --Kasper2006 (talk) 16:26, 26 May 2021 (UTC)[reply]

Infobox conversion[edit]

Hi y'all! I've just finish converting this template to be using {{Infobox}}. However, there are some significant issues with how this template is integrated into other templates (see the sandbox). As you can see on the testcases subpage, the template is broken. What is required of other templates is to put this template in a data field and for transclusions to include |child = yes. Given that this template is transcluded on 2.5k pages, what should be done? An easy way may be to set the child status as yes as the default, and alter how other templates use this template. There will be work involved to make sure this doesn't go bad.

Beside that, the only change is that the st nd and rd are not shrinked. Please let me know if there are other issues/concerns. I plan to merge this in a month if nothing is raised. SWinxy (talk) 21:05, 16 July 2022 (UTC)[reply]

I did some more testing and parent templates need to do more than set a parameter. afaict, other templates need to also migrate to use {{Infobox}}–there's no way around it. I'm going to have to update them to use {{infobox}}, too... SWinxy (talk) 16:50, 19 July 2022 (UTC)[reply]
Pinging @Izno to see if he has any additional ideas for this. Gonnym (talk) 09:09, 15 March 2023 (UTC)[reply]
No, converting all the others about sums it up if you want this one to use infobox. I am trying to make that happen separately for MediaWiki talk:Common.css/to do#Infobox anyway, so that is still positive rather than wasted effort. Izno (talk) 16:29, 15 March 2023 (UTC)[reply]

Extended-confirmed-protected edit request on 11 September 2022[edit]

Extend to 20 Events instead of 10 on the template because some national teams (e.g. Brazil have 10 competitions on their medal count below infobox) so the total tally on the template is at the side instead of down below the 10 competitions. 49.228.52.221 (talk) 19:16, 11 September 2022 (UTC)[reply]

 Done The issue wasn't with the number of medals allowed (though that deals with a more fundamental problem), but with the table separator, |-, not being present. SWinxy (talk) 23:10, 11 September 2022 (UTC)[reply]