Difference between revisions of "Template:Cleanup HTML/doc"
Jump to navigation
Jump to search
imported>Beland m (bypass redirect) |
imported>Beland (take out dashes) |
||
| Line 11: | Line 11: | ||
*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. | *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 | + | * <code><nowiki>{{Cleanup HTML}}</nowiki></code> puts articles into [[:Category:Articles with HTML markup]] and [[:Category:Articles covered by WikiProject Wikify]] |
| − | * If a date parameter is provided such as <code><nowiki>{{</nowiki>Cleanup | + | * If a date parameter is provided such as <code><nowiki>{{</nowiki>Cleanup HTML|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></code> then the page is put into a by-month category instead. If the date is left out, a [[Wikipedia:Bot|bot]] will add it later. |
* This template is a [[Wikipedia:Self-references to avoid|self reference]]. | * This template is a [[Wikipedia:Self-references to avoid|self reference]]. | ||
== Redirects == | == Redirects == | ||
| − | * {{Tl|Cleanup | + | * {{Tl|Cleanup Html}} |
<includeonly> | <includeonly> | ||
Revision as of 20:33, 27 February 2019
| 40px | 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}}