Template:Next available day/doc

From Lotro-Wiki.com
Jump to navigation Jump to search
This is the template documentation for {{Next available day}}. It is transcluded from Template:Next available day/doc and may be directly edited there.

Usage

This template displays the next available day that a quest will be available, for quests that are only available once every x number of days.

Note: Any page that uses this template will be excluded from the server cache.

Syntax

{{Next available day|<cycle length>|<day>}}
{{Next available day|<cycle length>|<day>|<duration>}}

where:

  • cycle length is the number of days in the repeating cycle; e.g. if the quest occurs once every 3 days, put 3 here
  • day is the offset within the cycle for this particular quest; the value must be between 1 and the cycle length
  • duration (optional) is the number of consecutive days that the quest remains available; default is 1

Example 1

Suppose there are four quests: A, B, C, and D. Each day, one of the four is available, on a 4-day cycle.

Then, you can use this template to indicate the next day each quest will be available, as follows:

* Quest A: available {{Next available day|4|1}}
* Quest B: available {{Next available day|4|2}}
* Quest C: available {{Next available day|4|3}}
* Quest D: available {{Next available day|4|4}}
  • Quest A: available Tomorrow (21h 54m from now) [refresh]
  • Quest B: available 2 days from now [refresh]
  • Quest C: available 3 days from now [refresh]
  • Quest D: available Today (21h 54m remaining) [refresh]

Note: The days are counted starting from April 24, 2007. So you may need to adjust the day parameter to get the correct offset within the cycle, e.g.:

* Quest A: available {{Next available day|4|2}}
* Quest B: available {{Next available day|4|3}}
* Quest C: available {{Next available day|4|4}}
* Quest D: available {{Next available day|4|1}}
  • Quest A: available 2 days from now [refresh]
  • Quest B: available 3 days from now [refresh]
  • Quest C: available Today (21h 54m remaining) [refresh]
  • Quest D: available Tomorrow (21h 54m from now) [refresh]

Example 2

Bratha Tasakh phases change weekly, on a six-week cycle:

* Acid / Lightning phase is {{Next available day|42|29|7}}
* Acid / Fire phase is {{Next available day|42|36|7}}
* Fire / Lightning phase is {{Next available day|42|1|7}}
* Fire / Acid phase is {{Next available day|42|8|7}}
* Lightning / Acid phase is {{Next available day|42|15|7}}
* Lightning / Fire phase is {{Next available day|42|22|7}}
  • Acid / Lightning phase is 19 days from now [refresh]
  • Acid / Fire phase is 26 days from now [refresh]
  • Fire / Lightning phase is 33 days from now [refresh]
  • Fire / Acid phase is Now (4d 21h 54m remaining) [refresh]
  • Lightning / Acid phase is 5 days from now [refresh]
  • Lightning / Fire phase is 12 days from now [refresh]