1,518 bytes added
, 01:40, 5 February 2022
{{Maintenance category}}
{{Hidden category}}
'''Category:Sidebars with styles needing conversion''' is a maintenance category to identify templates and modules using a sidebar with an argument with the word 'style' in it (or the 'width' parameter). The specific parameters are listed at [[Template:Sidebar#Deprecated parameters]]. This category will only appear on templates and modules which do not have the words "testcase", "sandbox", and "doc" in their titles.
These templates should be fixed to use [[Wikipedia:TemplateStyles|TemplateStyles]] ([[Template:Sidebar#TemplateStyles|sidebar documentation]]) using {{para|templatestyles}}, {{para|child templatestyles}}, and {{para|grandchild templatestyles}} where appropriate. See sidebar documentation for some quick rules of thumb.
A specific real conversion example is [[Template:DYK tools]] where the [[Special:Diff/1002727584|styles were moved]] to [[Template:DYK tools/styles.css]].
An example of two kinds of template that will trigger this category is:
<div style="display: flex">
<pre>
{{Sidebar
| title = Title
| style = width: 18em;
}}
</pre>
{{Sidebar
| title = Title
| style = width: 18em; margin-right: 1em
}}
<pre>
{{Sidebar
| title = Title
| headingstyle = background: green;
| heading1 = Header1
| content1 = Content1
}}
</pre>
{{Sidebar
| title = Title
| headingstyle = background: green;
| heading1 = Header1
| content1 = Content1
}}
</div>
[[Category:Templates to be standardized]]
[[Category:Sidebar templates]]