Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!
Difference between revisions of "Template:Quest infobox"
m |
m |
||
(22 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | {{BackToTop}}{{#set: | + | {{BackToTop}}{{#css: |
+ | .dtab { | ||
+ | border-left:1px solid black; | ||
+ | padding-left:10px; | ||
+ | } | ||
+ | .action{ | ||
+ | font-style: italic; | ||
+ | line-height: 16px; | ||
+ | display: inline-block; | ||
+ | width: 675px; | ||
+ | font-size: 12px; | ||
+ | } | ||
+ | }}{{#set: | ||
| Has game context = Quest | | Has game context = Quest | ||
| Has name = {{{Name|}}} | | Has name = {{{Name|}}} | ||
Line 26: | Line 38: | ||
<tr> | <tr> | ||
<td style="background: #ccccff; padding-left: 6px; padding-right: 6px;">'''Quest Line'''</td> | <td style="background: #ccccff; padding-left: 6px; padding-right: 6px;">'''Quest Line'''</td> | ||
− | <td>[[Has quest line::{{{QuestLine|None}}}]]</td> | + | <td>[[Has quest line::{{{QuestLine|None}}}| ]] |
+ | {{#if: {{{QuestLineLink|}}} | | ||
+ | [[{{{QuestLineLink}}}|{{{QuestLine}}}]] | | ||
+ | [[{{{QuestLine}}}]] | ||
+ | }}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 33: | Line 49: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td style="background: #ccccff; padding-left: 6px; padding-right: 6px;">'''Dungeon | + | <td style="background: #ccccff; padding-left: 6px; padding-right: 6px;">'''Area - Dungeon / Town'''</td> |
− | <td>[[Has quest area:: | + | <td>{{#arraymap:{{{DungeonArea}}}|;|@@@|[[Has quest area::@@@]]|; <nowiki />}} {{#if: {{{Dungeon|}}} | - {{#arraymap:{{{Dungeon}}}|;|@@@|[[Has quest location::@@@]]|; <nowiki />}} |
| }}</td> | | }}</td> | ||
</tr> | </tr> | ||
Line 72: | Line 88: | ||
}}<!-- end arraymap --><nowiki></nowiki> | }}<!-- end arraymap --><nowiki></nowiki> | ||
+ | <div class="mw-collapsible mw-collapsed"> | ||
* Items rewarded based on condition: | * Items rewarded based on condition: | ||
+ | <div class="mw-collapsible-content"> | ||
: {{#var:column 0}} | : {{#var:column 0}} | ||
+ | </div> | ||
+ | </div> | ||
}}{{#if: {{{ConditionalRewardItemChoice|}}} |<nowiki></nowiki> | }}{{#if: {{{ConditionalRewardItemChoice|}}} |<nowiki></nowiki> | ||
{{#arraymap:{{{ConditionalRewardItemChoice}}}|;|@@@|{{#vardefine:condition {{#explode:@@@|::|0}}|{{#var:condition {{#explode:@@@|::|0}}}}<li>{{Item|{{#sub:{{#explode:@@@|::|1}}|{{#pos:{{#explode:@@@|::|1}}| }}}} }} ({{#explode:{{#explode:@@@|::|1}}| |0}})</li>}} | {{#arraymap:{{{ConditionalRewardItemChoice}}}|;|@@@|{{#vardefine:condition {{#explode:@@@|::|0}}|{{#var:condition {{#explode:@@@|::|0}}}}<li>{{Item|{{#sub:{{#explode:@@@|::|1}}|{{#pos:{{#explode:@@@|::|1}}| }}}} }} ({{#explode:{{#explode:@@@|::|1}}| |0}})</li>}} | ||
− | | | + | |}}{{#vardefine:column 0 |
− | }}{{#vardefine:column 0 | ||
|}}{{#arraymap:{{{ConditionalRewardItemChoice}}}|;|@@@| | |}}{{#arraymap:{{{ConditionalRewardItemChoice}}}|;|@@@| | ||
Line 85: | Line 104: | ||
}}<!-- end arraymap --><nowiki></nowiki> | }}<!-- end arraymap --><nowiki></nowiki> | ||
+ | <div class="mw-collapsible mw-collapsed"> | ||
* Choice of one of the following based on condition: | * Choice of one of the following based on condition: | ||
+ | <div class="mw-collapsible-content"> | ||
: {{#var:column 0}} | : {{#var:column 0}} | ||
+ | </div> | ||
+ | </div> | ||
}}{{#if: {{{RewardOther|}}} |<nowiki></nowiki> | }}{{#if: {{{RewardOther|}}} |<nowiki></nowiki> | ||
{{{RewardOther}}} | {{{RewardOther}}} | ||
Line 95: | Line 118: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td style="border-right: 1px solid #8888aa;"> ◄ '''Previous Quest(s)''' <br/> {{#if: {{{PrevQuest|}}} | {{ | + | <td style="border-right: 1px solid #8888aa;"> ◄ '''Previous Quest(s)''' <br/> {{#if: {{{PrevQuest|}}} | |
− | <td style="text-align: right;"> '''Next Quest(s)''' ► <br/> {{#if: {{{NextQuest|}}} | {{ | + | {{#arraymap:{{{PrevQuest}}}|;|@@@|{{Quest list|name=@@@|type={{{PrevQuestType|}}} }}|<br>}} | None }}</td> |
+ | <td style="text-align: right;"> '''Next Quest(s)''' ► <br/> {{#if: {{{NextQuest|}}} | | ||
+ | {{#arraymap:{{{NextQuest}}}|;|@@@|{{Quest list|name=@@@|type={{{NextQuestType|}}} }}|<br>}} | None }}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
Line 108: | Line 133: | ||
{{#if: {{{Briefing|}}} | | {{#if: {{{Briefing|}}} | | ||
<h3 id="Briefing">Briefing</h3> | <h3 id="Briefing">Briefing</h3> | ||
− | + | {{{!}} class="wikitable" | |
− | {{!}}style="width: | + | {{!}}style="padding:10px; width:775px;"{{!}}{{{Briefing}}} |
{{!}}} | {{!}}} | ||
}} | }} | ||
Line 115: | Line 140: | ||
<hr> | <hr> | ||
<h3 id="In-Dungeon">In-Dungeon</h3> | <h3 id="In-Dungeon">In-Dungeon</h3> | ||
− | + | {{{!}} class="wikitable" | |
− | {{!}}style="width: | + | {{!}}style="padding:10px; width:775px;"{{!}}{{{In-Dungeon}}} |
{{!}}} | {{!}}} | ||
}} | }} | ||
Line 122: | Line 147: | ||
<hr> | <hr> | ||
<h3 id="Completion">Completion</h3> | <h3 id="Completion">Completion</h3> | ||
− | + | {{{!}} class="wikitable" | |
− | {{!}}style="width: | + | {{!}}style="padding:10px; width:775px;"{{!}}{{{Completion}}} |
{{!}}} | {{!}}} | ||
}} | }} | ||
Line 131: | Line 156: | ||
}} | }} | ||
{{#if: {{{References|}}} | | {{#if: {{{References|}}} | | ||
− | <h2 id=" | + | <h2 id="References">References</h2> |
{{{References}}} | {{{References}}} | ||
}} | }} | ||
<h2 id="Navigation">Navigation</h2> | <h2 id="Navigation">Navigation</h2> | ||
− | <table class="collapsible" cellpadding="2" cellspacing="2" style="width: 80em; padding: 6px | + | <table class="collapsible" cellpadding="2" cellspacing="2" style="width: 80em; padding: 6px; font-size: 0.83em; background-color: #f7f8ff; border:1px solid #8888aa; ; <!--margin-left: auto; margin-right: auto;-->"> |
<tr style="background: #ccccff;"> | <tr style="background: #ccccff;"> | ||
− | <th colspan="2" style="text-align: center; color:#000; padding:5px;">'''Quest Line''' | + | <th colspan="2" style="text-align: center; color:#000; padding-right:5px;">'''Quest Line''' |
</th> | </th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td style="text-align: center; background: #ccccff; width: 15em; padding-left: 6px; padding-right: 6px;">'''[[{{{QuestLine}}}]]'''</td> | + | <td style="text-align: center; background: #ccccff; width: 15em; padding-left: 6px; padding-right: 6px;">'''{{#if: {{{QuestLineLink|}}} |[[{{{QuestLineLink|}}}|{{{QuestLine}}}]]|[[{{{QuestLine}}}]]}}'''</td> |
<td style="padding-left: 10px; padding-right: 10px;"> | <td style="padding-left: 10px; padding-right: 10px;"> | ||
{{#ask: [[Has quest line::{{{QuestLine}}}]] | {{#ask: [[Has quest line::{{{QuestLine}}}]] | ||
Line 164: | Line 189: | ||
** Objective | ** Objective | ||
** Reward List | ** Reward List | ||
− | ** Previous Quest(s) | + | ** Previous Quest(s) - Multiple values can be entered if split with ';' character. |
− | ** Next Quest(s) | + | ** Next Quest(s) - Multiple values can be entered if split with ';' character. |
* Values will be saved for reference in new quest list template. | * Values will be saved for reference in new quest list template. | ||
Line 182: | Line 207: | ||
|Type= | |Type= | ||
|QuestLine= | |QuestLine= | ||
+ | |QuestLineLink= | ||
|QuestNumber= | |QuestNumber= | ||
|Level= | |Level= | ||
Line 229: | Line 255: | ||
|Map= | |Map= | ||
|Briefing= | |Briefing= | ||
− | {{NPCDialog|Kiri-Face2|Lady Kiri| | + | {{NPCDialog|Kiri-Face2|Lady Kiri|Text= |
<p>I should have known that he wouldn't come. He's either intentionally avoiding me or he's held captive again.</p> | <p>I should have known that he wouldn't come. He's either intentionally avoiding me or he's held captive again.</p> | ||
<p>I'm sorry, but could you look for him one more time? You know his name, don't you? It's Neil. Left Straight Neil.</p> | <p>I'm sorry, but could you look for him one more time? You know his name, don't you? It's Neil. Left Straight Neil.</p> | ||
}} | }} | ||
− | {{NPCDialog|Kiri-Face2|Lady Kiri| | + | {{NPCDialog|Kiri-Face2|Lady Kiri|Text= |
<p>Overflow text test</p> | <p>Overflow text test</p> | ||
}} | }} | ||
|In-Dungeon= | |In-Dungeon= | ||
<u><b>(Upon entering Room C4)</b></u><br/> | <u><b>(Upon entering Room C4)</b></u><br/> | ||
− | {{NPCDialog|Left Straight Neil|Left Straight Neil| | + | {{NPCDialog|Left Straight Neil|Left Straight Neil|Text= |
<p>Errr, is it you again?</p> | <p>Errr, is it you again?</p> | ||
<p>Haha! Thanks again for your help.</p> | <p>Haha! Thanks again for your help.</p> | ||
Line 246: | Line 272: | ||
}} | }} | ||
|Completion= | |Completion= | ||
− | {{NPCDialog|Kiri-Face1|Lady Kiri| | + | {{NPCDialog|Kiri-Face1|Lady Kiri|Text= |
<p>Oh, no... Did he ditch you again? Gosh, he's so stubborn! Geez... I need to ask him something.</p> | <p>Oh, no... Did he ditch you again? Gosh, he's so stubborn! Geez... I need to ask him something.</p> | ||
}} | }} |
Latest revision as of 09:06, 18 August 2023
'''Pseudocode:''' * Displays a box on the right-hand side of the screen which provides the following: ** Quest name as the table heading, defaults to {{PAGENAME}} ** Quest type (Used for list filtering) ** Chapter / Episode / Quest Line main page (Used for list filtering) ** Quest Number (Not displayed - Used for list sorting) ** Level Requirement (Used for list sorting) ** Dungeon Area (Used for list filtering) ** Dungeon (Used for list filtering) ** Quest Giver (Used for list filtering) ** Objective ** Reward List ** Previous Quest(s) - Multiple values can be entered if split with ';' character. ** Next Quest(s) - Multiple values can be entered if split with ';' character. * Values will be saved for reference in new quest list template. * Outside the box are arguments that aren't use for sorting: ** Description ** Map ** Dialogue ** Notes
This is the "Quest infobox" template. It should be called in the following format:
{{Quest infobox |Name= |Type= |QuestLine= |QuestLineLink= |QuestNumber= |Level= |NPC= |DungeonArea= |Dungeon= |PrevQuest= |PrevQuestType= |NextQuest= |NextQuestType= |Objectives= |ObjectiveItem= |RewardEXP= |RewardGold= |RewardItem= |RewardItemChoice= |ConditionalRewardItem= |ConditionalRewardItemChoice= |Description= |Map= |Briefing= |In-Dungeon= |Completion= |Notes= }}
Edit the page to see the template text.
Contents
Test
![]() |
|
---|---|
Type | Feat Quest |
Quest Line | Captured Launcher |
Level Req. | 53 |
Area - Dungeon / Town | Citadel - Verderia |
Quest Giver | Lady Kiri |
Objective(s)
|
|
Rewards
|
|
◄ Previous Quest(s) ![]() |
Next Quest(s) ► ![]() |
Captured Launcher 2 is the second quest of the Captured Launcher Feat Quest storyline.
Dialogue
Briefing
In-Dungeon
(Upon entering Room C4)
|
Completion
|
Notes
- The APC Left Straight Neil joins the party in Room C4.
Quest Line | |
---|---|
Captured Launcher | Captured Launcher 1 • Captured Launcher 2 • Captured Launcher 3 |