On 04/03/13 23:52, Steve VanSlyck wrote:
No, it's not based on namespace. Here the
namespace is template but
these are the doc subpages. See, for example, how the coloring on
http://en.wikipedia.org/wiki/Template:Mbox/doc carries over with
documentation transcluded on
http://en.wikipedia.org/wiki/Template:Mbox
. That's what I'm trying to do.
So it's not the actual page what you're trying to color, but its
transclusion in «Template documentation»
Copy in [[MediaWiki:Common.css]] this excerpt from
http://en.wikipedia.org/wiki/MediaWiki:Common.css
/* For template documentation */
.template-documentation {
clear: both;
margin: 1em 0 0 0;
border: 1px solid #aaa;
background-color: #ecfcf4;
padding: 1em;
}