Difference between revisions of "Template:CampaignQuestHeader"
Jump to navigation
Jump to search
>Seraii |
>Canim44 (#css → #widget/css) |
||
| (47 intermediate revisions by 5 users not shown) | |||
| Line 7: | Line 7: | ||
|ChapterName=String | |ChapterName=String | ||
|Location=String | |Location=String | ||
| − | |Part= | + | |Part=String |
|SectionName=String | |SectionName=String | ||
|LocationName=String | |LocationName=String | ||
| 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: [[ | + | <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= |
<div style="position: relative; top: 0px; left: 0px; display:inline-block;"> | <div style="position: relative; top: 0px; left: 0px; display:inline-block;"> | ||
| − | <div | + | <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 45: | 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 51: | 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 58: | Line 58: | ||
<!-- TODO --> | <!-- TODO --> | ||
</div> | </div> | ||
| − | {{ | + | {{Exists|page={{PAGENAME}}/Normal|then= |
| − | <div class="quest-container" style="margin-top: | + | <div class="quest-container" style="margin-top:2em"> |
{{#tag:tabber| | {{#tag:tabber| | ||
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> | ||
}} | }} | ||
| − | </div> | {{{Content|}}} | + | {{Exists|page={{PAGENAME}}/Very Hard|then= |
| + | {{!}}-{{!}} | ||
| + | Very Hard= | ||
| + | <div>{{:{{PAGENAME}}/Very Hard}}</div> | ||
| + | }} | ||
| + | }} | ||
| + | </div>|else={{{Content|}}} | ||
}} | }} | ||
{{#if:{{{Summary|}}} | | {{#if:{{{Summary|}}} | | ||
<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">Summary</p> | + | <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 79: | 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> | ||
| − | {{{Dialogue|}}} | + | <div class="story-dialogue"><div>{{{Dialogue|}}} |
| + | </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. | ||
| + | --></div> | ||
</div> | </div> | ||
}} | }} | ||
</div>[[Category:Quests]] [[Category:Campaign Quests]]</includeonly> | </div>[[Category:Quests]] [[Category:Campaign Quests]]</includeonly> | ||
Latest revision as of 22:24, 22 February 2020
This template defines the table "CampaignQuestHeaders". This table has not been created yet.