{{mbox}} – Has namespace detection, for message boxes that are used on several types of pages thus need to change style depending on what page they are used on.
Template:Imbox 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.
Switch of mbox templates and category handler to Lua
I've made a request over at Template talk:Mbox about switching all of the {{mbox}} family templates, plus the {{category handler}} template, to use Lua modules. These templates have millions of transclusions, so I would appreciate comments and some more eyes on the code. Please let me know what you think over at the request page. — Mr. Stradivarius♪ talk ♪15:10, 15 October 2013 (UTC)[reply]
The following is a closed discussion of a requested move. Please do not modify it. Subsequent comments should be made in a new section on the talk page. Editors desiring to contest the closing decision should consider a move review after discussing it on the closer's talk page. No further edits should be made to this discussion.
Oppose. It's an image 99.9% of the time, and I suspect that if people are using this to insert a sound file or a video, they are terribly misusing this template anyway. SnowFire (talk) 17:20, 25 October 2019 (UTC)[reply]
Oppose. Template:MmboxTemplate:Mmbox currently redirects to Template:Mbox, likely as a plausible typo. It is convenient to have those message box meta-templates start with a different letter, especially when maintaining Module:Message box, the lua module generating them. I suppose Module:Message box could still work without modifying all those lines, but it would be inconsistent if the module still refers to the template as "imbox". And since both Image: and Media: prefixes still are aliases to the File namespace, I do not see a significant advantage. Zzyzx11 (talk) 06:31, 26 October 2019 (UTC)[reply]
The above discussion is preserved as an archive of a requested move. Please do not modify it. Subsequent comments should be made in a new section on this talk page or in a move review. No further edits should be made to this section.
type=license = class=licensetpl?
Currently (since Mr. Stradivarius’s edit completing the edit request of Guillaume (WMF)) the template sets class="licensetpl" if the type parameter is license. This is not always the case, as also non-copyright restriction templates (like {{Insignia}}, {{Trademark}} or {{Brands of the World SVG}}) use this type. The presence of the class causes files like File:Access Air logo.svg with sufficient license template (containing required metadata) to lose this information and end up in Category:Files with no machine-readable license. As probably most templates with this type are license templates indeed, I think the best solution would be adding a new type (e.g. licenselike) which would have the exact same styling but without the licensetpl CSS class, and then going through all usages and fix the ones that aren’t license templates. (I didn’t create a formal edit request, as I’m not 100% sure this would be the best solution. I’m open to other ideas.) —Tacsipacsi (talk) 19:54, 16 March 2020 (UTC)[reply]
Template-protected edit request on 24 April 2023
This edit request has been answered. Set the |answered= parameter to no to reactivate your request.
The left images in these imboxes (and maybe all message boxes) don't always appear on mobile wikipedia. It seems to depend on the size of the image - if it's too wide it just disappears. Look at this page on mobile and you should see the featured example and all the ones in "Other images" dont have any images. No idea what's causing it, though maybe having something like Wikimedia Commons's imboxes where the left images moved to the top in mobile view would be a general improvement? like you can see here. (if this would go better on the module page I'll move it there) Ringtail Raider (talk) 23:02, 24 March 2025 (UTC)[reply]