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

From blackwiki
Jump to navigation Jump to search
imported>MSGJ
(number of empty should no longer yield an error in any case)
imported>BlueMoonset
(changing the number to four empty queues (more than half); we need more admin attention, not less, on this issue)
 
(2 intermediate revisions 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
+
  |{{notice
  | style = text-align: center;
+
   | image = Edit-clear.svg
  | 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.''
+
   | text = If there are four or more empty queues, this page will report a [[:Category:Administrative backlog|backlog]]. <small>({{purge|recount}})</small>
}}<includeonly>[[Category:Administrative backlog]]</includeonly>
 
  |{{cmbox
 
   | image = [[File:Edit-clear.svg|40x40px|link=|alt=]]
 
  | textstyle = text-align: center;
 
   | text = If there are five 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

50px 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.