Difference between revisions of "Template:Did you know/Queue/LocalUpdateTimes"

From blackwiki
Jump to navigation Jump to search
imported>BlueMoonset
(Reverted good faith edits by Coffeeandcrumbs (talk): This was correct as it was; with change, showing Queue 1 and Prep 1 back to back, which is problematic (TW))
imported>BlueMoonset
(updating with revised code developed at User:BlueMoonset/sandbox2 to always display the queues plus the preps, even when there are some empty queues (in which case, the prep that will be loaded into each empty queue is displayed along with it))
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
<!--Do table header; note that "customshift" allows a custom column to be added as the first time zone right after the Queue/Prep link-->
 
{| class="wikitable" style="text-align:center" width={{#if: {{{customshift|}}} |80% |70% }}
 
{| class="wikitable" style="text-align:center" width={{#if: {{{customshift|}}} |80% |70% }}
 
! width={{#if: {{{customshift|}}} |16% |12% }}| {{#if: {{{customshift|}}} |!! {{{customname|My Time}}} }} !! Los Angeles  !! New York !! [[UTC]] !! London {{#ifexpr: {{CURRENTTIMESTAMP}} >= {{CURRENTYEAR}}03{{#time: d | {{CURRENTYEAR}}0331010000 - {{#time: w | {{CURRENTYEAR}}0331010000 }} days}}010000 and {{CURRENTTIMESTAMP}} <= {{CURRENTYEAR}}10{{#time: d | {{CURRENTYEAR}}1031010000 - {{#time: w | {{CURRENTYEAR}}1031010000 }} days}}010000 ||(UTC)}} !! New Delhi !! Tokyo !! Sydney
 
! width={{#if: {{{customshift|}}} |16% |12% }}| {{#if: {{{customshift|}}} |!! {{{customname|My Time}}} }} !! Los Angeles  !! New York !! [[UTC]] !! London {{#ifexpr: {{CURRENTTIMESTAMP}} >= {{CURRENTYEAR}}03{{#time: d | {{CURRENTYEAR}}0331010000 - {{#time: w | {{CURRENTYEAR}}0331010000 }} days}}010000 and {{CURRENTTIMESTAMP}} <= {{CURRENTYEAR}}10{{#time: d | {{CURRENTYEAR}}1031010000 - {{#time: w | {{CURRENTYEAR}}1031010000 }} days}}010000 ||(UTC)}} !! New Delhi !! Tokyo !! Sydney
 
|- style="background:#ffdddd"
 
|- style="background:#ffdddd"
| '''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=1}}|T:DYK/Q{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=1}} }}|Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=1}}]]'''
+
| '''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=1}}|T:DYK/Q{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=1}} }}|Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=1}}]]''' {{#ifexpr:{{Did you know/Queue/IsQueueEmpty|{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=1}} }} | <br/>'''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Prep area {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=1 }}|T:DYK/P{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=1 }} }}|Prep {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=1 }}]]''' | }}
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=1 |location={{{customshift}}} }} }}
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=1 |location={{{customshift}}} }} }}
 
| {{for loop|
 
| {{for loop|
 
{{!}}|call=Did you know/Queue/LocalUpdateTimes/Helper|pc1n=offset|pc1v=1|pv=location|Los Angeles|New York|UTC|London|New Delhi|Tokyo|Sydney}}
 
{{!}}|call=Did you know/Queue/LocalUpdateTimes/Helper|pc1n=offset|pc1v=1|pv=location|Los Angeles|New York|UTC|London|New Delhi|Tokyo|Sydney}}
 
|-
 
|-
| '''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=2}}|T:DYK/Q{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=2}} }}|Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=2}}]]'''
+
| '''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=2}}|T:DYK/Q{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=2}} }}|Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=2}}]]''' {{#ifexpr:{{Did you know/Queue/IsQueueEmpty|{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=2}} }} | <br/>'''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Prep area {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=2 }}|T:DYK/P{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=2 }} }}|Prep {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=2 }}]]''' | }}
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=2 |location={{{customshift}}} }} }}
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=2 |location={{{customshift}}} }} }}
 
| {{for loop|
 
| {{for loop|
 
{{!}}|call=Did you know/Queue/LocalUpdateTimes/Helper|pc1n=offset|pc1v=2|pv=location|Los Angeles|New York|UTC|London|New Delhi|Tokyo|Sydney}}
 
{{!}}|call=Did you know/Queue/LocalUpdateTimes/Helper|pc1n=offset|pc1v=2|pv=location|Los Angeles|New York|UTC|London|New Delhi|Tokyo|Sydney}}
 
