Difference between revisions of "Template:SummonShowcase"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Eave
(Update to use Module:SummonShowcase lua methods instead, which shortens the repetitive explosion logic using for loops instead.)
>Caledor92
 
(27 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
|BannerTopImage=String
 
|BannerTopImage=String
 
|Title=String
 
|Title=String
 +
|Type=String
 +
|MaxSummons=Integer
 
|StartDate=Datetime
 
|StartDate=Datetime
 
|EndDate=Datetime
 
|EndDate=Datetime
Line 18: Line 20:
 
|BannerTopImage={{{BannerTopImage|{{{Title|}}} Summon Top Banner.png}}}
 
|BannerTopImage={{{BannerTopImage|{{{Title|}}} Summon Top Banner.png}}}
 
|Title={{{Title|}}}
 
|Title={{{Title|}}}
 +
|Type={{{Type|Regular}}}
 +
|MaxSummons={{{MaxSummons|}}}
 
|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 34: Line 38:
  
 
<div style="margin:15px">
 
<div style="margin:15px">
{{#ifexist: File:Banner Summon Showcase {{{Title|}}}.png | [[File: Banner Summon Showcase {{{Title|}}}.png|400px|link={{{Title|}}}]] | [[File:Unknown.png|300px|link=File:Banner Summon Showcase {{{Title|}}}.png]] }}
+
{{#ifexist: File:Banner Summon Showcase {{{Title|}}}.png | [[File: Banner Summon Showcase {{{Title|}}}.png|400px|link={{{Title|}}}]] | [[File:Unknown.png|400px|link=File:Banner Summon Showcase {{{Title|}}}.png]] }}
 
{{#if: {{{Video|}}}| {{#ev:youtube|{{{Video|}}}}}}}
 
{{#if: {{{Video|}}}| {{#ev:youtube|{{{Video|}}}}}}}
 
</div>
 
</div>
Line 40: Line 44:
 
<div style="display:flex;flex-direction:column;flex-basis:350px;flex-grow:1">
 
<div style="display:flex;flex-direction:column;flex-basis:350px;flex-grow:1">
 
<div style="text-align:center">
 
<div style="text-align:center">
'''Rate Up Units'''
+
{{#ifeq:{{{Type|}}}|Platinum|'''Guaranteed one of:'''|'''Rate Up Units:'''}}
 
<!--[[Module:SummonShowcase]]-->{{#invoke:SummonShowcase|Adventurers|{{{Adventurer|}}}}}{{{CustomAdventurer|}}}{{#invoke:SummonShowcase|Dragons|{{{Dragon|}}}}}{{{CustomDragon|}}}{{#invoke:SummonShowcase|Wyrmprints|{{{Wyrmprint|}}}}}{{{CustomWyrmprint|}}}
 
<!--[[Module:SummonShowcase]]-->{{#invoke:SummonShowcase|Adventurers|{{{Adventurer|}}}}}{{{CustomAdventurer|}}}{{#invoke:SummonShowcase|Dragons|{{{Dragon|}}}}}{{{CustomDragon|}}}{{#invoke:SummonShowcase|Wyrmprints|{{{Wyrmprint|}}}}}{{{CustomWyrmprint|}}}
 
</div>
 
</div>
Line 56: Line 60:
 
</div>
 
</div>
 
</div>
 
</div>
</div>[[Category:Summon Showcase]]</includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude>
+
</div>
 +
{{#if:{{{Notes|}}}|
 +
==Notes==
 +
{{{Notes|}}}
 +
|}}
 +
{{Summon Showcase navbox}}
 +
{{#ifeq:{{{Type|Regular}}}|Platinum|[[Category:Platinum Showcase]]}}[[Category:Summon Showcase]]</includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude>

Latest revision as of 05:46, 15 July 2020

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

50px Documentation

Parameters

  • Title= Title as in the Summon Showcase Banner
    • Example:
      Winds of Hope
  • StartDate= The start date for the banner, with the format "Month Day, Year h:mm AM UTC"
    • Example:
      November 15, 2018 6:00 AM UTC
  • EndDate= The end date for the banner, with the format "Month Day, Year h:mm AM UTC"
    • Example:
      November 30, 2018 5:59 AM UTC
  • Adventurer= List of adventurers featured in the banner, separated by commas
    • Example:
      Louise, Lowen, Pietro
  • Dragon= List of dragons featured in the banner, separated by commas
    • Example:
      Garuda, Roc
  • Wyrmprint= List of wyrmprint featured in the banner, separated by commas
    • Example:
      Gentle Winds, Gale of Beauty, Fresh Perspective, Sisters of the Anvil, Garuda's Feathers
  • Type= Regular (default value if missing) or Platinum.
  • MaxSummons= Max number of times you're allowed to summon on a Platinum showcase.


  • Note that the image uses the title to render and show be uploaded as:
    Banner Summon Showcase "Title".png
    • Example:
      Banner Summon Showcase Winds of Hope.png

Example

{{SummonShowcase
|Title=Winds of Hope
|StartDate=November 15, 2018 6:00 AM UTC
|EndDate=November 30, 2018 5:59 AM UTC
|Adventurer=Louise, Lowen, Pietro
|Dragon=Garuda, Roc
|Wyrmprint=Gentle Winds, Gale of Beauty, Fresh Perspective, Sisters of the Anvil, Garuda's Feathers
}}

Blank Template

{{SummonShowcase
|Title=
|StartDate=
|EndDate=
|Adventurer=
|Dragon=
|Wyrmprint=
}}