Wikipedia:Catalogue of CSS classes/Templates

This page is for CSS (and HTML) classes used in templates or in Lua Scribunto modules, when the classes are.

Please do not add:
 * Template classes that are just the template name (or a modification thereof) and serve no purpose but indicating "this class identifies the output of this template". There are literally thousands of these, and in theory every template that has visible output could, maybe even should, have its own class named after the template.
 * Template classes that already appear in site-wide CSS interface pages like MediaWiki:Common.css. These should be listed at WP:Catalogue of CSS classes instead.

Make exceptions for (do add):
 * Template classes named after an original template but also used by other templates.
 * Template classes named after an original template but also intended to be used by other templates (e.g. for a series of templates you are still developing).
 * Template classes named after a template which are part of a series of interacting template classes (e.g. if a wrapper template has class  and some subtemplates use it, but some use variants like   or   they can be listed as part of the   "system".
 * Template classes named after a module, since numerous templates may invoke that module.

Only classes should appear here. Templates should not be using CSS/HTML IDs, only classes, since IDs must be unique on each page and the entire point of templates is that they're used repeatedly (often multiple times on the same page – articles can even have more than one infobox). If you've encountered a template using a fixed ID instead of a class this is probably an error, and you may wish to fix it if you're sure, or raise a discussion about the matter on its talk page.

[list forthcoming, building it in a sandbox. Start with: glossaries, code and key templates, userlinks]