Template talk:Ambox

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Feature request[edit]

Is it possible that this template produces "The article ..." instead of "This article ..." when used inside the {{multiple issues}} template? (This would require the sect parameter to be used of course.) This would improve the wording when multiple issues are used. — Martin (MSGJ · talk) 10:39, 10 June 2014 (UTC)

@Mr. Stradivarius:, could you advise on this? Thanks — Martin (MSGJ · talk) 13:11, 20 June 2014 (UTC)
Text is not set here. You should ask this at Template talk:Multiple issues. -- [[User:Edokter]] {{talk}} 17:13, 20 June 2014 (UTC)
The text I am talking about is set here (or rather Module:Message box). — Martin (MSGJ · talk) 19:59, 20 June 2014 (UTC)
In that case... Module talk:Message box. :) -- [[User:Edokter]] {{talk}} 22:06, 20 June 2014 (UTC)
We could do this, but we'd have to add a parameter so that we could set it in {{multiple issues}}. Any preferences on parameter naming/format? — Mr. Stradivarius ♪ talk ♪ 01:14, 21 June 2014 (UTC)
That doesn't sound right. Multiple issues does not actually call this template - it just sets up the class="hide-when-compact" which then means that some of the text is not displayed inside it. I'm not sure if we can use class="show-when-compact" which could then be used to display "The" instead of "This". It's a minor issue, so not worth coding anything complicated. Regards — Martin (MSGJ · talk) 13:45, 23 June 2014 (UTC)
Edokter, the message box module powers lots of different message boxes, and this issue is only related to article messages boxes, so I still maintain this is the correct venue :) — Martin (MSGJ · talk) 13:45, 23 June 2014 (UTC)

Amboxes are not shown in mobile version[edit]

In contrast to omboxes, amboxes are not show in the mobile version. The boxes are completely omitted or produce error messages like "There are problems with this page". In the mobile version you can see the source code of these boxes but they are not presented. Do you know why? --RolandUnger (talk) 18:25, 8 November 2014 (UTC)

You can show them by clicking "there are problems with this page". This is done to conserve visual real estate. (some articles otherwise won't start for 2 pages). —TheDJ (talkcontribs) 19:25, 4 March 2015 (UTC)
@TheDJ: Is there any way to override this behavior? On Lunar eclipse there is a helpful box at the top that shows the date of the next eclipse, but this just shows up as "This page has some issues" on the mobile version. 28bytes (talk) 11:53, 25 March 2015 (UTC)
@28bytes: No, there is no way to override this. —TheDJ (talkcontribs) 12:21, 25 March 2015 (UTC)
Do you know if there is a better template to use for this purpose? 28bytes (talk) 12:34, 25 March 2015 (UTC)
Report this as a bug with the mobile site. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:32, 25 March 2015 (UTC)
Thank you Andy, I will do that. 28bytes (talk) 15:47, 25 March 2015 (UTC)
Yes check.svg Done: T93922. 28bytes (talk) 18:08, 25 March 2015 (UTC)
Any content should never be placed in an ambox. Information such as the next eclipse is better served in an infobox (if there is one), or a hatnote (but these are sometimes hidden as well). -- [[User:Edokter]] {{talk}} 19:00, 25 March 2015 (UTC)
I think the default behavior should be overridden for amboxes that allege factual error or say that this article contradicts another article. Also, what of amboxes that appear other than at the very top? If an ambox appears in a section, for example, then the “This article may have issues” notice should appear there, instead of being suppressed. (talk) 18:18, 13 July 2015 (UTC) (UTC)
Is this problem already unsolved? I see it is causing problems in the Ambox page itself:
Wikipedia amboxes not visible in Mobile View.jpg
M. Quijada 13:25, 2 September 2015 (UTC) — Preceding unsigned comment added by Manuel.quijada.serrano (talkcontribs)
@Manuel.quijada.serrano: no, it is part of a more general issue. Any templates that use the following classes are hidden by MobileFrontend: ambox, navbox, vertical-navbox, topicon, metadata, nomobile. See Wikipedia:Village pump (technical)/Archive 138#Navboxes in mobile, phab:T55437 and phab:T68747. --Redrose64 (talk) 14:33, 2 September 2015 (UTC)

Change the color of the "Deletion" tag (not to be confused with the "Speedy Deletion" tag)[edit]

Excuse me, but would it be possible if we could change the color of the "Deletion" tag (maroon) to at least something close to a broad shade of red (a color which does not seem brighter than the used-for-content-messages orange)? I know that we can disambiguate those two tags because the speedy deletion one has a pale red color for its background, but, because they are both maroon on their left, that can confuse us from knowing whether one tag is for speedy deletion or just deletion. This idea of me is just to prevent ambiguity. Gamingforfun365 (talk) 06:37, 19 August 2015 (UTC)

What benefit do you see from distinguishing between the two? And how does that advantage outweigh the increased complexity of a more varied colour scheme? —Psychonaut (talk) 07:43, 20 August 2015 (UTC)
Please don't use the edit protected template for feature requests. Only use it to request uncontroversial changes. -- [[User:Edokter]] {{talk}} 10:54, 20 August 2015 (UTC)

Documentation improvement: sub-templates are not used anymore[edit]

The section #Technical notes states This template calls {{Ambox/core}} or {{ambox/small}} which holds most of the code for {{Ambox}}, while {{Ambox}} itself does parameter preprocessing. → I suppose this is obsolete, the subtemplates /core and /small are unused since the switch to Lua [1].