|-
 
|-
| '''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=3}}|T:DYK/Q{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=3}} }}|Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=3}}]]'''
+
| '''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=3}}|T:DYK/Q{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=3}} }}|Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=3}}]]''' {{#ifexpr:{{Did you know/Queue/IsQueueEmpty|{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=3}} }} | <br/>'''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Prep area {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=3 }}|T:DYK/P{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=3 }} }}|Prep {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=3 }}]]''' | }}
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=3 |location={{{customshift}}} }} }}
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=3 |location={{{customshift}}} }} }}
 
| {{for loop|
 
| {{for loop|
 
{{!}}|call=Did you know/Queue/LocalUpdateTimes/Helper|pc1n=offset|pc1v=3|pv=location|Los Angeles|New York|UTC|London|New Delhi|Tokyo|Sydney}}
 
{{!}}|call=Did you know/Queue/LocalUpdateTimes/Helper|pc1n=offset|pc1v=3|pv=location|Los Angeles|New York|UTC|London|New Delhi|Tokyo|Sydney}}
 
|-
 
|-
| '''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=4}}|T:DYK/Q{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=4}} }}|Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=4}}]]'''
+
| '''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=4}}|T:DYK/Q{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=4}} }}|Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=4}}]]''' {{#ifexpr:{{Did you know/Queue/IsQueueEmpty|{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=4}} }} | <br/>'''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Prep area {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=4 }}|T:DYK/P{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=4 }} }}|Prep {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=4 }}]]''' | }}
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=4 |location={{{customshift}}} }} }}
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=4 |location={{{customshift}}} }} }}
 
| {{for loop|
 
| {{for loop|
 
{{!}}|call=Did you know/Queue/LocalUpdateTimes/Helper|pc1n=offset|pc1v=4|pv=location|Los Angeles|New York|UTC|London|New Delhi|Tokyo|Sydney}}
 
{{!}}|call=Did you know/Queue/LocalUpdateTimes/Helper|pc1n=offset|pc1v=4|pv=location|Los Angeles|New York|UTC|London|New Delhi|Tokyo|Sydney}}
 
|-
 
|-
| '''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=5}}|T:DYK/Q{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=5}} }}|Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=5}}]]'''
+
| '''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=5}}|T:DYK/Q{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=5}} }}|Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=5}}]]''' {{#ifexpr:{{Did you know/Queue/IsQueueEmpty|{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=5}} }} | <br/>'''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Prep area {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=5 }}|T:DYK/P{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=5 }} }}|Prep {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=5 }}]]''' | }}
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=5 |location={{{customshift}}} }} }}
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=5 |location={{{customshift}}} }} }}
 
| {{for loop|
 
| {{for loop|
 
{{!}}|call=Did you know/Queue/LocalUpdateTimes/Helper|pc1n=offset|pc1v=5|pv=location|Los Angeles|New York|UTC|London|New Delhi|Tokyo|Sydney}}
 
{{!}}|call=Did you know/Queue/LocalUpdateTimes/Helper|pc1n=offset|pc1v=5|pv=location|Los Angeles|New York|UTC|London|New Delhi|Tokyo|Sydney}}
 
|-
 
|-
| '''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=6}}|T:DYK/Q{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=6}} }}|Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=6}}]]'''
+
| '''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=6}}|T:DYK/Q{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=6}} }}|Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=6}}]]''' {{#ifexpr:{{Did you know/Queue/IsQueueEmpty|{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=6}} }} | <br/>'''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Prep area {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=6 }}|T:DYK/P{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=6 }} }}|Prep {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=6 }}]]''' | }}
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=6 |location={{{customshift}}} }} }}
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=6 |location={{{customshift}}} }} }}
 
