Category:Sidebars with styles needing conversion: Difference between revisions
Created automatically by the AutoCreateCategoryPages extension. |
en>Hilst oops, wrong template |
||
| Line 1: | Line 1: | ||
{{Maintenance category|hidden=true}} | |||
{{Backlog|100}} | |||
'''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 {{slink|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"> | |||
<syntaxhighlight lang="wikitext"> | |||
{{Sidebar | |||
| title = Title | |||
| style = width: 18em; | |||
}} | |||
</syntaxhighlight> | |||
{{Sidebar | |||
| title = Title | |||
| style = width: 18em; margin-right: 1em | |||
}} | |||
<syntaxhighlight lang="wikitext"> | |||
{{Sidebar | |||
| title = Title | |||
| headingstyle = background: green; | |||
| heading1 = Header1 | |||
| content1 = Content1 | |||
}} | |||
</syntaxhighlight> | |||
{{Sidebar | |||
| title = Title | |||
| headingstyle = background: green; | |||
| heading1 = Header1 | |||
| content1 = Content1 | |||
}} | |||
</div> | |||
{{Automatic category TOC}} | |||
[[Category:Templates to be standardized]] | |||
[[Category:Sidebar templates]] | |||
Revision as of 19:57, 15 November 2024
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 TemplateStyles (sidebar documentation) using |templatestyles=, |child templatestyles=, and |grandchild templatestyles= where appropriate. See sidebar documentation for some quick rules of thumb.
A specific real conversion example is Template:DYK tools where the styles were moved to Template:DYK tools/styles.css.
An example of two kinds of template that will trigger this category is:
{{Sidebar
| title = Title
| style = width: 18em;
}}| Title |
|---|
{{Sidebar
| title = Title
| headingstyle = background: green;
| heading1 = Header1
| content1 = Content1
}}| Title |
|---|
| Header1 |
| Content1 |
Pages in category "Sidebars with styles needing conversion"
The following 56 pages are in this category, out of 56 total.