Difference between revisions of "Template:CampaignQuestHeader"
Jump to navigation
Jump to search
>Canim44 (Another Template:Exists substitution) |
>Canim44 (#css → #widget/css) |
||
| (12 intermediate revisions by 3 users not shown) | |||
| Line 14: | Line 14: | ||
|PreviousQuest=String | |PreviousQuest=String | ||
|Summary=Wikitext (size=3000) | |Summary=Wikitext (size=3000) | ||
| − | }}</noinclude><includeonly><!-- | + | }}</noinclude><includeonly>{{#widget:Template/CampaignQuestHeader/css}}<!-- |
-->{{#cargo_store: | -->{{#cargo_store: | ||
| Line 32: | Line 32: | ||
--><div class="panel" style="margin:auto;max-width:800px"> | --><div class="panel" style="margin:auto;max-width:800px"> | ||
| − | <div class="panel-heading | + | <div class="panel-heading"> |
<div style="font-size:small"><div>Campaign: [[Campaign_Quests#Chapter_{{{Chapter}}}:_{{{ChapterName}}}|{{{ChapterName}}}]]</div> </div> | <div style="font-size:small"><div>Campaign: [[Campaign_Quests#Chapter_{{{Chapter}}}:_{{{ChapterName}}}|{{{ChapterName}}}]]</div> </div> | ||
<div>{{#if: {{{NextQuest2|}}}|<div style="font-size:small">EX: [[{{{NextQuest2}}}]]</div>}} | <div>{{#if: {{{NextQuest2|}}}|<div style="font-size:small">EX: [[{{{NextQuest2}}}]]</div>}} | ||
{{Exists|page={{PAGENAME}}/Normal|then=|else= | {{Exists|page={{PAGENAME}}/Normal|then=|else= | ||
| − | <div style="position: relative; top: 0px; left: 0px; display:inline-block;"> | + | <div style="position: relative; top: 0px; left: 0px; display:inline-block;"> |
| − | + | <div class="CQH-thumbnail">[[File:{{{ThumbnailImage|}}}.png|link=]]</div> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
<div style="position: absolute;width:100%;top: 50%;left: 50%;transform: translate(-50%, -50%);z-index: 99;color: #fff;text-shadow: -1px -1px 1px #000000, 1px -1px 1px #000000, -1px 1px 1px #000000, 1px 1px 1px #000000;font-size:.8em;"> | <div style="position: absolute;width:100%;top: 50%;left: 50%;transform: translate(-50%, -50%);z-index: 99;color: #fff;text-shadow: -1px -1px 1px #000000, 1px -1px 1px #000000, -1px 1px 1px #000000, 1px 1px 1px #000000;font-size:.8em;"> | ||
<div style="font-size:small">{{#ifeq:{{{Chapter|}}} | | | Chapter {{{Chapter|?}}} / {{{Location|?}}}-{{{Part|?}}}}}</div> | <div style="font-size:small">{{#ifeq:{{{Chapter|}}} | | | Chapter {{{Chapter|?}}} / {{{Location|?}}}-{{{Part|?}}}}}</div> | ||
| Line 54: | Line 45: | ||
<div class="panel-body" style="padding:5px"> | <div class="panel-body" style="padding:5px"> | ||
{{#ifeq: {{{PreviousQuest|}}}| | | | {{#ifeq: {{{PreviousQuest|}}}| | | | ||
| − | <div style="position:absolute | + | <div style="position:absolute;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 60: | Line 51: | ||
}} | }} | ||
{{#ifeq: {{{NextQuest|}}}| | | | {{#ifeq: {{{NextQuest|}}}| | | | ||
| − | <div style="position:absolute | + | <div style="position:absolute;right:5px;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> | ||
| Line 72: | Line 63: | ||
Normal= | Normal= | ||
<div>{{:{{PAGENAME}}/Normal}}</div> | <div>{{:{{PAGENAME}}/Normal}}</div> | ||
| + | {{Exists|page={{PAGENAME}}/Hard|then= | ||
{{!}}-{{!}} | {{!}}-{{!}} | ||
Hard= | Hard= | ||
<div>{{:{{PAGENAME}}/Hard}}</div> | <div>{{:{{PAGENAME}}/Hard}}</div> | ||
| + | }} | ||
| + | {{Exists|page={{PAGENAME}}/Very Hard|then= | ||
| + | {{!}}-{{!}} | ||
| + | Very Hard= | ||
| + | <div>{{:{{PAGENAME}}/Very Hard}}</div> | ||
| + | }} | ||
}} | }} | ||
</div>|else={{{Content|}}} | </div>|else={{{Content|}}} | ||
| Line 80: | Line 78: | ||
{{#if:{{{Summary|}}} | | {{#if:{{{Summary|}}} | | ||
<div style="padding:1em;"> | <div style="padding:1em;"> | ||
| − | <p style="margin: | + | <p style="margin:2em auto 15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Summary</p> |
{{{Summary|}}} | {{{Summary|}}} | ||
</div> | </div> | ||
| Line 88: | Line 86: | ||
<div style="padding:1em;"> | <div style="padding:1em;"> | ||
<p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Dialogue</p> | <p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Dialogue</p> | ||
| − | + | <div class="story-dialogue"><div>{{{Dialogue|}}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</div><!-- | </div><!-- | ||
This extra div is apparently needed for stuff to work right. Just leave it. Also, the above line break is needed to make sure the last line doesn't wrap improperly. | This extra div is apparently needed for stuff to work right. Just leave it. Also, the above line break is needed to make sure the last line doesn't wrap improperly. | ||
Latest revision as of 22:24, 22 February 2020
This template defines the table "CampaignQuestHeaders". This table has not been created yet.