Difference between revisions of "Template:Cleanup HTML/doc"

From blackwiki
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-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]]  
  
* 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.
+
* 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-Html}}
+
* {{Tl|Cleanup Html}}
  
 
<includeonly>
 
<includeonly>

Revision as of 20:33, 27 February 2019

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.
  • 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.
  • 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.

Redirects