Difference between revisions of "Template:Elemental Rumble"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
(Created page with "<div style="flex: 0 0 50%;"> {| |<span style="font-size:20px;color:orange;">Rumble Tier: </span><!--- ---><span style="font-size:15px;">{{#switch: {{{ 1 | {{{tier|}}} }}}...")
 
(Added next weeks element)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="flex: 0 0 50%;">
 
{|
 
|<span style="font-size:20px;color:orange;">Rumble Tier: </span><!---
 
---><span style="font-size:15px;">{{#switch: {{{ 1 | {{{tier|}}} }}}
 
    | Easy = <br><span style="color:green;"> Easy</span>
 
    | Medium = <br><span style="color:Gold;"> Medium</span>
 
    | Hard = <br><span style="color:Red;"> Hard</span>
 
    | #default = <br><span style="color:green;">Easy</span> / <span style="color:gold;">Medium</span> / <span style="color:red;">Hard</span>
 
    }}</span>
 
|
 
* <b style="font-size:17px;">Chaos: </b><!---
 
--->{{#switch: {{{ 2 | {{{chaos|}}} }}}
 
    | Chaos VII = <span style="color:blue;"> VII </span>
 
    | Chaos X = <span style="color:red;"> X </span>
 
    | #default = <span> Chaos Tier? (Chaos <span style="color:blue;">VII</span> / <span style="color:red;">X</span>) </span>
 
    }}
 
* <b style="font-size:17px;">Enemies:  </b><!---
 
--->{{#switch: {{{ 3 | {{{enemy1|}}} }}}
 
    | Orc Electric Commander = <br><span>[[File:Orc Electric Commander Icon.png|40px]]</span>
 
    | #default = <span> Special Enemy Types? </span>
 
    }} <!---
 
--->{{#switch: {{{ 4 | {{{enemy2|}}} }}}
 
    | Mage Electric Commander = <span>[[File:Electric Mage Commander Icon.png|40px]]</span>
 
    }}
 
* <b style="font-size:17px;">Rewards: </b><!---
 
--->{{#switch: {{{ 5 | {{{rewards|}}} }}}
 
    | Elemental Rumble Rewards = <br><!--
 
      -->[[File:Elemental Earth Cat Icon.png|40px]]<!--
 
      -->[[File:Elemental Storm Cat Icon.png|40px]]<!--
 
      -->[[File:Elemental Water Cat Icon.png|40px]]<!--
 
      -->[[File:Elemental Fire Cat Icon.png|40px]]<!--
 
    --><br><!---
 
    --->Elemental Candies,<br><!---
 
    --->Elemental Essence: {{#switch: {{{ 1 | {{{tier|}}} }}}
 
        | Easy = 10
 
        | Medium = 25
 
        | Hard = 50
 
        | #default = 0
 
        }},<br><!---
 
    ---><span>Elemental Armor Sets</span>
 
    | #default = <span> Elemental Rumble Rewards? </span>
 
    }}
 
|}
 
</div>
 
 
<noinclude>
 
<noinclude>
  
