Template talk:Infobox medal templates
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||
|
Template:Infobox medal templates 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. |
Please Add
editPlease 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 (talk • contribs) 07:23, 13 February 2012 (UTC)
Edit request on 27 February 2012
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
- Done. Thanks! Plastikspork ―Œ(talk) 01:28, 28 February 2012 (UTC)
font weight
editI 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)
Sort order?
editIs 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)
- 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)
Template-protected edit request on 7 April 2021
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
- 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)
- 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)
- 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)
- This is partially because the mobile view set
Subsequent fix
editHi all, I can see the light. Please take a look at. --Great Brightstar (talk) 06:27, 22 April 2023 (UTC)
- Completed. P.I. Ellsworth , ed. put'er there 15:05, 24 April 2023 (UTC)
- 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)
- 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)
- Hmm...That's good. --Great Brightstar (talk) 23:21, 24 April 2023 (UTC)
- 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)- 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)- 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)- 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)- Thanks again! Got it. P.I. Ellsworth , ed. put'er there 06:27, 25 April 2023 (UTC)
- Please review now. I got a solution again. -- Great Brightstar (talk) 11:11, 25 April 2023 (UTC)
{{MedalTableTop}} should be rewrite with {{infobox}}. --Great Brightstar (talk) 11:59, 25 April 2023 (UTC)I introducedchild
parameter for {{MedalTableTop}} as well. -- Great Brightstar (talk) 12:25, 25 April 2023 (UTC)
- Thanks again! Got it. P.I. Ellsworth , ed. put'er there 06:27, 25 April 2023 (UTC)
- 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
- I'll say it's odd! I do follow you, though, and thank you for that. Even inside templates we usually just see the
- That's how you create wikitable syntax inside a template.
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)
- 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)
- It's still unclear what specific changes are being requested. * Pppery * it has begun... 23:45, 15 May 2023 (UTC)
- 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)
- So let me show screenshots to you for the differences between current template and test cases: [3] [4]
- It's still unclear what specific changes are being requested. * Pppery * it has begun... 23:45, 15 May 2023 (UTC)
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)
- 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)
- 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)
Edit request 28 July 2023
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
- Completed. P.I. Ellsworth , ed. put'er there 23:18, 18 August 2023 (UTC)