Difference between revisions of "Template:Event"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Boblers
(adding support for enemy element, enemy affliction, and theme song)
>Boblers
(adding support for up to 2 elements)
Line 10: Line 10:
 
|Type=String
 
|Type=String
 
|Description=Wikitext (size=500)
 
|Description=Wikitext (size=500)
|EnemyElement=String
+
|EnemyElement1=String
 +
|EnemyElement2=String
 
|EnemyAffliction=String
 
|EnemyAffliction=String
 
|ThemeSong=String
 
|ThemeSong=String
Line 33: Line 34:
 
|Type={{{Type|}}}
 
|Type={{{Type|}}}
 
|Description={{{Description|}}}
 
|Description={{{Description|}}}
|EnemyElement={{{EnemyElement|}}}
+
|EnemyElement1={{{EnemyElement1|}}}
 +
|EnemyElement2={{{EnemyElement2|}}}
 
|EnemyAffliction={{{EnemyAffliction|}}}
 
|EnemyAffliction={{{EnemyAffliction|}}}
 
|ThemeSong={{{ThemeSong|}}}
 
|ThemeSong={{{ThemeSong|}}}
Line 52: Line 54:
 
|Type={{{Type|}}}
 
|Type={{{Type|}}}
 
|Description={{{Description|}}}
 
|Description={{{Description|}}}
|EnemyElement={{{EnemyElement|}}}
+
|EnemyElement1={{{EnemyElement1|}}}
 +
|EnemyElement2={{{EnemyElement2|}}}
 
|EnemyAffliction={{{EnemyAffliction|}}}
 
|EnemyAffliction={{{EnemyAffliction|}}}
 
|ThemeSong={{{ThemeSong|}}}
 
|ThemeSong={{{ThemeSong|}}}
Line 72: Line 75:
 
<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:{{{EnemyElement|}}}|<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:{{{EnemyElement|}}}|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 {{{EnemyElement|}}}.png|30px|link=]] {{{EnemyElement|}}}}}
+
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">

Revision as of 01:13, 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.