Template:Cleanup: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
mNo edit summary
m (17px)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<center><table style="width: 75%; margin: 5px 0 5px 0; border: 1px solid #ff1193; padding: 0em 1em; background-color:#f4f4ff"><tr><td>
{{Ambox
{{filepath:Cleanup.gif}}
| name  = Cleanup
</td><td align=left><center>
| subst = <includeonly>{{subst:substcheck}}</includeonly>
'''This page is awaiting cleanup.''' [{{SERVER}}/wiki/index.php/Help:How_can_I_correct_an_error_I've_spotted%3F {{filepath:Question.gif}}]</center>
| small =
{{#switch: {{{1|}}}
| type  = style
|talk=For a description of cleanup required, please see the [[Talk:{{PAGENAME}}|discussion page]].
| image =
|=<font color="red">''Description of required cleanup is missing. Please use:'' <nowiki>{{Cleanup|<description>}}</nowiki>.</font>
| sect  =  
|'''Description of cleanup required:''' {{{1}}}
| issue = '''This page is awaiting [[ChoralWiki:Pages awaiting cleanup|cleanup]].''' [[File:Question.gif|17px|link=Help:How can I correct an error I've spotted?]]
}}
| fix  = {{#switch: {{{1|}}}
</td></tr></table></center><includeonly>[[Category:Pages awaiting cleanup]]</includeonly><noinclude>
  |talk = <br>For a description of cleanup required, please see the [[Talk:{{PAGENAME}}|discussion page]].
{{DisplayBox|text=
  | = <br><font color="red">''Description of required cleanup is missing. Please use:'' {{tl|Cleanup|<description>}}.</font>
<center>'''Documentation'''</center>
  | &nbsp; &nbsp; '''Below is a description of the cleanup required:'''<br> {{{1}}} }}
| date  =
| cat  = <includeonly>Pages awaiting cleanup</includeonly>
| all  =
| style =
}}<noinclude>
{{prot-temp}}
{{DisplayBox|bgcolor=g|title=Documentation|text=
The proper usage of this template is to place the following code '''at the top of a page requiring cleanup:'''
The proper usage of this template is to place the following code '''at the top of a page requiring cleanup:'''
<pre>{{Cleanup|<description>}}</pre>
:{{tl|Cleanup|<description>}}
where <tt><description></tt> is either of the following:
where <tt><description></tt> is either of the following:
# a (relatively short) description of the cleanup required.
# a (relatively short) description of the cleanup required.
# <tt>talk</tt> - which refers the user to the discussion page for a description of cleanup required, to be used primarily when a short description is not feasible.
# <tt>talk</tt> - which refers the user to the discussion page for a description of cleanup required, to be used primarily when a short description is not feasible.


If your description contains a an equal sign (=) inside it (as in a link), you'll be required to precede the description with a '''1=''': <pre>{{Cleanup|1=<description>}}</pre>
If your description contains a an equal sign (=) inside it (as in a link), you'll be required to precede the description with a '''1=''':
:{{tl|Cleanup|1&#61;<description>}}


'''Warning:''' Using the template without the <description> parameter will result in the cleanup banner being displayed as above, prompting anyone seeing the cleanup banner to supply a description of the required cleanup.
'''Warning:''' Using the template without the <description> parameter will result in the cleanup banner being displayed as above, prompting anyone seeing the cleanup banner to supply a description of the required cleanup.
Line 23: Line 31:
It will greatly help others if you would '''please sign your description''' by typing three tildes ( <nowiki>~~~</nowiki> ) after your description of the cleanup required.
It will greatly help others if you would '''please sign your description''' by typing three tildes ( <nowiki>~~~</nowiki> ) after your description of the cleanup required.
}}
}}
{{prot-temp}}


[[Category:Message box templates]]
[[Category:Maintenance templates]]</noinclude>
[[Category:Maintenance templates]]</noinclude>

Latest revision as of 20:49, 29 April 2013

Documentation

The proper usage of this template is to place the following code at the top of a page requiring cleanup:

{{Cleanup|<description>}}

where <description> is either of the following:

  1. a (relatively short) description of the cleanup required.
  2. talk - which refers the user to the discussion page for a description of cleanup required, to be used primarily when a short description is not feasible.

If your description contains a an equal sign (=) inside it (as in a link), you'll be required to precede the description with a 1=:

{{Cleanup|1=<description>}}

Warning: Using the template without the <description> parameter will result in the cleanup banner being displayed as above, prompting anyone seeing the cleanup banner to supply a description of the required cleanup.

It will greatly help others if you would please sign your description by typing three tildes ( ~~~ ) after your description of the cleanup required.