User:Intgr/template styling

This was my little project for making it possible to override Wikipedia template styles and colors in users' custom stylesheets, in a (hopefully) consistent manner. It has been discontinued for now &mdash; the world won and I lost, and gave up to a black-on-white color scheme. However, if anyone is interested, there is still a chance of reviving the project. If you wish to participate in the project or comment on it, feel free to contact me on the talk page, User talk:Intgr/template styling, or my personal talk, User talk:Intgr.

For the initial discussion that led to this, see User talk:Intgr/template styling. Also, Don't worry about performance.

Background
The project grew out of my switching to a white-on-black (that is, white text on black background) color scheme on my computer. I found it to be more ergonomic, and subsequently attempted writing a custom user stylesheet, but ended up being frustrated with templates that only override background color, while assuming that the text color is black &mdash; resulting in unreadable "white on white" text (a very common problem with these kinds of color schemes).

I discussed the problem on the Wikipedia village pump and hoped to find some sympathizers. I did not find sympathizers, but people seemed to agree that merely adding class attributes to template elements would not be intrusive.

For anyone who would like to try out my stylesheet, it's at User:Intgr/standard.css (intended for the "Classic" theme). Yes, it's ugly, but it's better than staring at a lightbulb. ;)

Table cell templates
These templates are normally used in comparison tables. See also: Template:Table cell templates.

Class: messagebox-yellow
Messageboxes with an inner table that has a yellow background.


 * unencyclopedic
 * totally-disputed-section

Class: messagebox-beige
Messageboxes with an inner table that has a beige background.


 * disputed
 * disputed-section
 * POV-section

Cascade-protected:


 * totally-disputed

Protected:


 * POV
 * NowCommons

Class: messagebox-white

 * Template:MathWorld documentation

Medium-priority

 * moveoptions

Low-priority

 * Template:AfD in 3 steps