Difference between revisions of "Template:Cleanup"

m (updating)
m (Reverted edits by Deadfire (talk) to last revision by Dmon)
Tag: Rollback
Line 1: Line 1:
{{ {{{|safesubst:}}}#invoke:Unsubst| |$B=
+
{{Message_box|id=Usrcvtext|backgroundcolor=#FF7F7F|heading=Clean-up|image=Broom icon.svg|message=To meet the BattleTechWiki's [[BattleTechWiki: Manual of Style|quality standards]], this article may require [[Help:Cleanup|cleanup]].<br/>Please discuss this issue on the [[Talk:{{PAGENAME}}|talk page]].}}
{{#ifexpr:{{#expr:{{#iferror:{{#time:U|{{{date}}}}}|2000000000}}>=1341100800}}*{{#if:{{{reason|<noinclude>x</noinclude>}}}|0|1}}
+
<includeonly>[[Category:Cleanup]]</includeonly><noinclude>
|{{error|1=You must add a {{para|reason}} parameter to this Cleanup template – replace it with <code><nowiki>{{Cleanup|</nowiki>{{#if:{{{1|}}}|{{{1|}}}{{!}}|}}{{#if:{{{date|}}}|<nowiki>date=</nowiki>{{{date|}}}{{!}}}}<nowiki>reason=<Fill reason here>}}</nowiki></code>, or remove the Cleanup template.<br style="clear:both;">
+
 
}}
+
<noinclude>
|{{main other
+
 
  |{{ambox
+
----
  | name  = Cleanup
+
 
  | subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
+
==Purpose==
  | type  = style
+
The '''Clean up''' template should be used in the leading section of a page as a informative message of that page's perceived current state of needing additional [[Help:Cleanup|cleanup]] to meet the BattleTechWiki's [[BattleTechWiki: Manual of Style|quality standards]].
  | class = ambox-Cleanup
+
 
  | small = {{{small|}}}
+
==Usage==
  | sect  = {{{1|}}}
+
Cut and paste '''<nowiki>{{cleanup}}</nowiki>''' into the top of the article.  
  | issue = may '''require [[BattleTechWiki:cleanup|cleanup]]''' to meet BattleTechWiki's [[BattleTechWiki:Manual of Style|quality standards]]. {{#if:{{{reason|}}}
+
 
    |The specific problem is: '''{{Terminate sentence|{{{reason}}}}}'''
+
[[Category:Templates|Cleanup]]
  }}
 
  | talk  = {{{talk|{{{talksection|}}}}}}
 
  | fix  = {{#if:{{{reason|}}}|
 
    |No [[Template:Cleanup/doc|cleanup reason]] has been specified.
 
  }} Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{{1|{{SUBJECTSPACE formatted}}}}}] if you can.
 
  | removalnotice = yes
 
  | date  = {{{date|}}}
 
  | cat  = [[Category:Articles needing cleanup]]
 
  }}
 
  |{{mbox
 
  | demospace = {{{demospace|}}}
 
  | type      = style
 
  | text      = This {{{1|{{SUBJECTSPACE formatted}}}}} '''may require [[BattleTechWiki:cleanup|cleanup]] to meet BattleTechWiki's [[BattleTechWiki:Manual of Style|quality standards]]'''. {{#if:{{{reason|}}}
 
    |The specific problem is: '''{{Terminate sentence|{{{reason}}}}}'''
 
    |No [[Template:Cleanup/doc|cleanup reason]] has been specified.
 
  }} Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{{1|{{SUBJECTSPACE formatted}}}}}] if you can{{#ifeq:{{SUBJECTSPACE}}|{{NAMESPACE}}
 
    |&#59; the [[{{TALKPAGENAME}}{{#if:{{{talksection|}}}|&#35;{{{talksection}}}}}|talk page]] may contain suggestions.
 
    |.
 
  }}
 
  }}
 
| demospace = {{{demospace|<noinclude>main</noinclude>}}}
 
}}
 
}}
 
}}<noinclude>
 
{{Documentation}}
 
</noinclude>
 

Revision as of 21:39, 13 January 2024




Purpose

The Clean up template should be used in the leading section of a page as a informative message of that page's perceived current state of needing additional cleanup to meet the BattleTechWiki's quality standards.

Usage

Cut and paste {{cleanup}} into the top of the article.