It is done - we hope you like our new style.
Please remember to make use of the Manual of Style and Code of Conduct during your stay on the wiki.

 Actions

Template

Difference between revisions of "EventBox/Profile"

From Dragon Mania Legends Wiki

< Template:EventBox
m (center and font-color removed)
m (Emerald Wars is prepared now (keep fingers crossed))
Line 3: Line 3:
 
<span class="_toggle event1">{{color|20B2AA|'''Banner'''}}</span><span class="_toggle inact1 _toggler_hide-event2 _toggler_hide-event3 _toggler_hide-event4 _toggler_hide-event5 _toggler_hide-inact1 _toggler_show-event1 _toggler_show-inact2 _toggler_show-inact3 _toggler_show-inact4 _toggler_show-inact5" style="display:none">{{color|536267|'''Banner'''}}</span><!--
 
<span class="_toggle event1">{{color|20B2AA|'''Banner'''}}</span><span class="_toggle inact1 _toggler_hide-event2 _toggler_hide-event3 _toggler_hide-event4 _toggler_hide-event5 _toggler_hide-inact1 _toggler_show-event1 _toggler_show-inact2 _toggler_show-inact3 _toggler_show-inact4 _toggler_show-inact5" style="display:none">{{color|536267|'''Banner'''}}</span><!--
 
