Template talk:Ambox

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

Testcase "talk= name=foo page=template:foo text=text" and the one directly below it.[edit]

Mr. Stradivarius, I don't know if this is related to the change that was just made to the module or something that has been there for awhile. In Template:Ambox/testcases#talk= name=foo page=template:foo text=text the link to the "talk page" is set to go to section #.23 which is ## decoded... Is that intentional? Technical 13 (talk) 01:22, 27 January 2014 (UTC)

That was like that before, and is actually a feature of MediaWiki, not of the module - see my sandbox for a demonstration. A little more complex is the question of why the ambox template put a hash in the fragment by default. I am assuming that the previous template needed a non-blank value, and the hash sign was a convenient one to use because it is unlikely to be a section heading, but I could be wrong there. — Mr. Stradivarius ♪ talk ♪ 02:01, 27 January 2014 (UTC)

Protected edit request on 20 March 2014[edit]

213.55.73.118 (talk) 21:57, 20 March 2014 (UTC)

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) 22:01, 20 March 2014 (UTC)

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. 96.255.148.25 (talk) 18:18, 13 July 2015 (UTC) (UTC)