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 (Emerald Wars is prepared now (keep fingers crossed))
m (no leaderboard for Emerald Wars)
Line 4: Line 4:
 
-->{{#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|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>}}<!--
 
-->{{#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>}}}}<!--
+
-->{{#switch:{{#sub:{{PAGENAME}}|0|-11}}|Clan Siege|Emerald Wars=|#default={{#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><!--
 
-->|{{#if:{{exists|File:{{{prize|}}} Dragon Advertisement ({{#sub:{{PAGENAME}}|0|-11}}).jpg}}|&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:{{exists|File:{{{prize|}}} Dragon Advertisement ({{#sub:{{PAGENAME}}|0|-11}}).jpg}}|&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><!--

Revision as of 02:47, 14 July 2019

Banner - Milestone - Leaderboard
Event Generic Banner.jpg