Difference between revisions of "Template:Did you know/Queue/LocalUpdateTimes"
Jump to navigation
Jump to search
Template documentation
imported>BlueMoonset (Reverted good faith edits by MSGJ (talk): Reverting change that caused extra preps to be incorrectly displayed (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)) |
||
| 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}} | ||
|- | |- | ||
| − | | '''[[{{#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}}]]''' | + | | '''[[{{#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 }}]]''' | }} |
{{#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}}} }} }} | ||
| {{for loop| | | {{for loop| | ||
{{!}}|call=Did you know/Queue/LocalUpdateTimes/Helper|pc1n=offset|pc1v=7|pv=location|Los Angeles|New York|UTC|London|New Delhi|Tokyo|Sydney}} | {{!}}|call=Did you know/Queue/LocalUpdateTimes/Helper|pc1n=offset|pc1v=7|pv=location|Los Angeles|New York|UTC|London|New Delhi|Tokyo|Sydney}} | ||
| − | {{#ifexpr: {{ | + | {{#ifexpr:{{Did you know/Queue/IsQueueEmpty|{{Template:Did you know/Queue/LocalUpdateTimes/QueueCalculator|offset=1}} }} | |
| − | {{!}}- | + | |{{!}}- |
| − | {{!}} '''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Prep area {{Template:Did you know/Queue/LocalUpdateTimes/ | + | {{!}} '''[[{{#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=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 47: | 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/ | + | |{{!}}- |
| + | {{!}}'''[[{{#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 57: | 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/ | + | |{{!}}- |
| + | {{!}}'''[[{{#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 67: | 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/ | + | |{{!}}- |
| + | {{!}}'''[[{{#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 77: | 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/ | + | |{{!}}- |
| + | {{!}}'''[[{{#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 87: | 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/ | + | {{!}}'''[[{{#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}}} }} }} | {{#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=Los Angeles}} | ||
| Line 97: | Line 102: | ||
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=13 |location=Tokyo}} | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=13 |location=Tokyo}} | ||
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=13 |location=Sydney}} | {{!}} {{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/ | + | {{!}}'''[[{{#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}}} }} }} | {{#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=Los Angeles}} | ||
| Line 106: | Line 111: | ||
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=14 |location=New Delhi}} | {{!}} {{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=Tokyo}} | ||
| − | {{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=14 |location=Sydney}} | + | {{!}} {{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. |
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 9 08:00 UTC – November 2 07:00 UTC
- London: March 30 01:00 UTC – October 26 01:00 UTC
- Sydney: October 5 16:00 UTC – April 6 16:00 UTC
- New Delhi and Tokyo do not observe Daylight Savings Time
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |