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>MSGJ
(not sure why we are using cmbox here)
Line 2: Line 2:
 
  |{{mbox
 
  |{{mbox
 
   | type = style
 
   | type = style
  | style = text-align: center;
 
 
   | 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 = 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>
 
  }}<includeonly>[[Category:Administrative backlog]]</includeonly>
  |{{cmbox
+
  |{{notice
   | image = [[File:Edit-clear.svg|40x40px|link=|alt=]]
+
   | image = Edit-clear.svg
  | 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>
 
   | text = If there are five or more empty queues, this page will report a [[:Category:Administrative backlog|backlog]]. <small>({{purge|recount}})</small>
 
  }}
 
  }}

Revision as of 15:52, 7 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.