Difference between revisions of "Template:CampaignQuestHeader"
Jump to navigation
Jump to search
>Teg (Created page with "<div class="panel" style="margin:auto;min-width:300px;max-width:800px"> <div class="panel-heading"> <div>{{{Name|{{PAGENAME}}}}}</div> <div style="font-size:small">Chapter {{{...") |
>Canim44 (#css → #widget/css) |
||
| (353 intermediate revisions by 9 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <div class="panel" style="margin:auto | + | <noinclude>[[Category:Templates]]<!-- |
| + | |||
| + | -->{{#cargo_declare: | ||
| + | _table=CampaignQuestHeaders | ||
| + | |Name=String | ||
| + | |Chapter=Integer | ||
| + | |ChapterName=String | ||
| + | |Location=String | ||
| + | |Part=String | ||
| + | |SectionName=String | ||
| + | |LocationName=String | ||
| + | |NextQuest=String | ||
| + | |NextQuest2=String | ||
| + | |PreviousQuest=String | ||
| + | |Summary=Wikitext (size=3000) | ||
| + | }}</noinclude><includeonly>{{#widget:Template/CampaignQuestHeader/css}}<!-- | ||
| + | |||
| + | -->{{#cargo_store: | ||
| + | _table=CampaignQuestHeaders | ||
| + | |Name={{{Name|{{PAGENAME}}}}} | ||
| + | |Chapter={{{Chapter|}}} | ||
| + | |ChapterName={{{ChapterName}}} | ||
| + | |Location={{{Location|}}} | ||
| + | |Part={{{Part|}}} | ||
| + | |SectionName={{{SectionName|}}} | ||
| + | |LocationName={{{LocationName|}}} | ||
| + | |NextQuest={{{NextQuest|}}} | ||
| + | |NextQuest2={{{NextQuest2|}}} | ||
| + | |PreviousQuest={{{PreviousQuest|}}} | ||
| + | |Summary={{{Summary|}}} | ||
| + | }}<!-- | ||
| + | |||
| + | --><div class="panel" style="margin:auto;max-width:800px"> | ||
<div class="panel-heading"> | <div class="panel-heading"> | ||
| − | <div>{{{ | + | <div style="font-size:small"><div>Campaign: [[Campaign_Quests#Chapter_{{{Chapter}}}:_{{{ChapterName}}}|{{{ChapterName}}}]]</div> </div> |
| − | <div style="font-size:small">Chapter {{{Chapter|?}}} / {{{Location|?}}}-{{{Part|?}}}</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 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="font-size:small">{{#ifeq:{{{Chapter|}}} | | | Chapter {{{Chapter|?}}} / {{{Location|?}}}-{{{Part|?}}}}}</div> | ||
| + | <div><span style="display:inline-block;vertical-align:middle;margin:-7px 2px 0 -1px">[[File:Icon_Episode_Title_Summon.png|19px|middle|link=]]</span>{{PAGENAME}}</div> | ||
| + | </div></div>}}</div> | ||
</div> | </div> | ||
| − | <div class="panel-body" style="padding:5px | + | <div class="panel-body" style="padding:5px"> |
| − | {{# | + | {{#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> | ||
</div> | </div> | ||
}} | }} | ||
| − | {{# | + | {{#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> | ||
| − | + | </div> | |
| − | |||
}} | }} | ||
| + | <!-- TODO --> | ||
</div> | </div> | ||
| + | {{Exists|page={{PAGENAME}}/Normal|then= | ||
| + | <div class="quest-container" style="margin-top:2em"> | ||
| + | {{#tag:tabber| | ||
| + | Normal= | ||
| + | <div>{{:{{PAGENAME}}/Normal}}</div> | ||
| + | {{Exists|page={{PAGENAME}}/Hard|then= | ||
| + | {{!}}-{{!}} | ||
| + | Hard= | ||
| + | <div>{{:{{PAGENAME}}/Hard}}</div> | ||
| + | }} | ||
| + | {{Exists|page={{PAGENAME}}/Very Hard|then= | ||
| + | {{!}}-{{!}} | ||
| + | Very Hard= | ||
| + | <div>{{:{{PAGENAME}}/Very Hard}}</div> | ||
| + | }} | ||
| + | }} | ||
| + | </div>|else={{{Content|}}} | ||
}} | }} | ||
| − | < | + | {{#if:{{{Summary|}}} | |
| + | <div style="padding:1em;"> | ||
| + | <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|}}} | ||
</div> | </div> | ||
| + | }} | ||
| + | {{#if:{{{Dialogue|}}} | | ||
| + | {{StoryTextHeader|storyType=Quest|storyName={{#ifeq:{{{Chapter|}}} | | | Chapter {{{Chapter|?}}} / {{{Location|?}}}-{{{Part|?}}}}}: {{{Name|{{PAGENAME}}}}}}} | ||
| + | <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> | ||
| + | <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> | ||
Latest revision as of 22:24, 22 February 2020
This template defines the table "CampaignQuestHeaders". This table has not been created yet.