Template:Cleanup/doc: Difference between revisions

Created page with "<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -..."
 
Redesigned Template
 
Line 1: Line 1:
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
{{Documentation}}
    <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
'''''Cleanup''''' can be used to highlight articles that need rewriting into a style suited to the wiki.


== Usage ==
Place on articles you believe require a cleanup. This template adds pages to [[:Category:Articles in need of cleanup]].
This table may be added by copy-pasting the template as shown below into an article.


<div style="background:#ddd; border:1px solid black; padding:0.5em 1em 0.5em 1em;">
You must also specify a reasoning by including a parameter.
<pre>
{{Cleanup}}
</pre>
</div>


== Parameters ==
==Usage==
There are none.
{{t|Cleanup|Reason}}


== Effects ==
For example:
Puts a table onto the page reorganization.
{{T|Cleanup|Should be rewritten as prose}} would output:


== Updating this template ==
{{cleanup|Should be rewritten as prose}}
You shouldn't have to.


== Example ==
{{TemplateData|<templatedata>
<pre>{{Cleanup}}</pre>
{
 
"params": {
Will display this:
"1": {
 
"label": "Reason",
{{Cleanup|}}
"description": "Reason why article requires cleanup",
"example": "Should be rewritten as prose",
"type": "string",
"required": true
}
},
"description": "Place on articles you believe require a cleanup. This template adds pages to Category:Articles in need of cleanup.\n\n",
"format": "inline"
}
</templatedata>
}}