Difference between revisions of "Template:DYK queue/next empty"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
(<includeonly>)
imported>MSGJ
(tweaks)
Line 1: Line 1:
<noinclude>{{intricate template}}</noinclude><includeonly>{{#expr: ({{Template:Did you know/Queue/Next}} - {{emptyqueueexpr}} + 4) mod 6 + 1}}</includeonly>
+
{{#expr: ({{Did you know/Queue/Next}} - {{emptyqueueexpr}} + 4) mod 6 + 1}}<noinclude>
 +
{{intricate template}}
 +
{{documentation}}
 +
</noinclude>

Revision as of 06:19, 6 June 2020

4

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

Usage

This template calculates the next empty queue, by using the queue next to be loaded (6) and the number of empty queues (7) and then performing some modulo arithmetic.