Template:Cleanup HTML/doc: Difference between revisions

Content deleted Content added
created
 
 
(27 intermediate revisions by 15 users not shown)
Line 2:
 
== Usage ==
* This cleanup template can be used to tag pages that use [[Help:HTML_in_wikitext|HTML markup]] that can be replaced with [[Help:Wikitext|wiki markup]].
 
* <code><nowiki>{{Cleanup HTML}}</nowiki></code> puts articles into [[:Category:Articles with HTML markup]] and [[:Category:Articles covered by WikiProject Wikify]]
* This cleanup template can be used to tag pages that use [[Html markup]] that can be replaced with [[wiki markup]]. This includes bold tags (<nowiki><b></b></nowiki>), italics (<nowiki><i></i></nowiki>), paragraph (<nowiki><p></p></nowiki>), break lines in most cases, tables, etc.
* An unnamed parameter will replace the word "article" in the alert box message — <code><nowiki>{{Cleanup HTML|section}}</nowiki></code> changes the message to start "This section uses HTML markup".
 
* When adding to a page, it is helpful to other editors to specify which tags are unwanted, like this: <code><nowiki>{{Cleanup-cleanup HTML|tags=table, tr, td}}</nowiki></code> puts articlesThese intotags [[:Category:Articleswill thatbe needdisplayed toin bethe wikified]]alert box.
*: For a list of which tags are unwanted and instructions on how to perform cleanup, see [[:Category:Articles with HTML markup]].
 
* If a date parameter is provided such as <code><nowiki>{{</nowiki>WikifyCleanup 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]].
 
Line 14 ⟶ 13:
* {{Tl|Cleanup-Html}}
 
<includeonly>{{Sandbox other||
==See also==
* {{Tl|Wikify}}
 
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Cleanup templates|{{PAGENAME}}HTML]]
[[Category:HTML templates|Cleanup]]
 
}}</includeonly>
<!-- ADD INTERWIKIS BELOW THIS LINE -->
</includeonly>