Difference between revisions of "Template:SummonShowcase"

From Dragalia Lost Wiki
Jump to navigation Jump to search
imported>Elaeagnifolia
(Created page with "<includeonly> {| class="wikitable" style="text-align: center; width:100%;" ! colspan=4 | Summoning Showcase |- | rowspan=3 style="width:45%; text-align:center;" | {{#ifexist:...")
>Caledor92
 
(460 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<includeonly>
+
<noinclude><!--
{| class="wikitable" style="text-align: center; width:100%;"
+
// Cargo Declare
! colspan=4 | Summoning Showcase
+
-->{{#cargo_declare:_table=SummonShowcase
|-
+
|Image=String
| rowspan=3 style="width:45%; text-align:center;" | {{#ifexist: {{image|}} | [[File:{{{image|}}}|300px|link=]] | [[File:Unknown.png|300px|link=]] }}
+
|BannerTopImage=String
| style="text-align:right;" | '''Rate Up Units'''
+
|Title=String
| style="text-align:center;" | {{#if: {{{unit1|}}} | <div style="display:inline-block; text-align:center;">{{Icon|{{{unit1Type|}}}|{{{unit1|}}}}}<br/>[[{{{unit1|}}}]]</div>}}{{#if: {{{unit2|}}} | <div style="display:inline-block; text-align:center;">{{Icon|{{{unit1Type|}}}|{{{unit2|}}}}}<br/>[[{{{unit2|}}}]]</div>}}{{#if: {{{unit3|}}} | <div style="display:inline-block; text-align:center;">{{Icon|{{{unit3Type|}}}|{{{unit1|}}}}}<br/>[[{{{unit3|}}}]]</div>}}{{#if: {{{unit4|}}} | <div style="display:inline-block; text-align:center;">{{Icon|{{{unit4Type|}}}|{{{unit4|}}}}}<br/>[[{{{unit4|}}}]]</div>}}
+
|Type=String
|-
+
|MaxSummons=Integer
| style="width:10%;text-align:right;" | '''Start Date'''
+
|StartDate=Datetime
| style="width:49%" | {{{start|}}}
+
|EndDate=Datetime
|-
+
|Adventurer=List (,) of String
| style="width:10%;text-align:right;" | '''End Date'''
+
|Dragons=List (,) of String
| style="width:40%" | {{{end|}}}
+
|Wyrmprints=List (,) of String
|}</includeonly><noinclude>{{doc}}
+
|Video=String
[[Category:Templates]]</noinclude>
+
}}</noinclude><includeonly><!--
 +
// Cargo Store
 +
-->{{#ifeq:{{PAGENAME}}|{{{Title|}}}|
 +
{{#cargo_store:_table=SummonShowcase
 +
|Image={{{Image|Banner Summon Showcase {{{Title|}}}.png}}}
 +
|BannerTopImage={{{BannerTopImage|{{{Title|}}} Summon Top Banner.png}}}
 +
|Title={{{Title|}}}
 +
|Type={{{Type|Regular}}}
 +
|MaxSummons={{{MaxSummons|}}}
 +
|StartDate={{#time:F d, Y h:i:s A e|{{{StartDate|}}}}}
 +
|EndDate={{#time:F d, Y h:i:s A e|{{{EndDate|}}}}}
 +
|Adventurer={{{Adventurer|}}}{{{CustomAdventurerList|}}}
 +
|Dragons={{{Dragon|}}}{{{CustomDragonList|}}}
 +
|Wyrmprints={{{Wyrmprint|}}}{{{CustomWyrmprintList|}}}
 +
|Video={{{Video|}}}
 +
}}
 +
|}}</includeonly>
 +
<!--
 +
Declaring what kind of unit is each one of them
 +
--><includeonly><!--
 +
--><div class="panel" style="display:inline-block;width:100%;max-width:1000px;">
 +
<div class="panel-heading">[[{{{Title|}}}]]</div>
 +
<div class="panel-body" style="display:flex;flex-wrap:wrap;align-items:center;justify-content:center;">
 +
 
 +
<div style="margin:15px">
 +
{{#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|}}}}}}}
 +
</div>
 +
 
 +
<div style="display:flex;flex-direction:column;flex-basis:350px;flex-grow:1">
 +
<div style="text-align:center">
 +
{{#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|}}}
 +
</div>
 +
 
 +
<hr style="margin:1em;">
 +
 
 +
<div style="text-align:center">
 +
<div>
 +
'''Start Date''': {{#time:F d, Y h:i:s A e|{{{StartDate|}}}}}
 +
</div>
 +
<div>
 +
'''End Date''': {{#time:F d, Y h:i:s A e|{{{EndDate|}}}}}
 +
</div>
 +
</div>
 +
</div>
 +
</div>
 +
</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=
}}