Difference between revisions of "Template:EventQuestHeader"
Jump to navigation
Jump to search
>Yvsdrop m (move the dialogue display to the bottom of the page instead) |
>Eave (support allowing quests (like onslaught quests) that don't have traditional banner images to be bannerless) |
||
| (49 intermediate revisions by 4 users not shown) | |||
| Line 4: | Line 4: | ||
_table=EventQuestHeaders | _table=EventQuestHeaders | ||
|Name=String | |Name=String | ||
| + | |NextQuest=String | ||
| + | |PreviousQuest=String | ||
}}</noinclude><includeonly><!-- | }}</noinclude><includeonly><!-- | ||
| Line 9: | Line 11: | ||
_table=EventQuestHeaders | _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"> | ||
| + | {{#ifeq: {{{Bannerless|}}} | true | | | ||
<div class="panel-heading" style="padding:1em;"> | <div class="panel-heading" style="padding:1em;"> | ||
| − | <div class="banner-heading">[[File:Banner {{PAGENAME}}.png|link=]]</div> | + | <div class="banner-heading">[[File:Banner {{PAGENAME}}.png|link=]]</div> |
</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> | ||
| + | |}}<!-- | ||
| + | -- 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= | {{Exists|page={{PAGENAME}}/Prelude|then= | ||
Prelude= | Prelude= | ||
| Line 111: | Line 137: | ||
<div>{{:{{PAGENAME}}/Superhero}}</div> | <div>{{:{{PAGENAME}}/Superhero}}</div> | ||
{{!}}-{{!}} | {{!}}-{{!}} | ||
| − | |else=}} | + | |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>{{#if:{{{Dialogue|}}} | | </div>{{#if:{{{Dialogue|}}} | | ||
Latest revision as of 00:26, 14 June 2020
This template defines the table "EventQuestHeaders". This table has not been created yet.