Category:Templates using TemplateStyles to style external elements

This category provides a list of templates that are using TemplateStyles where the primary desire is to style an element lying outside the template of interest. This is a characteristic worth tracking because of statements like:

"Styles included by a template can currently affect content on the page outside of the content generated by that template, but this ability may be removed in the future and should not be relied upon. (See discussion from T155813 and in T176272.)"

in mw:Extension:TemplateStyles, which is reflected locally in TemplateStyles:

"The style must apply only to the associated template's output. It may also apply to highly-relevant nearby wikitext where the template is used. (For example, there are many table templates which should have TemplateStyles which are provided entirely in templates, or which may provide a legend to a wikitext table.) It would otherwise be confusing if adding a template to one part of a page were to completely or partially change the display or styling of an unrelated part of the page."

This use most often arises in the context of ad hoc tables, but has also been used for tables of contents (in most skins).