| {{for loop|
 
| {{for loop|
 
{{!}}|call=Did you know/Queue/LocalUpdateTimes/Helper|pc1n=offset|pc1v=6|pv=location|Los Angeles|New York|UTC|London|New Delhi|Tokyo|Sydney}}
 
{{!}}|call=Did you know/Queue/LocalUpdateTimes/Helper|pc1n=offset|pc1v=6|pv=location|Los Angeles|New York|UTC|London|New Delhi|Tokyo|Sydney}}
{{#iferror: {{emptyqueue}} | <!-- If there's no empty queue, then display the prep times; otherwise they're not accurate -->
+
|-
{{!}}-
+
| '''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=7}}|T:DYK/Q{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=7}} }}|Queue {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=7}}]]''' {{#ifexpr:{{Did you know/Queue/IsQueueEmpty|{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=7}} }} | <br/>'''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Prep area {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=7 }}|T:DYK/P{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=7 }} }}|Prep {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=7 }}]]''' | }}
{{!}} '''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Prep area {{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=1}} .5Bedit.5D|T:DYK/P{{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=1}} }}|Prep {{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=1}}]]'''
 
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=7 |location={{{customshift}}} }} }}
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=7 |location={{{customshift}}} }} }}
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=7 |location=Los Angeles}}
+
| {{for loop|
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=7 |location=New York}}
+
{{!}}|call=Did you know/Queue/LocalUpdateTimes/Helper|pc1n=offset|pc1v=7|pv=location|Los Angeles|New York|UTC|London|New Delhi|Tokyo|Sydney}}
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=7 |location=UTC}}
+
{{#ifexpr:{{Did you know/Queue/IsQueueEmpty|{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=1}} }} |  
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=7 |location=London}}
+
|{{!}}-
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=7 |location=New Delhi}}
+
{{!}} '''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Prep area {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=1 }}|T:DYK/P{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=1 }} }}|Prep {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=1 }}]]'''  
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=7 |location=Tokyo}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=7 |location=Sydney}}
 
{{!}}-
 
{{!}} '''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Prep area {{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=2}} .5Bedit.5D|T:DYK/P{{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=2}} }}|Prep {{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=2}}]]'''
 
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=8 |location={{{customshift}}} }} }}
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=8 |location={{{customshift}}} }} }}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=8 |location=Los Angeles}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=8 |location=Los Angeles}}
Line 52: Line 48:
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=8 |location=Tokyo}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=8 |location=Tokyo}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=8 |location=Sydney}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=8 |location=Sydney}}
{{!}}-
+
{{#ifexpr:{{Did you know/Queue/IsQueueEmpty|{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=2}} }}  |
{{!}} '''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Prep area {{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=3}} .5Bedit.5D|T:DYK/P{{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=3}} }}|Prep {{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=3}}]]'''
+
|{{!}}-
 +
{{!}}'''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Prep area {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=2 }}|T:DYK/P{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=2 }} }}|Prep {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=2 }}]]'''  
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=9 |location={{{customshift}}} }} }}
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=9 |location={{{customshift}}} }} }}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=9 |location=Los Angeles}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=9 |location=Los Angeles}}
Line 62: Line 59:
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=9 |location=Tokyo}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=9 |location=Tokyo}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=9 |location=Sydney}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=9 |location=Sydney}}
{{!}}-
+
{{#ifexpr:{{Did you know/Queue/IsQueueEmpty|{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=3}} }}  |
{{!}} '''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Prep area {{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=4}} .5Bedit.5D|T:DYK/P{{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=4}} }}|Prep {{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=4}}]]'''
+
|{{!}}-
 +
{{!}}'''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Prep area {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=3 }}|T:DYK/P{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=3 }} }}|Prep {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=3 }}]]'''  
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=10 |location={{{customshift}}} }} }}
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=10 |location={{{customshift}}} }} }}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=10 |location=Los Angeles}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=10 |location=Los Angeles}}
Line 72: Line 70:
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=10 |location=Tokyo}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=10 |location=Tokyo}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=10 |location=Sydney}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=10 |location=Sydney}}
{{!}}-
+
{{#ifexpr:{{Did you know/Queue/IsQueueEmpty|{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=4}} }}  |
{{!}} '''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Prep area {{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=5}} .5Bedit.5D|T:DYK/P{{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=5}} }}|Prep {{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=5}}]]'''
+
|{{!}}-
 +
{{!}}'''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Prep area {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=4 }}|T:DYK/P{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=4 }} }}|Prep {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=4 }}]]'''  
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=11 |location={{{customshift}}} }} }}
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=11 |location={{{customshift}}} }} }}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=11 |location=Los Angeles}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=11 |location=Los Angeles}}
Line 82: Line 81:
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=11 |location=Tokyo}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=11 |location=Tokyo}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=11 |location=Sydney}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=11 |location=Sydney}}
{{!}}-
+
{{#ifexpr:{{Did you know/Queue/IsQueueEmpty|{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=5}} }}  |
{{!}} '''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Prep area {{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=6}} .5Bedit.5D|T:DYK/P{{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=6}} }}|Prep {{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=6}}]]'''
+
|{{!}}-
 +
{{!}}'''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Prep area {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=5 }}|T:DYK/P{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=5 }} }}|Prep {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=5 }}]]'''  
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=12 |location={{{customshift}}} }} }}
 
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=12 |location={{{customshift}}} }} }}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=12 |location=Los Angeles}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=12 |location=Los Angeles}}
Line 92: Line 92:
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=12 |location=Tokyo}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=12 |location=Tokyo}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=12 |location=Sydney}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=12 |location=Sydney}}
|}}
+
{{#ifexpr:{{Did you know/Queue/IsQueueEmpty|{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=6}} }}||{{!}}-
 +
{{!}}'''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Prep area {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=6 }}|T:DYK/P{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=6 }} }}|Prep {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=6 }}]]'''
 +
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=13 |location={{{customshift}}} }} }}
 +
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=13 |location=Los Angeles}}
 +
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=13 |location=New York}}
 +
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=13 |location=UTC}}
 +
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=13 |location=London}}
 +
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=13 |location=New Delhi}}
 +
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=13 |location=Tokyo}}
 +
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=13 |location=Sydney}}
 +
{{#ifexpr:{{Did you know/Queue/IsQueueEmpty|{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=7}} }}||{{!}}-
 +
{{!}}'''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Prep area {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=7 }}|T:DYK/P{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=7 }} }}|Prep {{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=7 }}]]'''
 +
{{#if: {{{customshift|}}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=14 |location={{{customshift}}} }} }}
 +
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=14 |location=Los Angeles}}
 +
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=14 |location=New York}}
 +
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=14 |location=UTC}}
 +
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=14 |location=London}}
 +
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=14 |location=New Delhi}}
 +
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=14 |location=Tokyo}}
 +
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=14 |location=Sydney}} }} }} }} }} }} }} }}
 
