Difference between revisions of "Template:Cleanup"

m (updating)
m (updating)
(8 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
}}{{Category handler
 
}}{{Category handler
 
   |nocat    = {{{nocat|}}}
 
   |nocat    = {{{nocat|}}}
 +
  |main    = Cleanup tagged articles without a reason field
 
  }}
 
  }}
 
  |{{main other
 
  |{{main other
Line 22: Line 23:
 
   | removalnotice = yes
 
   | removalnotice = yes
 
   | date  = {{{date|}}}
 
   | date  = {{{date|}}}
   | cat   = [[Category:Articles needing cleanup]]
+
   | all   = Articles needing cleanup
 
   }}
 
   }}
 
   |{{mbox
 
   |{{mbox
 
   | demospace = {{{demospace|}}}
 
   | demospace = {{{demospace|}}}
 
   | type      = style
 
   | type      = style
   | text      = This {{{1|{{SUBJECTSPACE formatted}}}}} '''may require [[BattleTechWiki:cleanup|cleanup]] to meet BattleTechWiki's [[BattleTechWiki:Manual of Style|quality standards]]'''.  {{#if:{{{reason|}}}
+
   | 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}}}}}'''
 
     |The specific problem is: '''{{Terminate sentence|{{{reason}}}}}'''
 
     |No [[Template:Cleanup/doc|cleanup reason]] has been specified.
 
     |No [[Template:Cleanup/doc|cleanup reason]] has been specified.
Line 36: Line 37:
 
   }}
 
   }}
 
  | demospace = {{{demospace|<noinclude>main</noinclude>}}}
 
  | demospace = {{{demospace|<noinclude>main</noinclude>}}}
 +
}}{{Category handler
 +
  |page    = {{SUBJECTPAGENAME}}
 +
  |nocat    = {{{nocat|}}}
 +
  |category = [[Category:Categories needing cleanup]]
 +
  |template = {{#ifeq:{{#titleparts:{{FULLPAGENAME}}|1}}|Template:Cleanup||Templates needing cleanup}}
 +
  |other    = [[Category:Articles needing cleanup]]
 
  }}
 
  }}
 
}}
 
}}

Revision as of 19:06, 7 February 2024