Difference between revisions of "Template:EventQuestHeader"
Jump to navigation
Jump to search
>Eave (don't add the new panel-body div unless either a prev/next quest is in fact defined) |
>Eave (support allowing quests (like onslaught quests) that don't have traditional banner images to be bannerless) |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 16: | Line 16: | ||
--><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 | -- Start if_prev/next | ||
-->{{#if: | -->{{#if: | ||
{{{PreviousQuest|}}}{{{NextQuest|}}}| | {{{PreviousQuest|}}}{{{NextQuest|}}}| | ||
| − | <div class="panel-body" style="padding:5px"> | + | <div class="panel-body" style="display:flex;justify-content:space-between;margin-top:-1em;padding:5px"> |
{{#ifeq: {{{PreviousQuest|}}}| | | | {{#ifeq: {{{PreviousQuest|}}}| | | | ||
| − | <div style=" | + | <div style="font-size:smaller"> |
<div style="font-weight:bold">Previous Quest</div> | <div style="font-weight:bold">Previous Quest</div> | ||
<div>[[{{{PreviousQuest}}}]]</div> | <div>[[{{{PreviousQuest}}}]]</div> | ||
| Line 30: | Line 32: | ||
}} | }} | ||
{{#ifeq: {{{NextQuest|}}}| | | | {{#ifeq: {{{NextQuest|}}}| | | | ||
| − | <div style=" | + | <div style="font-size:smaller;text-align:right"> |
<div style="font-weight:bold">Next Quest</div> | <div style="font-weight:bold">Next Quest</div> | ||
<div>[[{{{NextQuest}}}]]</div> | <div>[[{{{NextQuest}}}]]</div> | ||
</div> | </div> | ||
}} | }} | ||
| + | </div> | ||
|}}<!-- | |}}<!-- | ||
| − | -- End if_prev/next | + | -- 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.