The wiki has been experiencing some malicious web activity, please bear with us.
Remember to make use of the Manual of Style and Code of Conduct during your stay.

 Actions

Template

Difference between revisions of "EventBox/Profile"

From Dragon Mania Legends Wiki

< Template:EventBox
m
m (removed the renamings (double image includes otherwise - see Golden_Opportunity_(19/12/13) ))
Line 2: Line 2:
 
-->{{#if:{{{special|}}}||
 
-->{{#if:{{{special|}}}||
 
<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|Breeding Blitz|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|Breeding Blitz=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|Breeding Blitz=Chain|Collection=Collection|Faction=Faction|Relay|Boss Challenge=Map}}'''}}</span>{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}|Calendar|Chain Breeding|Breeding Blitz|Collection|Relay|Boss Challenge=||{{#if:{{{ad|}}}{{exists|File:{{{prize|}}} Dragon Promotion ({{#sub:{{PAGENAME}}|0|-11}}).jpg}}{{exists|File:{{{prize|}}} Dragon Promotion ({{#sub:{{PAGENAME}}|0|-11}}).jpg}}{{exists|File:{{{prize|}}} Dragon Event.jpg}}|&nbsp;-&nbsp;|<br>}}}}}}<!--
+
-->{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}|Calendar|Chain Breeding|Breeding Blitz|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|Breeding Blitz=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|Breeding Blitz=Chain|Collection=Collection|Faction=Faction|Relay|Boss Challenge=Map}}'''}}</span>{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}|Calendar|Chain Breeding|Breeding Blitz|Collection|Relay|Boss Challenge=||{{#if:{{{ad|}}}{{exists|File:{{{prize|}}} Dragon Promotion ({{#sub:{{PAGENAME}}|0|-11}}).jpg}}{{exists|File:{{{prize|}}} Dragon Event.jpg}}|&nbsp;-&nbsp;|<br>}}}}}}<!--
 
-->{{#switch:{{#if:{{{type|}}}|{{{type|}}}|{{#sub:{{PAGENAME}}|0|-11}}}}|Calendar|Castle|Chain Breeding|Breeding Blitz|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|Breeding Blitz|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:{{#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 Promotion ({{#sub:{{PAGENAME}}|0|-11}}).jpg}}{{exists|File:{{#replace:{{PAGENAME}}|/|.}} Promotion.jpg}}{{exists|File:{{{prize|}}} Dragon Promotion ({{#sub:{{PAGENAME}}|0|-11}}).jpg}}{{exists|File:{{{prize|}}} Dragon Event.jpg}}{{exists|File:{{#replace:{{PAGENAME}}|/|.}} Promotion.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:{{#replace:{{PAGENAME}}|/|.}} Promotion.jpg}}{{exists|File:{{{prize|}}} Dragon Promotion ({{#sub:{{PAGENAME}}|0|-11}}).jpg}}{{exists|File:{{{prize|}}} Dragon Event.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|'''Promotion'''}}</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|'''Promotion'''}}</span><!--
 
-->{{#if:{{{ad|}}}|&nbsp;-&nbsp;<span class="_toggle event5" style="display:none">{{color|5FC536|'''Promotion'''}}</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|'''Promotion'''}}</span><!--
-->|{{#if:{{exists|File:{{{prize|}}} Dragon Promotion ({{#sub:{{PAGENAME}}|0|-11}}).jpg}}{{exists|File:{{{prize|}}} Dragon Promotion ({{#sub:{{PAGENAME}}|0|-11}}).jpg}}{{exists|File:{{{prize|}}} Dragon Event.jpg}}|&nbsp;-&nbsp;<span class="_toggle event5" style="display:none">{{color|5FC536|'''Promotion'''}}</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|'''Promotion'''}}</span><!--
+
-->|{{#if:{{exists|File:{{{prize|}}} Dragon Promotion ({{#sub:{{PAGENAME}}|0|-11}}).jpg}}{{exists|File:{{{prize|}}} Dragon Event.jpg}}|&nbsp;-&nbsp;<span class="_toggle event5" style="display:none">{{color|5FC536|'''Promotion'''}}</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|'''Promotion'''}}</span><!--
-->|{{#if:{{exists|File:{{#replace:{{PAGENAME}}|/|.}} Promotion.jpg}}{{exists|File:{{#replace:{{PAGENAME}}|/|.}} Promotion.jpg}}{{exists|File:{{{prize|}}} Dragon Event.jpg}}|&nbsp;-&nbsp;<span class="_toggle event5" style="display:none">{{color|5FC536|'''Promotion'''}}</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|'''Promotion'''}}</span>}}}}}}
+
-->|{{#if:{{exists|File:{{#replace:{{PAGENAME}}|/|.}} Promotion.jpg}}{{exists|File:{{{prize|}}} Dragon Event.jpg}}|&nbsp;-&nbsp;<span class="_toggle event5" style="display:none">{{color|5FC536|'''Promotion'''}}</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|'''Promotion'''}}</span>}}}}}}
 
<hr style="margin-top:0px; margin-bottom:10px;"><div style="padding-bottom: 3pt">
 
<hr style="margin-top:0px; margin-bottom:10px;"><div style="padding-bottom: 3pt">
 
{{Toggle|{{#if:{{{banner|}}}|[[File:{{{banner}}}.jpg|260px]]<!--
 
{{Toggle|{{#if:{{{banner|}}}|[[File:{{{banner}}}.jpg|260px]]<!--
Line 54: Line 54:
 
no special ad file for this event, use one of the dragon promo images
 
no special ad file for this event, use one of the dragon promo images
 
---->|{{FileIfExisting|{{{prize|}}} Dragon Promotion ({{#sub:{{PAGENAME}}|0|-11}}).jpg|260}}<!--
 
---->|{{FileIfExisting|{{{prize|}}} Dragon Promotion ({{#sub:{{PAGENAME}}|0|-11}}).jpg|260}}<!--
----->{{FileIfExisting|{{{prize|}}} Dragon Promotion ({{#sub:{{PAGENAME}}|0|-11}}).jpg|260}}<!--
 
 
----->{{FileIfExisting|{{{prize|}}} Dragon Event.jpg|260}} }}<!--
 
----->{{FileIfExisting|{{{prize|}}} Dragon Event.jpg|260}} }}<!--
 
--->}}|event5}}</div>
 
--->}}|event5}}</div>
 
}}}}</div><noinclude>[[Category:Infobox templates]]</noinclude>
 
}}}}</div><noinclude>[[Category:Infobox templates]]</noinclude>

Revision as of 08:49, 22 January 2020

Banner - Milestone - Leaderboard
Event Generic Banner.jpg
/*]]>*/