Template talk:Ambox
| This is the talk page for discussing improvements to the Ambox template. |
|
| Template:Ambox is indefinitely protected from editing as 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. |
| On 10 February 2025, it was proposed that this page be moved to Template:Article message box. The result of the discussion was No consensus. |
Fix stripe and bg color in dark mode
editThis edit request to Module:Message box/ambox.css has been answered. Set the |answered= parameter to no to reactivate your request. |
Please replace with the sandbox version, which unfortunately has to introduce specificity and !important. Since this is a templatestyles change, every single box at TM:Ambox/testcases has the new, sandbox styles; please compare https://web.archive.org/web/20250729115619/https://en.wikipedia.org/wiki/Template:Ambox/testcases . Aaron Liu (talk) 03:44, 11 August 2025 (UTC)
- The tests look like an improvement to me. Thanks for including the archive.org link, which shows the side stripes in gray instead of the desired colors. Since this request is so new, I will leave this open for a day or two for other template editors to examine or implement. – Jonesey95 (talk) 05:19, 11 August 2025 (UTC)
Done (Jonesey95, the page is full protected and you're not an admin so you couldn't do it yourself). * Pppery * it has begun... 00:01, 12 August 2025 (UTC)
Undone Since this request seems to have caused Wikipedia:Village pump (technical)#Coptic identity: Maintenance template has extra orange stripe. * Pppery * it has begun... 01:38, 12 August 2025 (UTC)
- I would also prefer not to fix this now even ignoring the broken, see particularly phab:T365330 as part of MediaWiki talk:Common.css/to do#Dark mode: metadata. Dropping !importants on stuff really is not nice in the slightest and the appropriate fix is for upstream to adjust. Izno (talk) 02:49, 12 August 2025 (UTC)
- Andddd I'd also guess the importants may impact mobile hacking at how amboxes are presented. IOW this is a bad change. Izno (talk) 03:37, 12 August 2025 (UTC)
- Got it, I've filed Phab:T401872 for removing the !important-s instead since I couldn't find a template that needed it. Aaron Liu (talk) 22:04, 13 August 2025 (UTC)
CSS instead of tables
editCategory:Article message templates with missing parameters applied in a way that appears not to match the documentation
editAt Template:Not a test, the category Category:Article message templates with missing parameters is applied, even though |subst= is present in the template. Is there are a problem with {{Not a test}}, a problem with the Module code, or a problem with the category description? Or something else? – Jonesey95 (talk) 22:30, 23 October 2025 (UTC)
- Module:Message box wants all three mentioned parameters to be present: see function
setTemplateCategories. Template:Not a test has|subst=, but it is missing|issue=and|fix=. - As per the description of the category, one or more of the listed parameters are not used by Template:Not a test, so the template is in it.
- Does this change to the category description help: Special:Diff/1188371801/1318463854? —andrybak (talk) 01:06, 24 October 2025 (UTC)
- Thanks. I don't know why these would all be required, but I have updated the documentation. – Jonesey95 (talk) 12:35, 24 October 2025 (UTC)
Mobile view shows two arrows going in different directions instead of the intended icon
editAn editor pointed out at Template talk:AI-generated#Template-protected edit request on 6 March 2026 that when you look at Foreign relations of Finland in mobile view, the amboxes show two orange arrows going in different directions as icons instead of the intended icons (a robot torso for AI-generated, and a puzzle piece for Empty section). I see an old (2018–2019) note on the /doc page about amboxes showing differently on mobile, and I see a note in the talk page archives about them not showing at all before that, but I do not see any recent information about changes that would make amboxes show a completely wrong icon (two arrows) instead of either the correct icon or a generic "attention" or "information" icon. – Jonesey95 (talk) 13:00, 7 March 2026 (UTC)
- Looks like gerrit:1127645 got the "icon-issue-severity-medium.svg" and "icon-issue-type-move.svg" images swapped. Anomie⚔ 16:13, 7 March 2026 (UTC)
- Wow, impressive detective work. I have submitted T419319. – Jonesey95 (talk) 17:06, 7 March 2026 (UTC)