Template:Superstore rotation/doc
Jump to navigation
Jump to search
This template is used in the Superstore page.
Usage
{{Superstore rotation}}
can be used to display one of the superstore rotations. As of 09:00, 10 May 2024 (UTC) there are 9 rotations
When passed an integer between 0 and 8 (indexing starts at 0, which would be rotation 1), the template will display that rotation. Use UTC time to calculate which rotation the store is on. The current formula used is:
{{#expr: trunc (({{#time: U | now}} - {{#time:U|2024-03-15T09:00}}) mod 1209600 / 172800)}}
Example
{{Superstore rotation}}
will output
The next store rotation is in:
The current store rotation is:
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.