Template:EventTimeLeftUnix: Difference between revisions

From NOISZ Wiki
No edit summary
(added documentation)
 
Line 2: Line 2:
<noinclude>
<noinclude>
=Documentation=
=Documentation=
This template details how much time is left on a single event in a standard 8-week event cycle, assuming a certain start date.
This template details how much time is left on a single event in a standard 10-week event cycle, assuming a certain start date.
 
[[Template:EventTimeLeftUnix|EventTimeLeftUnix]] looks at how many seconds we are into a cycle and divides it by 1209600, and returns a remainder. It subtracts that from 1209600, the amount of seconds in two weeks; this returns the amount of seconds left in this mini 2-week cycle within the greater 10-week cycle.
[[Category:Templates]]
[[Category:Templates]]
{{NOISZ Timer Flowchart}}
{{NOISZ Timer Flowchart}}
</noinclude>
</noinclude>

Latest revision as of 19:16, 5 February 2026


Documentation

This template details how much time is left on a single event in a standard 10-week event cycle, assuming a certain start date.

EventTimeLeftUnix looks at how many seconds we are into a cycle and divides it by 1209600, and returns a remainder. It subtracts that from 1209600, the amount of seconds in two weeks; this returns the amount of seconds left in this mini 2-week cycle within the greater 10-week cycle.

Timer Templates

Template:EventCycleTime Module:CurrentNOISZSLEvent
Module:CurrentSyntheticEvent
Template:CurrentNoiszSLEvent
Template:CurrentSyntheticEvent
Template:EventTimeLeftUnix Template:EventTimeLeft Template:NOISZ SL Events
Template:NOISZ SL Events Vertical
Template:NOISZ SL Recursive Events
Template:NOISZ SL Synthetic Events
Template:EventTimeCountdownUnix Template:EventCountdown