Difference between revisions of "Template:Cleanup HTML/doc"
Jump to navigation
Jump to search
imported>SMcCandlish m (SMcCandlish moved page Template:Cleanup-HTML/doc to Template:Cleanup HTML/doc: following move of parent template) |
imported>Beland m (bypass redirect) |
||
| Line 9: | Line 9: | ||
* Additionally, headers should follow [[MOS:HEAD]] instead of <nowiki><h2></h2></nowiki> | * Additionally, headers should follow [[MOS:HEAD]] instead of <nowiki><h2></h2></nowiki> | ||
| − | *It shouldn't be used for all html tags: e.g., <code><nowiki>H<sub>2</sub>O</nowiki></code>. See [[Help:Wikitext | + | *It shouldn't be used for all html tags: e.g., <code><nowiki>H<sub>2</sub>O</nowiki></code>. See [[Help:Wikitext]] for a useful list of common wikitext and non-deprecated HTML tags. |
* <code><nowiki>{{Cleanup-HTML}}</nowiki></code> puts articles into [[:Category:Articles with HTML markup]] and [[:Category:Articles covered by WikiProject Wikify]] | * <code><nowiki>{{Cleanup-HTML}}</nowiki></code> puts articles into [[:Category:Articles with HTML markup]] and [[:Category:Articles covered by WikiProject Wikify]] | ||
Revision as of 16:37, 21 July 2018
| File:Edit-copy green.svg | This is a documentation subpage for Template:Cleanup HTML. It contains usage information, categories and other content that is not part of the original template page. |
Usage
- This cleanup template can be used to tag pages that use HTML markup that can be replaced with wiki markup. This includes bold tags (<b></b>), italics (<i></i>), paragraph (<p></p>), break lines in most cases, tables, etc.
- Examples of how to convert HTML tables to wikimarkup can be found Help:Table#Comparison_of_table_syntax.
- Additionally, headers should follow MOS:HEAD instead of <h2></h2>
- It shouldn't be used for all html tags: e.g.,
H<sub>2</sub>O. See Help:Wikitext for a useful list of common wikitext and non-deprecated HTML tags.
{{Cleanup-HTML}}puts articles into Category:Articles with HTML markup and Category:Articles covered by WikiProject Wikify
- If a date parameter is provided such as
{{Cleanup-HTML|date=January 2026}}then the page is put into a by-month category instead. If the date is left out, a bot will add it later.
- This template is a self reference.
Redirects
- {{Cleanup-Html}}