Template talk:Infobox medal templates

Latest comment: 1 year ago by Paine Ellsworth in topic Edit request 28 July 2023

Please Add

edit

Please add Template:Infobox college coach/doc to the list that uses this template. See Mike Krzyzewski for example of use. — Preceding unsigned comment added by Theworm777 (talkcontribs) 07:23, 13 February 2012 (UTC)Reply

Edit request on 27 February 2012

edit

please change 'background-color: #f9f9f9;' to 'background-color: #f9f9f9; color: #000000;', which will simplify the usage of this template when the headerstyle is set to use a color other than black. thank you. Frietjes (talk) 21:04, 27 February 2012 (UTC)Reply

Done. Thanks! Plastikspork ―Œ(talk) 01:28, 28 February 2012 (UTC)Reply

font weight

edit

I changed the font weight from 'lighter' to 'normal', which should allow this to be used in a data field, instead of a header field (see thread at template talk:infobox person. please, revert and let me know if this causes a problem. Frietjes (talk) 23:53, 3 March 2014 (UTC)Reply

Sort order?

edit

Is there a preferred sort order for listing medals? I've seen a couple articles that sort by medal type, then year (e.g., Jennifer Botterill). That seems strange to me; I expect the order to be only by year, and I updated the article on Meghan Duggan to that order. Before I go charging around Wikipedia updating articles to reflect my personal preference, I thought I'd check here first to see if there is any consensus on a preferred order. Rks13 (talk) 22:21, 2 March 2018 (UTC)Reply

Rks13, usually you have sections for each competition, and then within the sections you put them in chronological order (e.g., Arnold). Frietjes (talk) 22:30, 2 March 2018 (UTC)Reply

Template-protected edit request on 7 April 2021

edit

Based on a comment by @Great Brightstar:, this template has columns the wrong width on mobile, see [1]. I have made changes to the sandbox to fix this, which can be tested at [2]. There was just one blank row which needed deleting. User:GKFXtalk 10:56, 7 April 2021 (UTC)Reply

To editors GKFX and Great Brightstar:   done, and thank you both very much! P.I. Ellsworth  ed. put'r there 14:22, 7 April 2021 (UTC)Reply
To editors GKFX and Great Brightstar: as you've probably seen by now, your edit was   Undone by Jonesey95, who wrote the edit summary: "Causes Linter errors at e.g. Vietnam national under-23 football team. Please use testcases page to investigate." Is there another way to fix this mobile-view width without gathering Lint? P.I. Ellsworth  ed. put'r there 06:19, 9 April 2021 (UTC)Reply
This is partially because the mobile view set display:block for the most of table elements if the screen is narrower than 720 px, which cause display problems for some smaller tables, I've made a solution at Template:Infobox/extras.css, you can see the effects at the test cases, also see a discussion at MediaWiki talk:Common.css -- Great Brightstar (talk) 14:21, 9 April 2021 (UTC)Reply

Subsequent fix

edit

Hi all, I can see the light. Please take a look at. --Great Brightstar (talk) 06:27, 22 April 2023 (UTC)Reply

  Completed. P.I. Ellsworth , ed. put'er there 15:05, 24 April 2023 (UTC)Reply
This change appears to have broken the display and caused table-related syntax errors at a few dozen articles including Henry Nicoll (equestrian). Paine Ellsworth and Great Brightstar, can you please take a look? If I don't hear from you in a bit, I will take a look myself and possibly revert so that the problems can be resolved in the sandbox. Thanks. – Jonesey95 (talk) 17:41, 24 April 2023 (UTC)Reply
Update: I have fixed the basic table syntax error (a cell opening pipe was needed), but there is a lot of redundancy in the infobox at Henry Nicoll (equestrian). Is this what it is supposed to look like? – Jonesey95 (talk) 17:48, 24 April 2023 (UTC)Reply
Hmm...That's good. --Great Brightstar (talk) 23:21, 24 April 2023 (UTC)Reply
Well I'm seeing some things that are unfamiliar, for example {{{!}} and {{!}}}. Such looks a little weird to me. P.I. Ellsworth , ed. put'er there 23:27, 24 April 2023 (UTC)Reply
That's how you create wikitable syntax inside a template. {{{!}} is { plus the output of the template {{!}} (a pipe), resulting in {| table-opening code once the rendering is done. It's odd. – Jonesey95 (talk) 03:21, 25 April 2023 (UTC)Reply
I'll say it's odd! I do follow you, though, and thank you for that. Even inside templates we usually just see the {| and |} symbols used. Guess I don't quite understand why they aren't used here instead of using the {{!}} templated pipe. P.I. Ellsworth , ed. put'er there 04:02, 25 April 2023 (UTC)Reply
It's because the table markup is inside a parser function, in this case an #if statement. The problem is mentioned in a few places, including this MediaWiki page. Using <table>...</table>-style tags would work around this problem. – Jonesey95 (talk) 05:47, 25 April 2023 (UTC)Reply
Thanks again! Got it. P.I. Ellsworth , ed. put'er there 06:27, 25 April 2023 (UTC)Reply
Please review now. I got a solution again. -- Great Brightstar (talk) 11:11, 25 April 2023 (UTC)Reply
{{MedalTableTop}} should be rewrite with {{infobox}}. --Great Brightstar (talk) 11:59, 25 April 2023 (UTC)Reply
I introduced child parameter for {{MedalTableTop}} as well. -- Great Brightstar (talk) 12:25, 25 April 2023 (UTC)Reply

Closing as it's unclear what specific changes (and to what pages) are being requested. Template:Infobox medal templates/sandbox is not suitable for syncing to Template:Infobox medal templates right now because the changes made to the main template need to be merged into it. * Pppery * it has begun... 17:01, 6 May 2023 (UTC)Reply

I believe you have not clear what's wrong with this template on mobile view, if you have no experience for read and edit on mobile phone, you need to view main template page and test cases on a Responsive Website Tester to reproduce. -- Great Brightstar (talk) 13:27, 8 May 2023 (UTC)Reply
It's still unclear what specific changes are being requested. * Pppery * it has begun... 23:45, 15 May 2023 (UTC)Reply
So let me show screenshots to you for the differences between current template and test cases: [3] [4]
The main change is use the following codes for |medals= parameter:
{{!}} colspan="2" style="padding:0" {{!}}
{{{medals}}}
{{!}}
-- Great Brightstar (talk) 00:32, 17 May 2023 (UTC)Reply

To editor Jonesey95: just curious as to how close we are on this request? Don't want to implement without your express SoA. P.I. Ellsworth , ed. put'er there 02:53, 24 June 2023 (UTC)Reply

Deactivating request as it has been pending for two months without action. It's clear no template editor watching the queue is willing to implement this as it stands. * Pppery * it has begun... 16:22, 18 July 2023 (UTC)Reply
It seem to me it's difficult to explain such thing to someone who has little or no experience on mobile device(s), maybe we have to call others to do. -- Great Brightstar (talk) 15:14, 28 July 2023 (UTC)Reply

Edit request 28 July 2023

edit

Description of suggested change: I have made a fix to resolve some inconsistencies between desktop and mobile devices, which is affevted by different configurations for CSS styles between desktop (Vector) and mobile (MinervaNeue) skins: First, the top item of the content occupied this template having a wide grey stripe at the top. Second, the left column occupied half of template width, which looks very inconsistent among different devices. I've made fix in its sandbox page, and you'll see the problems on main template via these screenshots:

Do you have any more idea for this? If so, please let me know. Thanks. Great Brightstar (talk) 17:22, 28 July 2023 (UTC)Reply

  Completed. P.I. Ellsworth , ed. put'er there 23:18, 18 August 2023 (UTC)Reply