Difference between revisions of "Template:EventQuestHeader"
Jump to navigation
Jump to search
>Caledor92 |
>Eave (support allowing quests (like onslaught quests) that don't have traditional banner images to be bannerless) |
||
| (12 intermediate revisions by 2 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| | ||
Latest revision as of 00:26, 14 June 2020
This template defines the table "EventQuestHeaders". This table has not been created yet.