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

We are currently performing an upgrade to our software. This upgrade will bring MediaWiki from version 1.31 to 1.33. While the upgrade is being performed on your wiki it will be in read-only mode. For more information check here.

Template:Zaishen forecast/Combat/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 Combat 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 Combat/Schedule.

Examples[edit source]

* {{Zaishen forecast/Combat/next|Guild versus guild}} 
* {{#time: d M|+{{Zaishen forecast/Combat/next|Guild versus guild}}day}}
* {{Zaishen forecast/Combat/next|Guild versus guild|date=22 Oct 2009 17:00}}
----
* {{Zaishen forecast/Combat/next|{{#sub:{{Zaishen forecast/Combat}}|2|9}}}}
* {{#expr:1+{{Zaishen forecast/Combat/next|{{#sub:{{Zaishen forecast/Combat}}|2|9}}|date=+1day}}}}
* {{#time: d M|+{{#expr:1+{{Zaishen forecast/Combat/next|{{#sub:{{Zaishen forecast/Combat}}|2|9}}|date=+1day}}}}day}}
  • Expression error: Unexpected < operator.days until Guild vs Guild is next offered
  • Error: Invalid time.date when Guild vs Guild is next offered
  • Expression error: Unexpected < operator.same, but counting from October 22

  • Expression error: Unexpected < operator.0 because Heroes' Ascent is today's item
  • Expression error: Unexpected < operator.looking for today's quest, starting tomorrow and adding 1, we find out how many days until it is next offered
  • Error: Invalid time.date when Heroes' Ascent is up next