Difference between revisions of "Template:SummonShowcaseArchive"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>@DeletedUser41383047
>@DeletedUser41383047
Line 1: Line 1:
<includeonly>{{#vardefine:Adventurer|{{#ifeq:{{#cargo_query:tables=SummonShowcase|fields=Adventurer|where=Title="{{{1}}}"|default=|no html}}|||{{#cargo_query:tables=SummonShowcase,SummonShowcase__Adventurer|join on=SummonShowcase._ID=SummonShowcase__Adventurer._rowID|fields=_value|where=Title="{{{1}}}"|format=list|default=Error|no html}}}}}}
+
<includeonly>{{#vardefine:Adventurer|{{#ifeq:{{#cargo_query:tables=SummonShowcase|fields=Adventurer|where=StartDate="{{{1}}}"|default=|no html}}|||{{#cargo_query:tables=SummonShowcase,SummonShowcase__Adventurer|join on=SummonShowcase._ID=SummonShowcase__Adventurer._rowID|fields=_value|where=StartDate="{{{1}}}"|format=list|default=Error|no html}}}}}}
{{#vardefine:Dragon|{{#ifeq:{{#cargo_query:tables=SummonShowcase|fields=Dragon|where=Title="{{{1}}}"|default=|no html}}|||{{#cargo_query:tables=SummonShowcase,SummonShowcase__Dragon|join on=SummonShowcase._ID=SummonShowcase__Dragon._rowID|fields=_value|where=Title="{{{1}}}"|format=list|default=Error|no html}}}}}}
+
{{#vardefine:Dragon|{{#ifeq:{{#cargo_query:tables=SummonShowcase|fields=Dragon|where=StartDate="{{{1}}}"|default=|no html}}|||{{#cargo_query:tables=SummonShowcase,SummonShowcase__Dragon|join on=SummonShowcase._ID=SummonShowcase__Dragon._rowID|fields=_value|where=StartDate="{{{1}}}"|format=list|default=Error|no html}}}}}}
{{#vardefine:Wyrmprint|{{#ifeq:{{#cargo_query:tables=SummonShowcase|fields=Wyrmprint|where=Title="{{{1}}}"|default=|no html}}|||{{#cargo_query:tables=SummonShowcase,SummonShowcase__Wyrmprint|join on=SummonShowcase._ID=SummonShowcase__Wyrmprint._rowID|fields=_value|where=Title="{{{1}}}"|format=list|default=Error|no html}}}}}}
+
{{#vardefine:Wyrmprint|{{#ifeq:{{#cargo_query:tables=SummonShowcase|fields=Wyrmprint|where=StartDate="{{{1}}}"|default=|no html}}|||{{#cargo_query:tables=SummonShowcase,SummonShowcase__Wyrmprint|join on=SummonShowcase._ID=SummonShowcase__Wyrmprint._rowID|fields=_value|where=StartDate="{{{1}}}"|format=list|default=Error|no html}}}}}}
{{#vardefine:StartDate|{{#cargo_query:tables=SummonShowcase|fields=StartDate|where=Title="{{{1}}}"|format=list|default=Error|no html}}}}
+
{{#vardefine:Title|{{#cargo_query:tables=SummonShowcase|fields=Title|where=StartDate="{{{1}}}"|format=list|default=Error|no html}}}}
{{#vardefine:EndDate|{{#cargo_query:tables=SummonShowcase|fields=EndDate|where=Title="{{{1}}}"|format=list|default=Error|no html}}}}<!--
+
{{#vardefine:StartDate|{{#cargo_query:tables=SummonShowcase|fields=StartDate|where=StartDate="{{{1}}}"|format=list|default=Error|no html}}}}
 +
{{#vardefine:EndDate|{{#cargo_query:tables=SummonShowcase|fields=EndDate|where=StartDate="{{{1}}}"|format=list|default=Error|no html}}}}<!--
 
End of variable defines and start of page
 
End of variable defines and start of page
 
--><div class="panel" style="display:inline-block;width:100%;max-width:1000px;">
 
--><div class="panel" style="display:inline-block;width:100%;max-width:1000px;">
Line 10: Line 11:
  
 
<div style="margin:15px">
 
<div style="margin:15px">
{{#ifexist: File:Banner Summon Showcase {{{1}}}.png | [[File: Banner Summon Showcase {{{1}}}.png|400px|link=]] | [[File:Unknown.png|300px|link=]] }}
+
{{#ifexist: File:Banner Summon Showcase {{#var:Title}}.png | [[File: Banner Summon Showcase {{#var:Title}}.png|400px|link=[[{{#var:Adventurer}}]]]] | [[File:Unknown.png|300px|link=]] }}
 
</div>
 
</div>
  

Revision as of 10:45, 11 December 2018