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

From blackwiki
Jump to navigation Jump to search
imported>BlueMoonset
(issue with recently updated (and moved) template; replacing with different template and expression to get the preps to display)
imported>MSGJ
(i think you had a missing bar)
Line 36: Line 36:
 
| {{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: {{DYK queue/number of empty}} = 0 | <!-- If there's no empty queue, then display the prep times; otherwise they're not accurate -->
+
{{#ifexpr: {{DYK queue/number of empty}} = 0 | |<!-- 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#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}}]]'''
 
{{!}} '''[[{{#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}}]]'''

Revision as of 10:39, 12 June 2020

Los Angeles New York UTC London (UTC) New Delhi Tokyo Sydney
Queue 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 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.
Prep 1 Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time.
Prep 2 Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time.
Prep 3 Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time.
Prep 4 Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time.
Prep 5 Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time.
Prep 6 Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time. Error: Invalid time.
Prep 7 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