Difference between revisions of "Template:DYK queue/backlog"

From blackwiki
Jump to navigation Jump to search
imported>MSGJ
(not sure why we are using cmbox here)
imported>BlueMoonset
(changing the number to four empty queues (more than half); we need more admin attention, not less, on this issue)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{#ifexpr:{{DYK queue/number of empty}}>=5
+
{{#ifexpr:{{DYK queue/number of empty}}>=4
  |{{mbox
+
  |{{admin backlog|auto=yes}}
  | type = style
 
  | text = This page has a '''[[:Category:Administrative backlog|backlog]]''' that requires the attention of one or more administrators.<br>''This notice will be hidden when there are fewer than five empty queues.''
 
}}<includeonly>[[Category:Administrative backlog]]</includeonly>
 
 
  |{{notice
 
  |{{notice
 
   | image = Edit-clear.svg
 
   | image = Edit-clear.svg
   | text = If there are five or more empty queues, this page will report a [[:Category:Administrative backlog|backlog]]. <small>({{purge|recount}})</small>
+
   | text = If there are four or more empty queues, this page will report a [[:Category:Administrative backlog|backlog]]. <small>({{purge|recount}})</small>
 
  }}
 
  }}
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 15:33, 14 June 2020

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

Usage

This template triggers a backlog notice on Template:Did you know/Queue whenever the number of empty DYK queues reaches 4 or higher.

It uses {{DYK queue/number of empty}} to calculate the number of empty queues, which is currently 7.