Template:Did you know/Queue/IsQueueEmpty/doc

From blackwiki
Jump to navigation Jump to search

This template returns a 1 if the DYK queue submitted is empty, and a 0 if it has been filled. An empty queue is considered any under 100 characters in size per the PAGESIZE template; such queues should consist of the template Template:Tq. Queues that are filled are typically 10,000 characters or more.

This is a required subtemplate for {{Did you know/Queue/LocalUpdateTimes}}, and should not be deleted.

Parameters

There is a single parameter, which is the number of the DYK queue being queried. At present, there are seven queues, numbered from 1 to 7. Unexpected results will occur if this is called with any integer that is not so associated with an extant DYK queue.

If no parameter is submitted, the template will determine whether the next queue to be promoted ({{Did you know/Queue/Next}}) is empty.