Template:EventTimeCountdownUnix: Difference between revisions
From NOISZ Wiki
oldwiki>BrunoLaplace No edit summary |
RiceEmpress (talk | contribs) (added documentation) |
||
| (5 intermediate revisions by 4 users not shown) | |||
| Line 17: | Line 17: | ||
=Documentation= | =Documentation= | ||
This counts down the time until an event, assuming a standard 10-week recurrent event cycle. | This counts down the time until an event, assuming a standard 10-week recurrent event cycle. | ||
[[Template:EventTimeCountdownUnix|EventTimeCountdownUnix]] looks at where we are in the 10-week cycle and accordingly counts down to the next 2-week marker using a case/switch. The "if time > 0" condition in there is to deal with the possibility that a date in the future was set to determine the 10-week cycle. | |||
[[Category:Templates]] | |||
{{NOISZ Timer Flowchart}} | |||
</noinclude> | </noinclude> | ||
Latest revision as of 20:15, 5 February 2026
Documentation
This counts down the time until an event, assuming a standard 10-week recurrent event cycle.
EventTimeCountdownUnix looks at where we are in the 10-week cycle and accordingly counts down to the next 2-week marker using a case/switch. The "if time > 0" condition in there is to deal with the possibility that a date in the future was set to determine the 10-week cycle.
Timer Templates