-->{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}|Calendar|Chain Breeding|Collection|Faction|Relay|Boss Challenge=&nbsp;-&nbsp;<span class="_toggle event2" style="display:none">{{color|B900CC|'''{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}|Calendar=Calendar|Chain Breeding=Chain|Collection=Collection|Faction=Faction|Relay|Boss Challenge=Map}}'''}}</span><span class="_toggle inact2 _toggler_hide-event1 _toggler_hide-event3 _toggler_hide-event4 _toggler_hide-event5 _toggler_hide-inact2 _toggler_show-event2 _toggler_show-inact1 _toggler_show-inact3 _toggler_show-inact4 _toggler_show-inact5">{{color|536267|'''{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}|Calendar=Calendar|Chain Breeding=Chain|Collection=Collection|Faction=Faction|Relay|Boss Challenge=Map}}'''}}</span>{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}|Calendar|Chain Breeding|Collection|Relay|Boss Challenge=||{{#if:{{{ad|}}}{{exists|File:{{{prize|}}} Dragon Advertisement ({{#sub:{{PAGENAME}}|0|-11}}).jpg}}|&nbsp;-&nbsp;|<br>}}}}}}<!--
 
-->{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}|Calendar|Chain Breeding|Collection|Faction|Relay|Boss Challenge=&nbsp;-&nbsp;<span class="_toggle event2" style="display:none">{{color|B900CC|'''{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}|Calendar=Calendar|Chain Breeding=Chain|Collection=Collection|Faction=Faction|Relay|Boss Challenge=Map}}'''}}</span><span class="_toggle inact2 _toggler_hide-event1 _toggler_hide-event3 _toggler_hide-event4 _toggler_hide-event5 _toggler_hide-inact2 _toggler_show-event2 _toggler_show-inact1 _toggler_show-inact3 _toggler_show-inact4 _toggler_show-inact5">{{color|536267|'''{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}|Calendar=Calendar|Chain Breeding=Chain|Collection=Collection|Faction=Faction|Relay|Boss Challenge=Map}}'''}}</span>{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}|Calendar|Chain Breeding|Collection|Relay|Boss Challenge=||{{#if:{{{ad|}}}{{exists|File:{{{prize|}}} Dragon Advertisement ({{#sub:{{PAGENAME}}|0|-11}}).jpg}}|&nbsp;-&nbsp;|<br>}}}}}}<!--
-->{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}|Calendar|Castle|Chain Breeding|Collection|Solo|Relay|Boss Challenge=|#default={{#switch:{{#sub:{{PAGENAME}}|0|-11}}|The Great Dragon Race|Sugar Rush|Weekend Dragon Race=|#default={{#ifeq:{{{type|}}}|Faction||&nbsp;-&nbsp;}}<span class="_toggle event3" style="display:none">{{color|B900CC|'''Milestone'''}}</span><span class="_toggle inact3 _toggler_hide-event1 _toggler_hide-event2 _toggler_hide-event4 _toggler_hide-event5 _toggler_hide-inact3 _toggler_show-event3 _toggler_show-inact1 _toggler_show-inact2 _toggler_show-inact4 _toggler_show-inact5">{{color|536267|'''Milestone'''}}</span>}}<!--
+
-->{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}|Calendar|Castle|Chain Breeding|Collection|Solo|Relay|Boss Challenge=|#default={{#switch:{{#sub:{{PAGENAME}}|0|-11}}|The Great Dragon Race|Emerald Wars|Sugar Rush|Weekend Dragon Race=|#default={{#ifeq:{{{type|}}}|Faction||&nbsp;-&nbsp;}}<span class="_toggle event3" style="display:none">{{color|B900CC|'''Milestone'''}}</span><span class="_toggle inact3 _toggler_hide-event1 _toggler_hide-event2 _toggler_hide-event4 _toggler_hide-event5 _toggler_hide-inact3 _toggler_show-event3 _toggler_show-inact1 _toggler_show-inact2 _toggler_show-inact4 _toggler_show-inact5">{{color|536267|'''Milestone'''}}</span>}}<!--
 
-->{{#ifeq:{{#sub:{{PAGENAME}}|0|-11}}|Clan Siege||{{#if:{{#ifeq:{{{type|}}}|Arcade|1|}}{{#ifeq:{{{type|}}}|Gem Spending|1|}}{{{ad|}}}|<br>|{{#if:{{exists|File:{{{prize|}}} Dragon Advertisement ({{#sub:{{PAGENAME}}|0|-11}}).jpg}}|<br>|&nbsp;-&nbsp;}}}}<span class="_toggle event4" style="display:none">{{color|A84609|'''Leaderboard'''}}</span><span class="_toggle inact4 _toggler_hide-event1 _toggler_hide-event2 _toggler_hide-event3 _toggler_hide-event5 _toggler_hide-inact4 _toggler_show-event4 _toggler_show-inact1 _toggler_show-inact2 _toggler_show-inact3 _toggler_show-inact5">{{color|536267|'''Leaderboard'''}}</span>}}}}<!--
 
-->{{#ifeq:{{#sub:{{PAGENAME}}|0|-11}}|Clan Siege||{{#if:{{#ifeq:{{{type|}}}|Arcade|1|}}{{#ifeq:{{{type|}}}|Gem Spending|1|}}{{{ad|}}}|<br>|{{#if:{{exists|File:{{{prize|}}} Dragon Advertisement ({{#sub:{{PAGENAME}}|0|-11}}).jpg}}|<br>|&nbsp;-&nbsp;}}}}<span class="_toggle event4" style="display:none">{{color|A84609|'''Leaderboard'''}}</span><span class="_toggle inact4 _toggler_hide-event1 _toggler_hide-event2 _toggler_hide-event3 _toggler_hide-event5 _toggler_hide-inact4 _toggler_show-event4 _toggler_show-inact1 _toggler_show-inact2 _toggler_show-inact3 _toggler_show-inact5">{{color|536267|'''Leaderboard'''}}</span>}}}}<!--
 
-->{{#if:{{{ad|}}}|&nbsp;-&nbsp;<span class="_toggle event5" style="display:none">{{color|5FC536|'''Advertisement'''}}</span><span class="_toggle inact5 _toggler_hide-event1 _toggler_hide-event2 _toggler_hide-event3 _toggler_hide-event4 _toggler_hide-inact5 _toggler_show-event5 _toggler_show-inact1 _toggler_show-inact2 _toggler_show-inact3 _toggler_show-inact4">{{color|536267|'''Advertisement'''}}</span><!--
 
-->{{#if:{{{ad|}}}|&nbsp;-&nbsp;<span class="_toggle event5" style="display:none">{{color|5FC536|'''Advertisement'''}}</span><span class="_toggle inact5 _toggler_hide-event1 _toggler_hide-event2 _toggler_hide-event3 _toggler_hide-event4 _toggler_hide-inact5 _toggler_show-event5 _toggler_show-inact1 _toggler_show-inact2 _toggler_show-inact3 _toggler_show-inact4">{{color|536267|'''Advertisement'''}}</span><!--
Line 12: Line 12:
 
-->|{{#ifexpr:{{#time:U|{{getDate}}}} > {{#time:U|30 August 2018}}|{{FileIfExisting|{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}<!--
 
-->|{{#ifexpr:{{#time:U|{{getDate}}}} > {{#time:U|30 August 2018}}|{{FileIfExisting|{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}<!--
 
--->|Arcade|Calendar|Castle|Chain Breeding|Collection|Community|Relay|Boss Challenge|Faction|Solo=Special<!--
 
--->|Arcade|Calendar|Castle|Chain Breeding|Collection|Community|Relay|Boss Challenge|Faction|Solo=Special<!--
--->|Clan|The Great Dragon Race|Sugar Rush|Weekend Dragon Race|Clan Siege=Clan}}<!--
+
--->|Clan|The Great Dragon Race|Emerald Wars|Sugar Rush|Weekend Dragon Race|Clan Siege=Clan}}<!--
 
--->{{#ifeq:{{{type|}}}|Gem Spending|VIP|{{#ifeq:{{{vip|}}}|VIP|VIP}}}} Event Generic Banner.jpg|260}}<!--
 
--->{{#ifeq:{{{type|}}}|Gem Spending|VIP|{{#ifeq:{{{vip|}}}|VIP|VIP}}}} Event Generic Banner.jpg|260}}<!--
 
-->|{{#if:{{exists|File:{{#replace:{{#replace:{{PAGENAME}}|(|VIP (}}|/|.}}.jpg}}|[[File:{{#replace:{{#replace:{{PAGENAME}}|(|VIP (}}|/|.}}.jpg|260px]]<!--
 
-->|{{#if:{{exists|File:{{#replace:{{#replace:{{PAGENAME}}|(|VIP (}}|/|.}}.jpg}}|[[File:{{#replace:{{#replace:{{PAGENAME}}|(|VIP (}}|/|.}}.jpg|260px]]<!--
 
--->|{{#if:{{exists|File:{{#replace:{{PAGENAME}}|/|.}}.jpg}}|[[File:{{#replace:{{PAGENAME}}|/|.}}.jpg|260px]]<!--
 
--->|{{#if:{{exists|File:{{#replace:{{PAGENAME}}|/|.}}.jpg}}|[[File:{{#replace:{{PAGENAME}}|/|.}}.jpg|260px]]<!--
 
--->|{{#switch:{{#sub:{{PAGENAME}}|0|-11}}<!--
 
--->|{{#switch:{{#sub:{{PAGENAME}}|0|-11}}<!--
---->|The Great Dragon Race|Sugar Rush|Clan Siege=[[File:{{#sub:{{PAGENAME}}|0|-11}} Generic Banner.jpg|260px]]<!--
+
---->|The Great Dragon Race|Emerald Wars|Sugar Rush|Clan Siege=[[File:{{#sub:{{PAGENAME}}|0|-11}} Generic Banner.jpg|260px]]<!--
 
---->|Weekend Dragon Race=[[File:The Great Dragon Race Banner.jpg|260px]]<!--
 
---->|Weekend Dragon Race=[[File:The Great Dragon Race Banner.jpg|260px]]<!--
 
---->|Feel the Fury|Settle the Score|Winner Takes All=[[File:Clan Event Generic {{#switch:{{#sub:{{PAGENAME}}|0|-11}}|Feel the Fury=1|Settle the Score=2|Winner Takes All=3}} Banner.jpg|260px]]<!--
 
---->|Feel the Fury|Settle the Score|Winner Takes All=[[File:Clan Event Generic {{#switch:{{#sub:{{PAGENAME}}|0|-11}}|Feel the Fury=1|Settle the Score=2|Winner Takes All=3}} Banner.jpg|260px]]<!--
Line 24: Line 24:
 
--->|{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}|Relay=[[File:{{#if:{{{hero|}}}|Hero's|Boss}} Challenge Map.jpg|250px]]|Boss Challenge=[[File:Boss Challenge Map.jpg|250px]]|<!--
 
--->|{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}|Relay=[[File:{{#if:{{{hero|}}}|Hero's|Boss}} Challenge Map.jpg|250px]]|Boss Challenge=[[File:Boss Challenge Map.jpg|250px]]|<!--
 
--->|{{FileIfExisting|{{#replace:{{PAGENAME}}|/|.}} {{#switch:{{{type|}}}|Calendar=Calendar|Chain Breeding=Breeding Chain|Collection=Collection|Faction=Faction Rewards}}.jpg|260}}}}}}|event2}}}}<!--
 
--->|{{FileIfExisting|{{#replace:{{PAGENAME}}|/|.}} {{#switch:{{{type|}}}|Calendar=Calendar|Chain Breeding=Breeding Chain|Collection=Collection|Faction=Faction Rewards}}.jpg|260}}}}}}|event2}}}}<!--
-->{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}|Calendar|Castle|Chain Breeding|Collection|Solo|Relay|Boss Challenge|The Great Dragon Race|Sugar Rush|Weekend Dragon Race=<!--
+
-->{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}|Calendar|Castle|Chain Breeding|Collection|Solo|Relay|Boss Challenge|The Great Dragon Race|Emerald Wars|Sugar Rush|Weekend Dragon Race=<!--
 
--->|#default={{Toggle||{{#if:{{{milestone|}}}|[[File:{{{milestone}}}.jpg|260px]]<!--
 
--->|#default={{Toggle||{{#if:{{{milestone|}}}|[[File:{{{milestone}}}.jpg|260px]]<!--
 
---->|{{#if:{{exists|File:{{#replace:{{#replace:{{PAGENAME}}|(|VIP (}}|/|.}} Milestone.jpg}}|{{FileIfExisting|{{#replace:{{#replace:{{PAGENAME}}|(|VIP (}}|/|.}} Milestone.jpg|260}}<!--
 
---->|{{#if:{{exists|File:{{#replace:{{#replace:{{PAGENAME}}|(|VIP (}}|/|.}} Milestone.jpg}}|{{FileIfExisting|{{#replace:{{#replace:{{PAGENAME}}|(|VIP (}}|/|.}} Milestone.jpg|260}}<!--
Line 37: Line 37:
 
-------->{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}|Hatching|Crowded Nursery={{#ifexpr:{{#time:U|{{getDate}}}} < {{#time:U|1 September 2017}}|(Pre-3.1)}}}}}} <!--
 
-------->{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}|Hatching|Crowded Nursery={{#ifexpr:{{#time:U|{{getDate}}}} < {{#time:U|1 September 2017}}|(Pre-3.1)}}}}}} <!--
 
------>{{#if:{{{element|}}}|({{{element|}}})}} Milestone.jpg|260px]]}}}}}}}}}}|event3}}}}<!--
 
------>{{#if:{{{element|}}}|({{{element|}}})}} Milestone.jpg|260px]]}}}}}}}}}}|event3}}}}<!--
-->{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}|Boss Challenge|Calendar|Castle|Chain Breeding|Collection|Clan Siege|Community|Relay|Solo|=|<!--
+
-->{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}|Boss Challenge|Calendar|Castle|Chain Breeding|Collection|Emerald Wars|Clan Siege|Community|Relay|Solo=<!--
--->#default={{Toggle||{{#if:{{{leaderboard|}}}|[[File:{{{leaderboard}}}.{{#switch:{{#sub:{{PAGENAME}}|0|-11}}|The Great Dragon Race|Sugar Rush|Weekend Dragon Race=png|jpg}}|260px]]<!--
+
--->|#default={{Toggle||{{#if:{{{leaderboard|}}}|[[File:{{{leaderboard}}}.{{#switch:{{#sub:{{PAGENAME}}|0|-11}}|The Great Dragon Race|Sugar Rush|Weekend Dragon Race=png|jpg}}|260px]]<!--
 
--->|{{#if:{{exists|File:{{#replace:{{#replace:{{PAGENAME}}|(|VIP (}}|/|.}} Leaderboard.jpg}}|{{FileIfExisting|{{#replace:{{#replace:{{PAGENAME}}|(|VIP (}}|/|.}} Leaderboard.jpg|260}}|{{#if:{{exists|File:{{#replace:{{PAGENAME}}|/|.}} Leaderboard.jpg}}|{{FileIfExisting|{{#replace:{{PAGENAME}}|/|.}} Leaderboard.jpg|260}}<!--
 
--->|{{#if:{{exists|File:{{#replace:{{#replace:{{PAGENAME}}|(|VIP (}}|/|.}} Leaderboard.jpg}}|{{FileIfExisting|{{#replace:{{#replace:{{PAGENAME}}|(|VIP (}}|/|.}} Leaderboard.jpg|260}}|{{#if:{{exists|File:{{#replace:{{PAGENAME}}|/|.}} Leaderboard.jpg}}|{{FileIfExisting|{{#replace:{{PAGENAME}}|/|.}} Leaderboard.jpg|260}}<!--
 
--->|{{#switch:{{#sub:{{PAGENAME}}|0|-11}}|The Great Dragon Race|Sugar Rush|Weekend Dragon Race={{#ifexpr:{{#time:U|{{getDate}}}} < {{#time:U|4 July 2017}} and {{#time:U|{{getDate}}}} > {{#time:U|18 February 2017}}|[[File:The Great Dragon Race Generic Leaderboard.png|260px]]|[[File:The Great Dragon Race Generic Leaderboard - Clan League 5.png|260px]]}}<!--
 
--->|{{#switch:{{#sub:{{PAGENAME}}|0|-11}}|The Great Dragon Race|Sugar Rush|Weekend Dragon Race={{#ifexpr:{{#time:U|{{getDate}}}} < {{#time:U|4 July 2017}} and {{#time:U|{{getDate}}}} > {{#time:U|18 February 2017}}|[[File:The Great Dragon Race Generic Leaderboard.png|260px]]|[[File:The Great Dragon Race Generic Leaderboard - Clan League 5.png|260px]]}}<!--

Revision as of 02:27, 14 July 2019

Banner - Milestone - Leaderboard
Event Generic Banner.jpg