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

From blackwiki
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 examples]] 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]]  

Revision as of 16:37, 21 July 2018

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