![]() | Categories | |||
|
![]() | Message box standardisation
Here are some useful pages:
Meta pages:
|
![]() |
Template:Cmbox 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 protected}} to notify an administrator 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. |
|
|
Pages that list message boxes that use the {{ cmbox}}:
The {{ cmbox}} template was previously named {{catbox}} and {{cambox}}, older comments on this talkpage use those names.
This is the "category message box" meta-template. It works similarly to {{ ambox}} (article message boxes}} and {{ imbox}} (image space message boxes). So I started this template under the name {{ catbox}}. My second choice was {{ cambox}} but I think the word "cam" might sound too much like "camera". David Levy didn't like the name "catbox" so he moved this template to {{ cmbox}}. I don't like "cmbox" since it is hard to pronounce and the name doesn't remind of "category". And yes "catbox" also has another meaning, but I know that most Wikipedians like both cats and categories.
So what should we call this template?
Or something else?
-- David Göthberg ( talk) 21:34, 29 April 2008 (UTC)
{{
cmbox}}
for consistency with the {{
ambox}}
/{{
imbox}}
convention.
Happy‑
melon
15:32, 4 May 2008 (UTC){{cmbox}}
as I'd find it easier to remember, as it follows the pattern. They can all be redirects, and we can write on the documentation that they can be used, depending on which you prefer. Many thanks,
Drum guy (
talk)
20:16, 4 May 2008 (UTC)
{{
ambox}}
doesn't have any redirects to it. We should decide on one name, and stick with it. Come on, it's a bloody meta-template, how hard can it be :D
Happy‑
melon
21:05, 4 May 2008 (UTC)
Since it came up above: Right, we should not use redirected names in the code of the message boxes that use this meta-template. That is one of the reasons why I did put this question up immediately when I realised there might be a name issue. So we should not mention the redirects in the documentation and perhaps even fix all pages that link to the redirects and then delete the redirects. I'll wait a little more before I move these pages to the name that seems to be the consensus above.
-- David Göthberg ( talk) 21:20, 4 May 2008 (UTC)
I wish we could use this (or something similar, since mainspace has a nearly white page, as opposed to category pages' blue page) for the two delete options for ambox : ) - jc37 14:48, 1 May 2008 (UTC)
All deletion templates (Speedy and CFD/CFM/CFR/etc.) should have pink backgrounds.
As a discussable option, perhaps the Speedy template could be differentiated by the thickness or colour of the border. But I strongly oppose the shading being changed contrary to long-standing consensus and convention. - jc37 04:33, 2 May 2008 (UTC)
Here are colours with higher saturation (looks clearer and happier to me). And with better contrast between the delete and move colours:
speedy |
delete |
content |
style |
notice |
move |
protection |
This is the one I prefer now. Sorry for all the different versions, but I am a bit slow when working with colours. So, what do you people think?
-- David Göthberg ( talk) 15:56, 2 May 2008 (UTC)
On this bright MacBook screen, the "move" colour is barely visible from some angles, including some common viewing angles. It should probably be slightly darker. In addition, although blues are tricky, the "notice" colour appears more cyan than blue to me (and I would suggest that a "bluer" blue is preferable). In addition, I find it hard to discern the "content" and "style" types at a glance by colour alone. I hope this doesn't sound too negative - I just want to make sure that the colours are obvious to everyone. Nihiltres{ t. l} 18:10, 4 May 2008 (UTC)
I have announced this message box standardisation effort on many talk pages and on two of the Village pumps. But I would like that more editors came here and voiced their opinions before we deploy this. So how about putting up a watchlist message? (That's a message that all editors will see on top of their watchlist for say a day or so.) After we deployed the ambox many editors said we should have made a watchlist message.
-- David Göthberg ( talk) 17:26, 3 May 2008 (UTC)
I'm having a little difficulty with exactly what this is supposed to be standardising. Can someone whip up a quick example of a message one would be likely to see on a category if this is implemented? Muchas gracias, Skomorokh 15:07, 4 May 2008 (UTC)
![]() | Pages in this category should be moved to subcategories where applicable. This category may require frequent maintenance to avoid becoming too large. It should directly contain very few, if any, pages and should mainly contain subcategories. |
I think they all need borders (maybe 3px, a darker shade of the background) to standardise them properly. I think it would make them cleaner as well. I'll come back with some examples when I've made them...... Dendodge. Talk Help 15:45, 4 May 2008 (UTC)
speedy |
delete |
content |
style |
notice |
move |
protection |
Could do with some refinement but...... Dendodge. Talk Help 17:10, 4 May 2008 (UTC)
I hate to say it but I do not like these boxes. They are just too simple. There is no other text than the initial word. What is the reason for the simplification? Experienced people on Wiki will know what they mean but new members won't have any idea why something says "delete" "move" and such.
Vala M ( talk) 15:56, 4 May 2008 (UTC)
That's good to know. I think they are fine then if there is going to be text in them like before.
Vala M ( talk) 23:17, 4 May 2008 (UTC)
{{
db-c1}}
will look like the "speedy" cmbox style below (while still having all the text and content from the {{
db-c1}}
template. None of the actual messages will change, only the appearance of the templates. You might want to have a look at the iconic pre/post ambox standardisation image:
Image:NewbieTags.PNG - that's what article message boxes looked like before we standardised them on ambox. It's the same principle here.
Happy‑
melon
08:32, 5 May 2008 (UTC)Based on feedback from people on this page, here is a fourth colour set. The differences are really very tiny.
speedy |
delete |
content |
style |
notice |
move |
protection |
-- David Göthberg ( talk) 02:19, 5 May 2008 (UTC)
Perhaps we can copy this:
table.navbox + table.navbox { margin-top:-1px; /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */ }
from navbox and add it for ambox and cmbox ? -- TheDJ ( talk • contribs) 14:34, 6 May 2008 (UTC)
table.ambox-sandbox + table.ambox-sandbox { margin-top:-1px; }
Would it be a good idea to consider a more goldish background for full protection and a more silvery one for semi protection? Just an idea...... Dendodge. Talk Help 15:18, 6 May 2008 (UTC)
How close are we to being ready to implement this template? I think there's still a fair amount of discussion to be had over at {{
imbox}}
, but we seem to be pretty much done here, and having some delay between the two implementations wouldn't go amiss, from a server-load perspective. Thoughts on what else needs doing?
Happy‑
melon
15:46, 8 May 2008 (UTC)
Hold on folks... I see there's a truckload of inline CSS in the template, using a lot of server intensive #switch selectors to implement it. I'd feel better putting the CSS in common.css. — Edokter • Talk • 21:47, 9 May 2008 (UTC)
To help distinguish between Speedy and Normal deletions at a glance, in addition to the border, I have created
Image:Ambox speedy delete.png, which comes out as:
. What do you think?......
Dendodge ..
Talk
Help 17:13, 8 May 2008 (UTC) --......
Dendodge ..
Talk
Help
17:17, 8 May 2008 (UTC)
We are now deploying the {{ cmbox}}. That is, feel free to convert any message boxes used on category pages to use the cmbox. But when you do so you might stumble on some tricky cases. Then list them here and we'll help you!
For instance, you might find protected templates that only admins can edit. Then please don't do {{editprotected}} requests for them, instead list them here. Several admins that are interested in this are watching this page.
And you will probably find boxes for which you are not sure which type (colour) to use. Then list them here and we'll discuss them.
-- David Göthberg ( talk) 21:46, 9 May 2008 (UTC)
I attempted to restore the centring of the text, and not only did that not work, I lost the background shading. Help? : ) - jc37 02:53, 10 May 2008 (UTC)
It is an mentioned in the main page here as an example for style class, yet it is still in the old style. I cannot edit it, for it is protected. So far I have edited {{ verylarge}} and {{ categoryredirect}}, and I have changed the image of {{ Categorisation of people disputed}} to the default; I really don't like that hand. I've also edited {{ Cfdnotice}}, but I the list won't show the differences. I've purged the cache, and I've even tried a dummy edit, but nothing has happened. I wonder if it is just a matter of time.
On another note, where are we supposed to use central alignment? Any pointers? I've seen that it looks well in one template with three separate lines, but in the other cases left alignment seems better.
Anyway, this wraps Wikipedia:Template messages/Category namespace. Very few message boxes there... Now it's the turn of the relevant categories, I suppose, although the search will be a tedious one. Waltham, The Duke of 09:31, 10 May 2008 (UTC)
Check out the meta-template {{ category other}} and how I used it in for instance the code for {{ CatDiffuse}}.
The templates at Wikipedia:Template messages/Category namespace used to add a lot of categories to the bottom of that page. Now instead they have a text under them stating: "This template should only be used on category pages."
This will prevent that any pages that demonstrate or list those templates (often user pages) will end up in the categories that those templates auto-add. So I think it is better to use {{
category other}} than the <includeonly>
tags.
-- David Göthberg ( talk) 16:34, 10 May 2008 (UTC)
I have now added the cmbox CSS classes to MediaWiki:Common.css.
Due to caching of the style sheet in the web browsers we can not use these classes in the cmbox template until 13 June. Until then cmbox has to continue to use hardcoded styles. But we can use the classes for testing in the {{ cmbox/sandbox}}.
If anyone wants to have a look at the classes they are easier to view and there is some explanation at MediaWiki talk:Common.css#Ambox, imbox and cmbox.
-- David Göthberg ( talk) 02:52, 13 May 2008 (UTC)
Done - The {{
cmbox}} is now using the cmbox CSS classes in
MediaWiki:Common.css, which means it is now fully skinnable. --
David Göthberg (
talk)
13:41, 17 June 2008 (UTC)
I stumbled across Category:Images employing ClearType and noticed that the table (which has the two images in it) overlaps the cmbox template by a pixel. I am using FF3b5. Not a huge deal, but a little distracting. It seems to be specific to cmbox followed immediately by a table. - AWeenieMan ( talk) 19:52, 13 May 2008 (UTC)
I think we should add some top and bottom margin to the {{ cmbox}}. I have now seen the cmbox in use for some time and I think it is slightly confusing and ugly when several category message boxes stack tightly together. It makes it less obvious that they are separate messages.
See for instance Category:Images that should be in SVG format. (Not the worst example, but right now I couldn't find the really nasty cases.)
Also, adding some margin will solve problems of the kind that AWeenieMan pointed out above. The boxes currently do stack too tightly against other content, especially other boxes that also do not use margins.
Here's an example:
![]() | This is the current style. See how tightly they stack. |
![]() | Almost looks like it is one message. |
Some text in between.
![]() | And here I use 3px top and bottom margin. |
![]() | Much nicer, isn't it? |
Some text below.
-- David Göthberg ( talk) 07:31, 20 August 2008 (UTC)
{{
ambox}}
as the only box in the series that stacks, which is a shame, in a way. But it does look better, certainly when you have multiple boxes of the same type adjacent to each other.
Happy‑
melon
09:16, 20 August 2008 (UTC)Whoa... I had a terrible time finding this template. The only reason I didn't give up was because I knew for certain that it existed -- I just couldn't recall the name! So it would really help if it was listed in
Category:Category namespace templates. (Not being an admin, I couldn't do it myself.)
What might help even more would be a better name, something that might actually hint at it's use, rather than the current unduly cryptic name. I rather liked the old name (Catbox), which had the virtue of imparting a hint of what it was for. I suppose Catmessbox wouldn't fly, either. :) So how about Catmsgbox (or at least Catmbox)? Cgingold ( talk) 02:24, 14 July 2008 (UTC)
I would like to change the code for the left image cell so it works the same as for the tmbox/imbox/ombox/fmbox. That is so it allows images any size. My main reason for this is that it means this template will use the same kind of template code as tmbox/imbox/ombox and the same kind of CSS code. (Currently it uses code that is somewhere between the ambox and the rest of the mboxes.) This will also save some code size in MediaWiki:Common.css, which will mean faster page load for visitors to Wikipedia.
We originally choose the fixed cell size for the left image so that when several of these boxes are stacked on top of each other the left border of the text in the text cell will line up neatly. However it is fairly unusual that a category has several of these boxes. And since then we have added some space between these boxes when they stack, thus how the text aligns isn't as visible anymore.
Another reason was to prevent abuse of the left image. However as we now have seen for the tmbox/imbox/ombox people don't abuse the left image and never insert huge images there.
If/when we do this change I intend to hard-code the margins in the template for 31 days. Otherwise it will look pretty bad for many users due to that the Wikipedia CSS files are set to cache for 31 days in the web browsers. (This is our standard solution when doing updates to the CSS code.) Thus the transition will be smooth.
-- David Göthberg ( talk) 18:57, 1 October 2008 (UTC)
Please see Wikipedia:Village pump (proposals)#Message box categories. Thanks. Dragons flight ( talk) 07:00, 3 June 2009 (UTC)
{{
editprotected}}
Some of the {{
cmbox}} family of templates would be better off with being small and to the right. In order to allow this functionality I think the line :
needs to added. -- Alan Liefting ( talk) - 20:12, 11 September 2011 (UTC)
Please see centralised discussion at Wikipedia talk:Manual of Style/Article message boxes#Classes. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 10:22, 29 November 2011 (UTC)
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)
![]() | Categories | |||
|
![]() | Message box standardisation
Here are some useful pages:
Meta pages:
|
![]() |
Template:Cmbox 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 protected}} to notify an administrator 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. |
|
|
Pages that list message boxes that use the {{ cmbox}}:
The {{ cmbox}} template was previously named {{catbox}} and {{cambox}}, older comments on this talkpage use those names.
This is the "category message box" meta-template. It works similarly to {{ ambox}} (article message boxes}} and {{ imbox}} (image space message boxes). So I started this template under the name {{ catbox}}. My second choice was {{ cambox}} but I think the word "cam" might sound too much like "camera". David Levy didn't like the name "catbox" so he moved this template to {{ cmbox}}. I don't like "cmbox" since it is hard to pronounce and the name doesn't remind of "category". And yes "catbox" also has another meaning, but I know that most Wikipedians like both cats and categories.
So what should we call this template?
Or something else?
-- David Göthberg ( talk) 21:34, 29 April 2008 (UTC)
{{
cmbox}}
for consistency with the {{
ambox}}
/{{
imbox}}
convention.
Happy‑
melon
15:32, 4 May 2008 (UTC){{cmbox}}
as I'd find it easier to remember, as it follows the pattern. They can all be redirects, and we can write on the documentation that they can be used, depending on which you prefer. Many thanks,
Drum guy (
talk)
20:16, 4 May 2008 (UTC)
{{
ambox}}
doesn't have any redirects to it. We should decide on one name, and stick with it. Come on, it's a bloody meta-template, how hard can it be :D
Happy‑
melon
21:05, 4 May 2008 (UTC)
Since it came up above: Right, we should not use redirected names in the code of the message boxes that use this meta-template. That is one of the reasons why I did put this question up immediately when I realised there might be a name issue. So we should not mention the redirects in the documentation and perhaps even fix all pages that link to the redirects and then delete the redirects. I'll wait a little more before I move these pages to the name that seems to be the consensus above.
-- David Göthberg ( talk) 21:20, 4 May 2008 (UTC)
I wish we could use this (or something similar, since mainspace has a nearly white page, as opposed to category pages' blue page) for the two delete options for ambox : ) - jc37 14:48, 1 May 2008 (UTC)
All deletion templates (Speedy and CFD/CFM/CFR/etc.) should have pink backgrounds.
As a discussable option, perhaps the Speedy template could be differentiated by the thickness or colour of the border. But I strongly oppose the shading being changed contrary to long-standing consensus and convention. - jc37 04:33, 2 May 2008 (UTC)
Here are colours with higher saturation (looks clearer and happier to me). And with better contrast between the delete and move colours:
speedy |
delete |
content |
style |
notice |
move |
protection |
This is the one I prefer now. Sorry for all the different versions, but I am a bit slow when working with colours. So, what do you people think?
-- David Göthberg ( talk) 15:56, 2 May 2008 (UTC)
On this bright MacBook screen, the "move" colour is barely visible from some angles, including some common viewing angles. It should probably be slightly darker. In addition, although blues are tricky, the "notice" colour appears more cyan than blue to me (and I would suggest that a "bluer" blue is preferable). In addition, I find it hard to discern the "content" and "style" types at a glance by colour alone. I hope this doesn't sound too negative - I just want to make sure that the colours are obvious to everyone. Nihiltres{ t. l} 18:10, 4 May 2008 (UTC)
I have announced this message box standardisation effort on many talk pages and on two of the Village pumps. But I would like that more editors came here and voiced their opinions before we deploy this. So how about putting up a watchlist message? (That's a message that all editors will see on top of their watchlist for say a day or so.) After we deployed the ambox many editors said we should have made a watchlist message.
-- David Göthberg ( talk) 17:26, 3 May 2008 (UTC)
I'm having a little difficulty with exactly what this is supposed to be standardising. Can someone whip up a quick example of a message one would be likely to see on a category if this is implemented? Muchas gracias, Skomorokh 15:07, 4 May 2008 (UTC)
![]() | Pages in this category should be moved to subcategories where applicable. This category may require frequent maintenance to avoid becoming too large. It should directly contain very few, if any, pages and should mainly contain subcategories. |
I think they all need borders (maybe 3px, a darker shade of the background) to standardise them properly. I think it would make them cleaner as well. I'll come back with some examples when I've made them...... Dendodge. Talk Help 15:45, 4 May 2008 (UTC)
speedy |
delete |
content |
style |
notice |
move |
protection |
Could do with some refinement but...... Dendodge. Talk Help 17:10, 4 May 2008 (UTC)
I hate to say it but I do not like these boxes. They are just too simple. There is no other text than the initial word. What is the reason for the simplification? Experienced people on Wiki will know what they mean but new members won't have any idea why something says "delete" "move" and such.
Vala M ( talk) 15:56, 4 May 2008 (UTC)
That's good to know. I think they are fine then if there is going to be text in them like before.
Vala M ( talk) 23:17, 4 May 2008 (UTC)
{{
db-c1}}
will look like the "speedy" cmbox style below (while still having all the text and content from the {{
db-c1}}
template. None of the actual messages will change, only the appearance of the templates. You might want to have a look at the iconic pre/post ambox standardisation image:
Image:NewbieTags.PNG - that's what article message boxes looked like before we standardised them on ambox. It's the same principle here.
Happy‑
melon
08:32, 5 May 2008 (UTC)Based on feedback from people on this page, here is a fourth colour set. The differences are really very tiny.
speedy |
delete |
content |
style |
notice |
move |
protection |
-- David Göthberg ( talk) 02:19, 5 May 2008 (UTC)
Perhaps we can copy this:
table.navbox + table.navbox { margin-top:-1px; /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */ }
from navbox and add it for ambox and cmbox ? -- TheDJ ( talk • contribs) 14:34, 6 May 2008 (UTC)
table.ambox-sandbox + table.ambox-sandbox { margin-top:-1px; }
Would it be a good idea to consider a more goldish background for full protection and a more silvery one for semi protection? Just an idea...... Dendodge. Talk Help 15:18, 6 May 2008 (UTC)
How close are we to being ready to implement this template? I think there's still a fair amount of discussion to be had over at {{
imbox}}
, but we seem to be pretty much done here, and having some delay between the two implementations wouldn't go amiss, from a server-load perspective. Thoughts on what else needs doing?
Happy‑
melon
15:46, 8 May 2008 (UTC)
Hold on folks... I see there's a truckload of inline CSS in the template, using a lot of server intensive #switch selectors to implement it. I'd feel better putting the CSS in common.css. — Edokter • Talk • 21:47, 9 May 2008 (UTC)
To help distinguish between Speedy and Normal deletions at a glance, in addition to the border, I have created
Image:Ambox speedy delete.png, which comes out as:
. What do you think?......
Dendodge ..
Talk
Help 17:13, 8 May 2008 (UTC) --......
Dendodge ..
Talk
Help
17:17, 8 May 2008 (UTC)
We are now deploying the {{ cmbox}}. That is, feel free to convert any message boxes used on category pages to use the cmbox. But when you do so you might stumble on some tricky cases. Then list them here and we'll help you!
For instance, you might find protected templates that only admins can edit. Then please don't do {{editprotected}} requests for them, instead list them here. Several admins that are interested in this are watching this page.
And you will probably find boxes for which you are not sure which type (colour) to use. Then list them here and we'll discuss them.
-- David Göthberg ( talk) 21:46, 9 May 2008 (UTC)
I attempted to restore the centring of the text, and not only did that not work, I lost the background shading. Help? : ) - jc37 02:53, 10 May 2008 (UTC)
It is an mentioned in the main page here as an example for style class, yet it is still in the old style. I cannot edit it, for it is protected. So far I have edited {{ verylarge}} and {{ categoryredirect}}, and I have changed the image of {{ Categorisation of people disputed}} to the default; I really don't like that hand. I've also edited {{ Cfdnotice}}, but I the list won't show the differences. I've purged the cache, and I've even tried a dummy edit, but nothing has happened. I wonder if it is just a matter of time.
On another note, where are we supposed to use central alignment? Any pointers? I've seen that it looks well in one template with three separate lines, but in the other cases left alignment seems better.
Anyway, this wraps Wikipedia:Template messages/Category namespace. Very few message boxes there... Now it's the turn of the relevant categories, I suppose, although the search will be a tedious one. Waltham, The Duke of 09:31, 10 May 2008 (UTC)
Check out the meta-template {{ category other}} and how I used it in for instance the code for {{ CatDiffuse}}.
The templates at Wikipedia:Template messages/Category namespace used to add a lot of categories to the bottom of that page. Now instead they have a text under them stating: "This template should only be used on category pages."
This will prevent that any pages that demonstrate or list those templates (often user pages) will end up in the categories that those templates auto-add. So I think it is better to use {{
category other}} than the <includeonly>
tags.
-- David Göthberg ( talk) 16:34, 10 May 2008 (UTC)
I have now added the cmbox CSS classes to MediaWiki:Common.css.
Due to caching of the style sheet in the web browsers we can not use these classes in the cmbox template until 13 June. Until then cmbox has to continue to use hardcoded styles. But we can use the classes for testing in the {{ cmbox/sandbox}}.
If anyone wants to have a look at the classes they are easier to view and there is some explanation at MediaWiki talk:Common.css#Ambox, imbox and cmbox.
-- David Göthberg ( talk) 02:52, 13 May 2008 (UTC)
Done - The {{
cmbox}} is now using the cmbox CSS classes in
MediaWiki:Common.css, which means it is now fully skinnable. --
David Göthberg (
talk)
13:41, 17 June 2008 (UTC)
I stumbled across Category:Images employing ClearType and noticed that the table (which has the two images in it) overlaps the cmbox template by a pixel. I am using FF3b5. Not a huge deal, but a little distracting. It seems to be specific to cmbox followed immediately by a table. - AWeenieMan ( talk) 19:52, 13 May 2008 (UTC)
I think we should add some top and bottom margin to the {{ cmbox}}. I have now seen the cmbox in use for some time and I think it is slightly confusing and ugly when several category message boxes stack tightly together. It makes it less obvious that they are separate messages.
See for instance Category:Images that should be in SVG format. (Not the worst example, but right now I couldn't find the really nasty cases.)
Also, adding some margin will solve problems of the kind that AWeenieMan pointed out above. The boxes currently do stack too tightly against other content, especially other boxes that also do not use margins.
Here's an example:
![]() | This is the current style. See how tightly they stack. |
![]() | Almost looks like it is one message. |
Some text in between.
![]() | And here I use 3px top and bottom margin. |
![]() | Much nicer, isn't it? |
Some text below.
-- David Göthberg ( talk) 07:31, 20 August 2008 (UTC)
{{
ambox}}
as the only box in the series that stacks, which is a shame, in a way. But it does look better, certainly when you have multiple boxes of the same type adjacent to each other.
Happy‑
melon
09:16, 20 August 2008 (UTC)Whoa... I had a terrible time finding this template. The only reason I didn't give up was because I knew for certain that it existed -- I just couldn't recall the name! So it would really help if it was listed in
Category:Category namespace templates. (Not being an admin, I couldn't do it myself.)
What might help even more would be a better name, something that might actually hint at it's use, rather than the current unduly cryptic name. I rather liked the old name (Catbox), which had the virtue of imparting a hint of what it was for. I suppose Catmessbox wouldn't fly, either. :) So how about Catmsgbox (or at least Catmbox)? Cgingold ( talk) 02:24, 14 July 2008 (UTC)
I would like to change the code for the left image cell so it works the same as for the tmbox/imbox/ombox/fmbox. That is so it allows images any size. My main reason for this is that it means this template will use the same kind of template code as tmbox/imbox/ombox and the same kind of CSS code. (Currently it uses code that is somewhere between the ambox and the rest of the mboxes.) This will also save some code size in MediaWiki:Common.css, which will mean faster page load for visitors to Wikipedia.
We originally choose the fixed cell size for the left image so that when several of these boxes are stacked on top of each other the left border of the text in the text cell will line up neatly. However it is fairly unusual that a category has several of these boxes. And since then we have added some space between these boxes when they stack, thus how the text aligns isn't as visible anymore.
Another reason was to prevent abuse of the left image. However as we now have seen for the tmbox/imbox/ombox people don't abuse the left image and never insert huge images there.
If/when we do this change I intend to hard-code the margins in the template for 31 days. Otherwise it will look pretty bad for many users due to that the Wikipedia CSS files are set to cache for 31 days in the web browsers. (This is our standard solution when doing updates to the CSS code.) Thus the transition will be smooth.
-- David Göthberg ( talk) 18:57, 1 October 2008 (UTC)
Please see Wikipedia:Village pump (proposals)#Message box categories. Thanks. Dragons flight ( talk) 07:00, 3 June 2009 (UTC)
{{
editprotected}}
Some of the {{
cmbox}} family of templates would be better off with being small and to the right. In order to allow this functionality I think the line :
needs to added. -- Alan Liefting ( talk) - 20:12, 11 September 2011 (UTC)
Please see centralised discussion at Wikipedia talk:Manual of Style/Article message boxes#Classes. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 10:22, 29 November 2011 (UTC)
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)