Difference between revisions of "Template:Elemental Rumble"
From Dungeon Defenders 2 Wiki
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
| − | This template displays a different image each week, rotating through 4 images based on the | + | This template displays a different Elemental Rumble image each week, |
| + | rotating through 4 themed images based on the ISO week number (168-hour cycle). | ||
| − | <code><nowiki>{{ | + | Usage: |
| − | + | <code><nowiki>{{ElementalRumble}}</nowiki></code> | |
| − | |||
| + | Rotation schedule: | ||
* Week 1 → [[File:Water Week.gif|150px]] | * Week 1 → [[File:Water Week.gif|150px]] | ||
* Week 2 → [[File:Storm Week.gif|150px]] | * Week 2 → [[File:Storm Week.gif|150px]] | ||
* Week 3 → [[File:Earth Week.gif|150px]] | * Week 3 → [[File:Earth Week.gif|150px]] | ||
* Week 4 → [[File:Fire Week.gif|150px]] | * Week 4 → [[File:Fire Week.gif|150px]] | ||
| − | |||
== Example == | == Example == | ||
| Line 18: | Line 18: | ||
! style="width: 50%; font-size: 120%;" | Result | ! style="width: 50%; font-size: 120%;" | Result | ||
|- | |- | ||
| − | | <code><nowiki>{{ | + | | <code><nowiki>{{ElementalRumble}}</nowiki></code> |
| − | | {{ | + | | {{ElementalRumble}} |
|} | |} | ||
</noinclude> | </noinclude> | ||
| + | |||
<includeonly> | <includeonly> | ||
| − | <!-- Weekly | + | <!-- Elemental Rumble Weekly Rotation (ISO week mod 4) --> |
{{#switch: {{#expr: {{#time:W}} mod 4 }} | {{#switch: {{#expr: {{#time:W}} mod 4 }} | ||
| 0 = [[File:Water Week.gif|300px]] | | 0 = [[File:Water Week.gif|300px]] | ||
Revision as of 14:17, 2 April 2025
This template displays a different Elemental Rumble image each week, rotating through 4 themed images based on the ISO week number (168-hour cycle).
Usage:
{{ElementalRumble}}
Rotation schedule:
Example
| Wiki Text | Result |
|---|---|
{{ElementalRumble}}
|
Template:ElementalRumble |



