Difference between revisions of "Template:Event"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Eave
m (add Onslaught to the types of events that have castle stories)
>Boblers
(adding support for enemy element, enemy affliction, and theme song)
Line 10: Line 10:
 
|Type=String
 
|Type=String
 
|Description=Wikitext (size=500)
 
|Description=Wikitext (size=500)
 +
|EnemyElement=String
 +
|EnemyAffliction=String
 +
|ThemeSong=String
 
|StartDate=DateTime
 
|StartDate=DateTime
 
|EndDate=DateTime
 
|EndDate=DateTime
Line 30: Line 33:
 
|Type={{{Type|}}}
 
|Type={{{Type|}}}
 
|Description={{{Description|}}}
 
|Description={{{Description|}}}
 +
|EnemyElement={{{EnemyElement|}}}
 +
|EnemyAffliction={{{EnemyAffliction|}}}
 +
|ThemeSong={{{ThemeSong|}}}
 
|StartDate={{#time:F d, Y h:i:s A e|{{{StartDate|}}}}}
 
|StartDate={{#time:F d, Y h:i:s A e|{{{StartDate|}}}}}
 
|EndDate={{#time:F d, Y h:i:s A e|{{{EndDate|}}}}}
 
|EndDate={{#time:F d, Y h:i:s A e|{{{EndDate|}}}}}
Line 46: Line 52:
 
|Type={{{Type|}}}
 
|Type={{{Type|}}}
 
|Description={{{Description|}}}
 
|Description={{{Description|}}}
 +
|EnemyElement={{{EnemyElement|}}}
 +
|EnemyAffliction={{{EnemyAffliction|}}}
 +
|ThemeSong={{{ThemeSong|}}}
 
|StartDate={{#time:F d, Y h:i:s A e|{{{StartDate|}}}}}
 
|StartDate={{#time:F d, Y h:i:s A e|{{{StartDate|}}}}}
 
|ExclusiveAdventurer={{{ExclusiveAdventurer|}}}
 
|ExclusiveAdventurer={{{ExclusiveAdventurer|}}}
Line 63: Line 72:
 
<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">
 +
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|}}}}}
 +
</div>|}}
 +
{{#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|}}}
 +
</div>}}
 +
{{#if:{{{ThemeSong|}}}|<div style="margin:10px auto 0;font-size:.9em;max-width:600px;font-weight:bold">
 +
Theme Song: {{{ThemeSong|}}}
 +
</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|}}}}} | }}

Revision as of 20:54, 24 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.