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

Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

Template:Sandford forecast/next

From GuildWiki
Jump to: navigation, search


Description[edit source]

This template calculates how many days there are from a given date until an item will next be collected by Nicholas Sandford. The item is, by default, the PAGENAME, and the date is today (so if the item is collected today, 0 is returned).

The template was written for Nicholas Sandford/Collector.

Examples[edit source]

* {{Sandford forecast/next|Grawl Necklace}} 
* {{#time: d M|+{{Sandford forecast/next|Grawl Necklace}}day}}
* {{Sandford forecast/next|Grawl Necklace|date=9 Apr 2009}}
----
* {{Sandford forecast/next|{{#sub:{{Sandford forecast}}|2|9}}}}
* {{Sandford forecast/next|{{#sub:{{Sandford forecast}}|2|9}}|date=+1day}}
* {{#time: d M|+{{#expr:1+{{Sandford forecast/next|{{#sub:{{Sandford forecast}}|2|9}}|date=+1day}}}}day}}
  • Expression error: Unexpected < operator.days until Grawl Necklace is next collected
  • Error: Invalid time.date when Grawl Necklace is next collected
  • Expression error: Unexpected < operator.same, but counting from Apr 9

  • Expression error: Unexpected < operator.0 because Skeletal Limb is today's item
  • Expression error: Unexpected < operator.looking for todays item, starting tomorrow, we find out when it is up next
  • Error: Invalid time.date when Skeletal Limb is up next