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 (Dungeon argument can now accept multiple values. Removed bracket link requirements for certain page property arguments) |
m |
||
(47 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | {{#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 25: | Line 37: | ||
</tr> | </tr> | ||
<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(s)'''</td> |
− | <td>[[Has quest line::{{{ | + | <td>{{#arraymap:{{{QuestLine|None}}}|;|@@@|[[Has quest line::@@@| ]]{{#if: {{{QuestLineLink|}}} |[[{{{QuestLineLink}}}|@@@]]|[[@@@]]}}|; <br/>}} |
+ | </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 33: | Line 46: | ||
</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> |
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 45: | Line 58: | ||
{{#if:{{{Objectives|}}}{{{ObjectiveItem|}}} | | {{#if:{{{Objectives|}}}{{{ObjectiveItem|}}} | | ||
{{#if:{{{Objectives|}}}|{{{Objectives}}}}} | {{#if:{{{Objectives|}}}|{{{Objectives}}}}} | ||
− | {{#if:{{{ObjectiveItem|}}}|<ul>{{#arraymap:{{{ObjectiveItem}}}|;|@@@|<li>{{Item|{{#sub:@@@|{{#pos:@@@| }}}} }} ({{#explode:@@@| |0}})</li>|}}</ul>}} | + | {{#if:{{{ObjectiveItem|}}}| |
+ | :<ul>{{#arraymap:{{{ObjectiveItem}}}|;|@@@|<li>{{Item|{{#sub:@@@|{{#pos:@@@| }}}} }} ({{#explode:@@@| |0}})</li>|}}</ul>}} | ||
| | | | ||
<span style="color:red">Unknown</span>}} | <span style="color:red">Unknown</span>}} | ||
Line 63: | Line 77: | ||
}}{{#if: {{{ConditionalRewardItem|}}} | | }}{{#if: {{{ConditionalRewardItem|}}} | | ||
{{#arraymap:{{{ConditionalRewardItem}}}|;|@@@|{{#vardefine:condition {{#explode:@@@|::|0}}|{{#var:condition {{#explode:@@@|::|0}}}}<li>{{Item|{{#sub:{{#explode:@@@|::|1}}|{{#pos:{{#explode:@@@|::|1}}| }}}} }} ({{#explode:{{#explode:@@@|::|1}}| |0}})</li>}} | {{#arraymap:{{{ConditionalRewardItem}}}|;|@@@|{{#vardefine:condition {{#explode:@@@|::|0}}|{{#var:condition {{#explode:@@@|::|0}}}}<li>{{Item|{{#sub:{{#explode:@@@|::|1}}|{{#pos:{{#explode:@@@|::|1}}| }}}} }} ({{#explode:{{#explode:@@@|::|1}}| |0}})</li>}} | ||
− | |}}{{#vardefine:column | + | |}}{{#vardefine:column 0 |
− | |||
− | |||
− | |||
|}}{{#arraymap:{{{ConditionalRewardItem}}}|;|@@@| | |}}{{#arraymap:{{{ConditionalRewardItem}}}|;|@@@| | ||
{{#if:{{#var:condition {{#explode:@@@|::|0}} }}| | {{#if:{{#var:condition {{#explode:@@@|::|0}} }}| | ||
− | {{#vardefine:column | + | {{#vardefine:column 0|{{#var:column 0}}{{#explode:@@@|::|0}}<ul>{{#var:condition {{#explode:@@@|::|0}}}}</ul>}}{{#vardefine:condition {{#explode:@@@|::|0}}|}} |
}}<!-- end if --> | }}<!-- end if --> | ||
}}<!-- 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}} | |
− | + | </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 | + | |}}{{#vardefine:column 0 |
− | |||
− | |||
− | |||
|}}{{#arraymap:{{{ConditionalRewardItemChoice}}}|;|@@@| | |}}{{#arraymap:{{{ConditionalRewardItemChoice}}}|;|@@@| | ||
{{#if:{{#var:condition {{#explode:@@@|::|0}} }}| | {{#if:{{#var:condition {{#explode:@@@|::|0}} }}| | ||
− | {{#vardefine:column | + | {{#vardefine:column 0|{{#var:column 0}}{{#explode:@@@|::|0}}<ul>{{#var:condition {{#explode:@@@|::|0}}}}</ul>}}{{#vardefine:condition {{#explode:@@@|::|0}}|}} |
}}<!-- end if --> | }}<!-- end if --> | ||
}}<!-- 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}} | |
− | + | </div> | |
− | + | </div> | |
− | |||
− | |||
− | </ | ||
}}{{#if: {{{RewardOther|}}} |<nowiki></nowiki> | }}{{#if: {{{RewardOther|}}} |<nowiki></nowiki> | ||
{{{RewardOther}}} | {{{RewardOther}}} | ||
Line 111: | Line 115: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td style="border-right: 1px solid #8888aa;"> ◄ '''Previous Quest(s)''' <br/> {{#if: {{{PrevQuest|}}} | {{Quest list|name={{{ | + | <td style="border-right: 1px solid #8888aa;"> ◄ '''Previous Quest(s)''' <br/> {{#if: {{{PrevQuest|}}} | |
− | <td style="text-align: right;"> '''Next Quest(s)''' ► <br/> {{#if: {{{NextQuest|}}} | {{Quest list|name={{{ | + | {{#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 124: | Line 130: | ||
{{#if: {{{Briefing|}}} | | {{#if: {{{Briefing|}}} | | ||
<h3 id="Briefing">Briefing</h3> | <h3 id="Briefing">Briefing</h3> | ||
− | + | {{{!}} class="wikitable" | |
− | + | {{!}}style="padding:10px; width:775px;"{{!}}{{{Briefing}}} | |
+ | {{!}}} | ||
}} | }} | ||
{{#if: {{{In-Dungeon|}}} | | {{#if: {{{In-Dungeon|}}} | | ||
<hr> | <hr> | ||
<h3 id="In-Dungeon">In-Dungeon</h3> | <h3 id="In-Dungeon">In-Dungeon</h3> | ||
− | + | {{{!}} class="wikitable" | |
− | + | {{!}}style="padding:10px; width:775px;"{{!}}{{{In-Dungeon}}} | |
+ | {{!}}} | ||
}} | }} | ||
{{#if: {{{Completion|}}} | | {{#if: {{{Completion|}}} | | ||
<hr> | <hr> | ||
<h3 id="Completion">Completion</h3> | <h3 id="Completion">Completion</h3> | ||
− | + | {{{!}} class="wikitable" | |
− | + | {{!}}style="padding:10px; width:775px;"{{!}}{{{Completion}}} | |
+ | {{!}}} | ||
}} | }} | ||
{{#if: {{{Notes|}}} | | {{#if: {{{Notes|}}} | | ||
Line 143: | Line 152: | ||
{{{Notes}}} | {{{Notes}}} | ||
}} | }} | ||
+ | {{#if: {{{References|}}} | | ||
+ | <h2 id="References">References</h2> | ||
+ | {{{References}}} | ||
+ | }} | ||
+ | <h2 id="Navigation">Navigation</h2> | ||
+ | <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;"> | ||
+ | <th colspan="2" style="text-align: center; color:#000; padding-right:5px;">'''Quest Line(s)''' | ||
+ | </th> | ||
+ | </tr> | ||
+ | {{#arraymap:{{{QuestLine}}}|;|@@@| | ||
+ | <tr> | ||
+ | <td style="text-align: center; background: #ccccff; width: 15em; padding-left: 6px; padding-right: 6px;">'''{{#if: {{{QuestLineLink|}}} |[[{{{QuestLineLink|}}}|@@@]]|[[@@@]]}}'''</td> | ||
+ | <td style="padding-left: 10px; padding-right: 10px;"> | ||
+ | {{#ask: [[Has quest line::@@@]] | ||
+ | |format=list | ||
+ | |sep= • | ||
+ | |sort=Has quest sort order | ||
+ | }}</td> | ||
+ | </tr> | ||
+ | | }} | ||
+ | </table> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
<pre> | <pre> | ||
Line 157: | Line 188: | ||
** 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 175: | Line 206: | ||
|Type= | |Type= | ||
|QuestLine= | |QuestLine= | ||
+ | |QuestLineLink= | ||
|QuestNumber= | |QuestNumber= | ||
|Level= | |Level= | ||
Line 181: | Line 213: | ||
|Dungeon= | |Dungeon= | ||
|PrevQuest= | |PrevQuest= | ||
+ | |PrevQuestType= | ||
|NextQuest= | |NextQuest= | ||
+ | |NextQuestType= | ||
|Objectives= | |Objectives= | ||
|ObjectiveItem= | |ObjectiveItem= | ||
Line 188: | Line 222: | ||
|RewardItem= | |RewardItem= | ||
|RewardItemChoice= | |RewardItemChoice= | ||
+ | |ConditionalRewardItem= | ||
|ConditionalRewardItemChoice= | |ConditionalRewardItemChoice= | ||
|Description= | |Description= | ||
Line 209: | Line 244: | ||
|Dungeon=Verderia | |Dungeon=Verderia | ||
|PrevQuest=Captured Launcher 1 | |PrevQuest=Captured Launcher 1 | ||
+ | |PrevQuestType=Feat | ||
|NextQuest=Captured Launcher 3 | |NextQuest=Captured Launcher 3 | ||
+ | |NextQuestType=Feat | ||
|Objectives= | |Objectives= | ||
* Find and rescue Left Straight Neil in Verderia on Expert's Road or higher. | * Find and rescue Left Straight Neil in Verderia on Expert's Road or higher. | ||
Line 217: | Line 254: | ||
|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 234: | Line 271: | ||
}} | }} | ||
|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 03:00, 6 August 2024
'''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
Captured Launcher 2 | |
---|---|
Type | Feat Quest |
Quest Line(s) | Captured Launcher |
Level Req. | 53 |
Area - Dungeon / Town | Citadel - Verderia |
Quest Giver | Lady Kiri |
Objective(s)
|
|
Rewards
|
|
◄ Previous Quest(s) Captured Launcher 1 |
Next Quest(s) ► Captured Launcher 3 |
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(s) | |
---|---|
Captured Launcher | Captured Launcher 1 • Captured Launcher 2 • Captured Launcher 3 |