GuildWiki has been locked down: anonymous editing and account creation are disabled. Current registered users are unaffected. Leave any comments on the Community Portal.

Template:Zaishen forecast/Vanquish/next

From GuildWiki
Jump to: navigation, search

Description[edit source]

This template calculates how many days there are from a given date until a Zaishen Vanquish challenge will next be offered. The challenge is, by default, the PAGENAME, and the date is today (so if the challenge is offered today, 0 is returned).

The template was written for Zaishen Vanquish/Schedule.

Examples[edit source]

* {{Zaishen forecast/Vanquish/next|Ice Cliff Chasms}} 
* {{#time: d M|+{{Zaishen forecast/Vanquish/next|Ice Cliff Chasms}}day}}
* {{Zaishen forecast/Vanquish/next|Ice Cliff Chasms|date=22 Oct 2009 17:00}}
* {{Zaishen forecast/Vanquish/next|{{#sub:{{Zaishen forecast/Vanquish}}|2|9}}}}
* {{#expr:1+{{Zaishen forecast/Vanquish/next|{{#sub:{{Zaishen forecast/Vanquish}}|2|9}}|date=+1day}}}}
* {{#time: d M|+{{#expr:1+{{Zaishen forecast/Vanquish/next|{{#sub:{{Zaishen forecast/Vanquish}}|2|9}}|date=+1day}}}}day}}
  • 126 — days until Ice Cliff Chasms is next offered
  • 09 Nov — date when Ice Cliff Chasms is next offered
  • 90 — same, but counting from October 22

  • 123 — 0 because Minister Cho's Estate is today's item
  • 123 — looking for today's quest, starting tomorrow and adding 1, we find out how many days until it is next offered
  • 06 Nov — date when Minister Cho's Estate is up next