Difference between revisions of "Template:Delete when empty"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
(Closed)
imported>JJMC89
 
Line 1: Line 1:
{{#ifexpr:{{PAGESINCAT:{{PAGENAME}}|R}}=0<noinclude>+1</noinclude>
+
{{SAFESUBST:<noinclude />#invoke:Unsubst||$B={{#ifexpr:{{PAGESINCAT:{{PAGENAME}}|R}}=0<noinclude>+1</noinclude>
 
  |{{db-c1}}
 
  |{{db-c1}}
 
  |{{cmbox
 
  |{{cmbox
Line 5: Line 5:
 
   |text=An editor has requested that when this category has been empty for 7 days it be uncontroversially deleted under criterion [[WP:CSD#C1|C1]]. This may be because a template which was previously populating this category has been changed.
 
   |text=An editor has requested that when this category has been empty for 7 days it be uncontroversially deleted under criterion [[WP:CSD#C1|C1]]. This may be because a template which was previously populating this category has been changed.
 
  }}
 
  }}
}}<noinclude>
+
}}}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 02:40, 11 July 2018

50px Template documentation[view] [edit] [history] [purge]

Usage

This template adds the speedy deletion template {{db-c1}} to a category, when that category is empty. If the category is not empty it produces the above output.

See also