More actions
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>Current featured article: </noinclude>{{#switch:{{#expr: ({{CURRENTDAY}} + (({{#time:s}} * 3) mod 8) * {{#time:s}} + (({{#time:s}} + 6) mod 5) * ({{CURRENTWEEK}} and 14)) mod | <noinclude>Current featured article: </noinclude>{{#switch:{{#expr: ({{CURRENTDAY}} + (({{#time:s}} * 3) mod 8) * {{#time:s}} + (({{#time:s}} + 6) mod 5) * ({{CURRENTWEEK}} and 14)) mod 4}}| | ||
0=Montego Bay| | 0=Montego Bay| | ||
1=Bayview| | 1=Bayview| | ||
2=Alexandria| | 2=Alexandria| | ||
3=2024 North City Elections| | |||
4=Crystal Bay| | |||
}} | }} | ||
Latest revision as of 03:55, 20 September 2024
Current featured article: Bayview
List of all featured blurbs: Category:FeaturedBlurbs.
To add articles, just add them to the list and increase the last Modulo operation by the number of articles you added.
This will change content at least every hour. If the seconds are uneven while the site is being cached, it will add the seconds as offset to the hours, else it will add the current week and 3 for randomness. Remember, this is time of caching, so it has to be done at least once an hour.