Template:CurrentNoiszSLEvent: Difference between revisions

From NOISZ Wiki
m (Avoid transcluding Category:Templates)
(i'm replacing this with a lua module as the ifexpr nesting + heavy use of ifexpr + constant EventCycleTime calls are likely expensive)
Line 1: Line 1:
<includeonly>
<includeonly>
{{#ifexpr: {{EventCycleTime|cyclestart={{{cyclestart|}}}}} < 0|No event is currently running.|
{{#invoke:CurrentNOISZSLEvent|main}}
{{#ifexpr: {{EventCycleTime|cyclestart={{{cyclestart|}}}}} < 1209600|LUNATIC MAINFRAME#Joker#[https://twitter.com/Taimeshi_731 @Taimeshi_731]#05|
{{#ifexpr: {{EventCycleTime|cyclestart={{{cyclestart|}}}}} < 2419200|Attitude Mint#Sera Hoshikawa#[https://twitter.com/debaa_nyan @debaa_nyan]#01|
{{#ifexpr: {{EventCycleTime|cyclestart={{{cyclestart|}}}}} < 3628800|Blue Moon#Grace Kamenashi#[https://twitter.com/daihu9san @daihu9san]#02|
{{#ifexpr: {{EventCycleTime|cyclestart={{{cyclestart|}}}}} < 4838400|Black Cat Blaster#Hakuno Nekoda#[https://twitter.com/yotation @yotation]#03|
{{#ifexpr: {{EventCycleTime|cyclestart={{{cyclestart|}}}}} < 6048000|Nuclear Drip#Sumire Hitori#[https://twitter.com/cute_hospital @cute_hospital]#04|No event is currently running.}}
}}
}}
}}
}}
}}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
=Documentation=
=Documentation=

Revision as of 09:32, 10 December 2025


Documentation

This uses the standard 10-week event cycle to determine what event is currently live for NOISZ STARLIVHT. A new event cycle start date can be input into the cyclestart variable if need be.