Difference between revisions of "Template:Event"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Boblers
(adding support for up to 2 elements)
>Boblers
(spacing adjustments)
Line 74: Line 74:
 
</div>
 
</div>
 
<div class="quest-container" style="margin-top:-5px;text-align:center">
 
<div class="quest-container" style="margin-top:-5px;text-align:center">
<div style="padding:0 20px;margin:auto;font-style:italic;font-size:.9em;max-width:600px;">{{{Description|}}}</div>
+
<div style="padding:0 20px;margin:auto;font-style:italic;font-size:.9em;max-width:600px;">{{{Description|}}}</div><!--
{{#if:{{{EnemyElement1|}}}|<div style="margin:10px auto 0;font-size:.9em;max-width:600px;font-weight:bold">
+
-->{{#if:{{{EnemyElement1|}}}|<div style="margin:10px auto 0;font-size:.9em;max-width:600px;font-weight:bold">
 
Enemy Element: {{#switch:{{{EnemyElement1|}}}|All=[[File:Icon Element Flame.png|30px|link=]][[File:Icon Element Water.png|30px|link=]][[File:Icon Element Wind.png|30px|link=]][[File:Icon Element Light.png|30px|link=]][[File:Icon Element Shadow.png|30px|link=]] All|[[File:Icon Element {{{EnemyElement1|}}}.png|30px|link=]] {{{EnemyElement1|}}}}}{{#if:{{{EnemyElement2|}}}|, [[File:Icon Element {{{EnemyElement2|}}}.png|30px|link=]] {{{EnemyElement2|}}}}}
 
Enemy Element: {{#switch:{{{EnemyElement1|}}}|All=[[File:Icon Element Flame.png|30px|link=]][[File:Icon Element Water.png|30px|link=]][[File:Icon Element Wind.png|30px|link=]][[File:Icon Element Light.png|30px|link=]][[File:Icon Element Shadow.png|30px|link=]] All|[[File:Icon Element {{{EnemyElement1|}}}.png|30px|link=]] {{{EnemyElement1|}}}}}{{#if:{{{EnemyElement2|}}}|, [[File:Icon Element {{{EnemyElement2|}}}.png|30px|link=]] {{{EnemyElement2|}}}}}
</div>|}}
+
</div>|}}<!--
{{#if:{{{EnemyAffliction|}}}|<div style="margin:10px auto 0;font-size:.9em;max-width:600px;font-weight:bold">
+
-->{{#if:{{{EnemyAffliction|}}}|<div style="margin:10px auto 0;font-size:.9em;max-width:600px;font-weight:bold">
 
Enemy Affliction: [[File:Affliction {{lc:{{{EnemyAffliction|}}}}} large icon.png|30px|link={{{EnemyAffliction|}}}]] {{{EnemyAffliction|}}}
 
Enemy Affliction: [[File:Affliction {{lc:{{{EnemyAffliction|}}}}} large icon.png|30px|link={{{EnemyAffliction|}}}]] {{{EnemyAffliction|}}}
</div>}}
+
</div>}}<!--
{{#if:{{{ThemeSong|}}}|<div style="margin:10px auto 0;font-size:.9em;max-width:600px;font-weight:bold">
+
-->{{#if:{{{ThemeSong|}}}|<div style="margin:10px auto 0;font-size:.9em;max-width:600px;font-weight:bold">
Theme Song: {{{ThemeSong|}}}
+
Theme Song:<br/>{{{ThemeSong|}}}
</div>}}
+
</div>}}<!--
<div style="margin:10px auto 0;font-size:.9em;max-width:600px;font-weight:bold">
+
--><div style="margin:10px auto 0;font-size:.9em;max-width:600px;font-weight:bold">
 
{{#time:F d, Y h:i:s A e|{{{StartDate|}}}}} - {{#if:{{{EndDate|}}} | {{#time:F d, Y h:i:s A e|{{{EndDate|}}}}} | }}
 
{{#time:F d, Y h:i:s A e|{{{StartDate|}}}}} - {{#if:{{{EndDate|}}} | {{#time:F d, Y h:i:s A e|{{{EndDate|}}}}} | }}
 
</div>
 
</div>

Revision as of 02:27, 25 June 2020

50px Documentation

Usage

{{Event
|Name=
|NameJP=
|NameSC=
|NameTC=
|Date=
|Type=
|Description=
|EnemyElement=
|EnemyAffliction=
|ThemeSong=
|StartDate=
|EndDate=
|Rerun=
|Content=
|RaidBoosts=
|RareRaidBoosts=
|PersonalPerks=
|Battles=
|BattleQuestName1=
|ExclusiveAdventurer=
|ExclusiveDragon=
|ExclusiveWyrmprint=
|ExclusiveFacility=
|ExclusiveWeapon=
|TreasureTradeShop=
|CollectionRewards=
|EventMaterialCollection=
|SummonRewards=
|EventMaterialSummon=
|5StarSummonWyrmprint=
}}

This template defines the table "Events". This table has not been created yet.