|}<noinclude>
 
|}<noinclude>
 
{{Documentation|content=This template shows when [[WP:DYK|Did You Know]] updates are scheduled to appear on the [[Main Page]]. It automatically adjusts for [[Daylight Savings Time]] according to the schedule below. Using the template with no parameters gives the table above. The template can display a custom time zone with the customshift parameter. For example, the code below shows the update times in Zimbabwe. The customshift parameter ''must'' have a plus or minus sign in front of the number of hours the time zone is offset from UTC. If you want UTC times, enter "+0 hours" or "-0 hours".
 
{{Documentation|content=This template shows when [[WP:DYK|Did You Know]] updates are scheduled to appear on the [[Main Page]]. It automatically adjusts for [[Daylight Savings Time]] according to the schedule below. Using the template with no parameters gives the table above. The template can display a custom time zone with the customshift parameter. For example, the code below shows the update times in Zimbabwe. The customshift parameter ''must'' have a plus or minus sign in front of the number of hours the time zone is offset from UTC. If you want UTC times, enter "+0 hours" or "-0 hours".

Latest revision as of 20:44, 13 June 2020

Los Angeles New York UTC London (UTC) New Delhi Tokyo Sydney
Queue 6
Prep 6
Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time.
Queue 7 Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time.
Queue 1 Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time.
Queue 2
Prep 2
Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time.
Queue 3 Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time.
Queue 4 Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time.
Queue 5 Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time.
50px Template documentation

This template shows when Did You Know updates are scheduled to appear on the Main Page. It automatically adjusts for Daylight Savings Time according to the schedule below. Using the template with no parameters gives the table above. The template can display a custom time zone with the customshift parameter. For example, the code below shows the update times in Zimbabwe. The customshift parameter must have a plus or minus sign in front of the number of hours the time zone is offset from UTC. If you want UTC times, enter "+0 hours" or "-0 hours".

{{Template:Did you know/Queue/LocalUpdateTimes |customname=Zimbabwe |customshift=+2 hours}}


Schedule for Daylight Savings Time this year (time is offset by +1 hour compared to non-DST):

  • New York: March 8 08:00 UTC – November 1 07:00 UTC
  • London: March 29 01:00 UTC – October 25 01:00 UTC
  • Sydney: October 4 16:00 UTC – April 5 16:00 UTC
  • New Delhi and Tokyo do not observe Daylight Savings Time