=== Parameters ===
+
'''Current date/time:''' {{#time:Y-m-d H:i:s}}  <br>
{| border="1" style="border-collapse:collapse;"
+
'''Current ISO week number:''' {{#time:W}}  <br>
! Parameter !! Description
+
'''Day of year:''' {{#time:z}}  <br>
 +
'''Day of week (1 = Monday):''' {{#time:N}}  <br>
 +
 
 +
This template displays the weekly element that's on rotation for Elemental Rumble based on the ISO week number (168-hour cycle).
 +
 
 +
Usage:
 +
<code><nowiki>{{Elemental Rumble}}</nowiki></code>
 +
 
 +
Rotation schedule:
 +
* Week 1 → [[File:Water Week.gif|150px]]
 +
* Week 2 → [[File:Storm Week.gif|150px]]
 +
* Week 3 → [[File:Earth Week.gif|150px]]
 +
* Week 4 → [[File:Fire Week.gif|150px]]
 +
 
 +
== Example ==
 +
 
 +
{| class="wikitable" style="width:100%; text-align:center;"
 +
! style="width: 50%; font-size: 120%;" | Wiki Text
 +
! style="width: 50%; font-size: 120%;" | Result
 
|-
 
|-
| '''tier''' || Rumble Tier (Easy/Medium/Hard).
+
| <code><nowiki>{{Elemental Rumble}}</nowiki></code>
|-
+
| {{Elemental Rumble}}
| '''chaos''' || The required Chaos tier completion to unlock this difficulty.
 
|-
 
| '''enemy1''' || The first Special Elemental Rumble enemy (e.g., Orc Elemental Commander).
 
|-
 
| '''enemy2''' || The second Special Elemental Rumble enemy (e.g., Mage Elemental Commander).
 
|-
 
| '''rewards''' || The rewards include Elemental Pets (Standard/Golden Variant), Weekly Elemental Candy, Tier Completion Elemental Essence, Armor Sets.
 
 
|}
 
|}
  
===Example===
+
</noinclude>
{| style="width:100%;"
 
! style="font-size:150%; width: 50%;" | Wiki Text
 
! style="font-size:150%; width: 50%;" | Result
 
|-
 
|<div style="display: flex; justify-content: center;"><!---
 
---><code style="display: table; white-space: pre-wrap; padding-right: 7%;"><!---
 
    ---><nowiki>
 
  
            {{Elemental Rumble
+
<includeonly>
            | Easy
+
<!-- Elemental Rumble Weekly Rotation (ISO week mod 4 with +3 offset) -->
            | Chaos VII
+
<div style="text-align:center;">
            | Orc Electric Commander
 
            | Mage Electric Commander
 
            | Elemental Rumble Rewards
 
            }}
 
  
        </nowiki><!---
+
{| class="wikitable" style="width:100%;"
---></code>
+
! style="width: 50%; font-size: 150%;" | Current Weekly Element:
</div>
+
! style="width: 50%; font-size: 150%;" | Next Weekly Element:
|<div style="display: flex; justify-content: center;">
 
    {{Elemental Rumble
 
    | Easy
 
    | Chaos VII
 
    | Orc Electric Commander
 
    | Mage Electric Commander
 
    | Elemental Rumble Rewards
 
    }}
 
</div>
 
 
|-
 
|-
|<div style="display: flex; justify-content: center;"><!---
+
| {{#switch: {{#expr: ({{#time:W}} + 3) mod 4 }}
---><code style="display: table; white-space: pre-wrap; padding-right: 7%;"><!---
+
  | 0 = [[File:Water Week.gif|300px]]
    ---><nowiki>
+
  | 1 = [[File:Storm Week.gif|300px]]
 
+
  | 2 = [[File:Earth Week.gif|300px]]
            {{Elemental Rumble
+
  | 3 = [[File:Fire Week.gif|300px]]
            | tier = Hard
+
  | #default = [[File:Water Week.gif|300px]]
            | chaos = Chaos X
+
  }}
            | enemy1 = Orc Electric Commander
+
| {{#switch: {{#expr: ({{#time:W}} + 4) mod 4 }}
            | enemy2 = Mage Electric Commander
+
  | 0 = [[File:Water Week.gif|300px]]
            | rewards = Elemental Rumble Rewards
+
  | 1 = [[File:Storm Week.gif|300px]]
            }}
+
  | 2 = [[File:Earth Week.gif|300px]]
 +
  | 3 = [[File:Fire Week.gif|300px]]
 +
  | #default = [[File:Water Week.gif|300px]]
 +
  }}
 +
|}
  
        </nowiki><!---
 
---></code>
 
 
</div>
 
</div>
|<div style="display: flex; justify-content: center;">
+
</includeonly>
    {{Elemental Rumble
 
    | tier = Hard
 
    | chaos = Chaos X
 
    | enemy1 = Orc Electric Commander
 
    | enemy2 = Mage Electric Commander
 
    | rewards = Elemental Rumble Rewards
 
    }}
 
</div>
 
|}
 
 
 
__NOEDITSECTION__
 
</noinclude>
 

Latest revision as of 16:05, 2 April 2025


Current date/time: 2025-04-02 20:05:54
Current ISO week number: 14
Day of year: 91
Day of week (1 = Monday): 3

This template displays the weekly element that's on rotation for Elemental Rumble based on the ISO week number (168-hour cycle).

Usage: {{Elemental Rumble}}

Rotation schedule:

  • Week 1 → Water Week.gif
  • Week 2 → Storm Week.gif
  • Week 3 → Earth Week.gif
  • Week 4 → Fire Week.gif

Example

Wiki Text Result
{{Elemental Rumble}}


Current Weekly Element: Next Weekly Element:
Storm Week.gif Earth Week.gif