Jump to content

Template:DYK queue/is empty?/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Determines whether a DYK queue is empty or not. The unnamed parameter (0-6) selects the number of queues after the next queue (currently 2).

Examples

[edit]
  • {{DYK queue/is empty?|0}} checks queue 2 and returns 0
  • {{DYK queue/is empty?|1}} checks queue 3 and returns 0
  • {{DYK queue/is empty?|2}} checks queue 4 and returns 0
  • {{DYK queue/is empty?|3}} checks queue 5 and returns 1
  • {{DYK queue/is empty?|4}} checks queue 6 and returns 1
  • {{DYK queue/is empty?|5}} checks queue 7 and returns 1
  • {{DYK queue/is empty?|6}} checks queue 1 and returns 1