Difference between revisions of "Template:EventQuestHeader"

From Dragalia Lost Wiki
Jump to navigation Jump to search
imported>Elaeagnifolia
(Created page with "<noinclude><!-- -->{{#cargo_declare: _table=EventQuestHeaders |Name=String }}</noinclude><includeonly><!-- -->{{#cargo_store: _table=CampaignQuestHeaders |Name={{{Name|{{PAG...")
>Eave
(support allowing quests (like onslaught quests) that don't have traditional banner images to be bannerless)
 
(234 intermediate revisions by 12 users not shown)
Line 1: Line 1:
<noinclude><!--
+
<noinclude>[[Category:Templates]]<!--
  
 
-->{{#cargo_declare:
 
-->{{#cargo_declare:
 
_table=EventQuestHeaders
 
_table=EventQuestHeaders
 
|Name=String
 
|Name=String
 +
|NextQuest=String
 +
|PreviousQuest=String
 
}}</noinclude><includeonly><!--
 
}}</noinclude><includeonly><!--
  
 
-->{{#cargo_store:
 
-->{{#cargo_store:
_table=CampaignQuestHeaders
+
_table=EventQuestHeaders
 
|Name={{{Name|{{PAGENAME}}}}}
 
|Name={{{Name|{{PAGENAME}}}}}
 +
|NextQuest={{{NextQuest|}}}
 +
|PreviousQuest={{{PreviousQuest|}}}
 
}}<!--
 
}}<!--
  
 
--><div class="panel" style="margin:auto;max-width:800px">
 
--><div class="panel" style="margin:auto;max-width:800px">
<div class="panel-heading" style="height:25px">
+
{{#ifeq: {{{Bannerless|}}} | true | |
<div>{{PAGENAME}}</div>
+
<div class="panel-heading" style="padding:1em;">
 +
  <div class="banner-heading">[[File:Banner {{PAGENAME}}.png|link=]]</div>
 +
</div>
 +
}}<!--
 +
-- Start if_prev/next
 +
-->{{#if:
 +
{{{PreviousQuest|}}}{{{NextQuest|}}}|
 +
<div class="panel-body" style="display:flex;justify-content:space-between;margin-top:-1em;padding:5px">
 +
{{#ifeq: {{{PreviousQuest|}}}| | |
 +
<div style="font-size:smaller">
 +
<div style="font-weight:bold">Previous Quest</div>
 +
<div>[[{{{PreviousQuest}}}]]</div>
 +
</div>
 +
}}
 +
{{#ifeq: {{{NextQuest|}}}| | |
 +
<div style="font-size:smaller;text-align:right">
 +
<div style="font-weight:bold">Next Quest</div>
 +
<div>[[{{{NextQuest}}}]]</div>
 +
</div>
 +
}}
 
</div>
 
</div>
{{#ifexist: {{PAGENAME}}/Beginner |
+
|}}<!--
 +
-- End if_prev/next -->
 
<div class="quest-container" style="margin-top:-5px">
 
<div class="quest-container" style="margin-top:-5px">
 
{{#tag:tabber|
 
{{#tag:tabber|
 +
{{#if:{{{Quest1|}}}||
 +
{{Exists|page={{PAGENAME}}/Prelude|then=
 +
Prelude=
 +
<div>{{:{{PAGENAME}}/Prelude}}</div>
 +
{{!}}-{{!}}
 +
|else=}}
 +
{{Exists|page={{PAGENAME}}/Beginner|then=
 
Beginner=
 
Beginner=
 
<div>{{:{{PAGENAME}}/Beginner}}</div>
 
<div>{{:{{PAGENAME}}/Beginner}}</div>
 
{{!}}-{{!}}
 
{{!}}-{{!}}
 +
|else=}}
 +
{{Exists|page={{PAGENAME}}/Standard|then=
 
Standard=
 
Standard=
 
<div>{{:{{PAGENAME}}/Standard}}</div>
 
<div>{{:{{PAGENAME}}/Standard}}</div>
 
{{!}}-{{!}}
 
{{!}}-{{!}}
 +
|else=}}
 +
{{Exists|page={{PAGENAME}}/Expert|then=
 
Expert=
 
Expert=
 
<div>{{:{{PAGENAME}}/Expert}}</div>
 
<div>{{:{{PAGENAME}}/Expert}}</div>
 
{{!}}-{{!}}
 
{{!}}-{{!}}
 +
|else=}}
 +
{{Exists|page={{PAGENAME}}/Master|then=
 
Master=
 
Master=
 
<div>{{:{{PAGENAME}}/Master}}</div>
 
<div>{{:{{PAGENAME}}/Master}}</div>
 +
{{!}}-{{!}}
 +
|else=}}
 +
{{Exists|page={{PAGENAME}}/Special|then=
 +
Special=
 +
<div>{{:{{PAGENAME}}/Special}}</div>
 +
{{!}}-{{!}}
 +
|else=}}
 +
{{Exists|page={{PAGENAME}}/EX|then=
 +
EX=
 +
<div>{{:{{PAGENAME}}/EX}}</div>
 +
{{!}}-{{!}}
 +
|else=}}
 +
{{Exists|page={{PAGENAME}}/Nightmare|then=
 +
Nightmare=
 +
<div>{{:{{PAGENAME}}/Nightmare}}</div>
 +
{{!}}-{{!}}
 +
|else=}}
 +
{{Exists|page={{PAGENAME}}/Normal|then=
 +
Normal=
 +
<div>{{:{{PAGENAME}}/Normal}}</div>
 +
{{!}}-{{!}}
 +
|else=}}
 +
{{Exists|page={{PAGENAME}}/Hard|then=
 +
Hard=
 +
<div>{{:{{PAGENAME}}/Hard}}</div>
 +
{{!}}-{{!}}
 +
|else=}}
 +
{{Exists|page={{PAGENAME}}/Lunatic|then=
 +
Lunatic=
 +
<div>{{:{{PAGENAME}}/Lunatic}}</div>
 +
{{!}}-{{!}}
 +
|else=}}
 +
{{Exists|page={{PAGENAME}}/Infernal|then=
 +
Infernal=
 +
<div>{{:{{PAGENAME}}/Infernal}}</div>
 +
{{!}}-{{!}}
 +
|else=}}
 +
{{Exists|page={{PAGENAME}}/Omega|then=
 +
Omega=
 +
<div>{{:{{PAGENAME}}/Omega}}</div>
 +
{{!}}-{{!}}
 +
|else=}}
 +
{{Exists|page={{PAGENAME}}/Omega (Solo)|then=
 +
Omega (Solo)=
 +
<div>{{:{{PAGENAME}}/Omega (Solo)}}</div>
 +
{{!}}-{{!}}
 +
|else=}}
 +
{{Exists|page={{PAGENAME}}/Omega (Raid)|then=
 +
Omega (Raid)=
 +
<div>{{:{{PAGENAME}}/Omega (Raid)}}</div>
 +
{{!}}-{{!}}
 +
|else=}}
 +
{{Exists|page={{PAGENAME}}/Alt Omega (Solo)|then=
 +
Alt Omega (Solo)=
 +
<div>{{:{{PAGENAME}}/Alt Omega (Solo)}}</div>
 +
{{!}}-{{!}}
 +
|else=}}
 +
{{Exists|page={{PAGENAME}}/Alt Omega (Raid)|then=
 +
Alt Omega (Raid)=
 +
<div>{{:{{PAGENAME}}/Alt Omega (Raid)}}</div>
 +
{{!}}-{{!}}
 +
|else=}}
 +
{{Exists|page={{PAGENAME}}/Superhero (Solo)|then=
 +
Superhero (Solo)=
 +
<div>{{:{{PAGENAME}}/Superhero (Solo)}}</div>
 +
{{!}}-{{!}}
 +
|else=}}
 +
{{Exists|page={{PAGENAME}}/Superhero|then=
 +
Superhero=
 +
<div>{{:{{PAGENAME}}/Superhero}}</div>
 +
{{!}}-{{!}}
 +
|else=}}}}
 +
{{#if:{{{Quest1|}}}|
 +
{{{Quest1}}}=
 +
<div>{{:{{PAGENAME}}/{{{Quest1}}}}}</div>
 +
{{!}}-{{!}}|}}
 +
{{#if:{{{Quest2|}}}|
 +
{{{Quest2}}}=
 +
<div>{{:{{PAGENAME}}/{{{Quest2}}}}}</div>
 +
{{!}}-{{!}}|}}
 +
{{#if:{{{Quest3|}}}|
 +
{{{Quest3}}}=
 +
<div>{{:{{PAGENAME}}/{{{Quest3}}}}}</div>
 +
{{!}}-{{!}}|}}
 +
{{#if:{{{Quest4|}}}|
 +
{{{Quest4}}}=
 +
<div>{{:{{PAGENAME}}/{{{Quest4}}}}}</div>
 +
{{!}}-{{!}}|}}
 +
{{#if:{{{Quest5|}}}|
 +
{{{Quest5}}}=
 +
<div>{{:{{PAGENAME}}/{{{Quest5}}}}}</div>
 +
{{!}}-{{!}}|}}
 +
{{#if:{{{Quest6|}}}|
 +
{{{Quest6}}}=
 +
<div>{{:{{PAGENAME}}/{{{Quest6}}}}}</div>
 +
{{!}}-{{!}}|}}
 +
{{#if:{{{Quest7|}}}|
 +
{{{Quest7}}}=
 +
<div>{{:{{PAGENAME}}/{{{Quest7}}}}}</div>
 +
{{!}}-{{!}}|}}
 +
{{#if:{{{Quest8|}}}|
 +
{{{Quest8}}}=
 +
<div>{{:{{PAGENAME}}/{{{Quest8}}}}}</div>
 +
{{!}}-{{!}}|}}
 +
{{#if:{{{Quest9|}}}|
 +
{{{Quest9}}}=
 +
<div>{{:{{PAGENAME}}/{{{Quest9}}}}}</div>
 +
{{!}}-{{!}}|}}
 +
{{#if:{{{Quest10|}}}|
 +
{{{Quest10}}}=
 +
<div>{{:{{PAGENAME}}/{{{Quest10}}}}}</div>
 +
{{!}}-{{!}}|}}
 
}}
 
}}
</div> | {{{Content|}}}
+
</div>{{#if:{{{Dialogue|}}} |
}}</includeonly>
+
<div style="padding:0 1em 1em;">
 +
<p style="margin:15px auto;border-bottom:1px solid;font-size:1.2em;font-variant-caps:small-caps;font-weight:bold">Dialogue</p>
 +
<div class="story-dialogue">
 +
{{{Dialogue|}}}
 +
</div>
 +
</div>
 +
|}}
 +
</div>
 +
 
 +
[[Category:Quests]] [[Category:Event Quests]]</includeonly>

Latest revision as of 00:26, 14 June 2020

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