Template:QuestInfo: Difference between revisions

From Dragon Quest Wiki
mNo edit summary
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
See [[Template:QuestInfo/doc]] for documentation and examples for using this template.<br/>
{{{{PAGENAME}}/doc}}
[[Category:Location templates|{{PAGENAME}}]]
[[Category:Location templates|{{PAGENAME}}]]
[[Category:Dragon Quest IX templates|{{PAGENAME}}]]
[[Category:Dragon Quest IX templates|{{PAGENAME}}]]
</noinclude>
</noinclude>
<onlyinclude><includeonly>
<onlyinclude><includeonly>
{| class="collapsible collapsed locationTemplateTable" cellpadding="5" cellspacing="0" style="margin: 5px 5px 5px 5px; height:100%; width:50%"
{| class="mw-collapsible mw-collapsed locationTemplateTable" cellpadding="5" cellspacing="0" style="margin: 5px 5px 5px 5px; height:100%; width:500px"
! class="locationTemplateHeader" colspan="2"| Quest #{{{num}}} - "'''{{{title}}}'''"
! class="locationTemplateHeader" colspan="2"| <span style="font-size:1.1em;">{{tnav|DQIXQuest/{{{num}}}|fontcolor=white}}</span> Quest #{{{num}}} - "'''{{{title}}}'''"
|-
|-
| class="locationTemplateHeader" | Location
| class="locationTemplateHeader" | Location
| class="locationTemplateCell" | {{{location}}}
| class="locationTemplateCell" style="text-align:left;" | {{{location}}}
|-
|-
| class="locationTemplateHeader" | Available at
| class="locationTemplateHeader" | Availability
| class="locationTemplateCell" style="text-align:left;" | {{{available}}}
| class="locationTemplateCell" style="text-align:left;" | {{#if:{{{available|}}}|{{{available}}}|Upon arriving at {{{location}}}}}
|-
|-
| class="locationTemplateHeader" | Requested by
| class="locationTemplateHeader" | Requested by
| class="locationTemplateCell" style="text-align:left;"| {{{requester}}}
| class="locationTemplateCell" style="text-align:left;"| {{{requester}}}
|-
|-
| class="locationTemplateHeader" | Response to
| class="locationTemplateHeader" | Fulfilled to
| class="locationTemplateCell" style="text-align:left;"| {{#if: {{{responser|}}} | {{{responser}}} | {{{requester}}} }}
| class="locationTemplateCell" style="text-align:left;"| {{#if: {{{responser|}}} | {{{responser}}} | {{{requester}}} }}
|-
|-
| class="locationTemplateHeader" | Requirement
{{#if:{{{item|}}} |
| class="locationTemplateCell" style="text-align:left;" | {{{item}}}
{{!}} class="locationTemplateHeader" {{!}} Item Required
{{!}} class="locationTemplateCell" style="text-align:left;" {{!}} {{{item}}}
}}
|-
|-
| class="locationTemplateHeader" | Reward
| class="locationTemplateHeader" | Reward
| class="locationTemplateCell" style="text-align:left;" | {{{reward}}}
| class="locationTemplateCell" style="text-align:left;" | {{#if:{{{reward|}}}|{{{reward}}}|}}
|-
|-
| class="locationTemplateHeader" | Detail
| class="locationTemplateHeader" | Detail
Line 30: Line 32:
|-
|-
| class="locationTemplateHeader" | Hint for solution
| class="locationTemplateHeader" | Hint for solution
| class="locationTemplateCell" style="text-align:left;"| {{{hint}}}
| class="locationTemplateCell" style="text-align:left;"| {{#if:{{{hint|}}}|{{{hint}}}|}}
|-
| class="locationTemplateHeader" | Repeatable
| class="locationTemplateCell" style="text-align:left;"| {{{repeat}}}
|-
{{#if: {{{date|}}} |
{{!}} class="locationTemplateHeader" {{!}} Date Released
{{!}} class="locationTemplateCell" style="text-align:left;" {{!}} {{{date}}}
}}
|}</includeonly></onlyinclude>
|}</includeonly></onlyinclude>

Latest revision as of 13:02, 16 October 2013

The QuestInfo template is used to display question information from Dragon Quest IX: Sentinels of the Starry Skies. It is a meta-template and should only be used inside of a Template:DQIXQuest sub-template.

Usage[edit]

{{QuestInfo
| num  = 
| title   = 
| location   = 
| available = 
| requester = 
| responser = 
| item = 
| reward = 
| detail = 
| hint = 
}}

num is the number of the quest
title is the title of the quest
location is where the hero can receive the quest
available is the conditions which dictate when the quest is available
requester is the NPC who give the quest to the hero
responser is the NPC who announce the completion of the quest, if none is supplied, by default it will be the same as the requester
item is the item(s) needed to be collected for completing the quest
reward is the item or skill obtained as the reward for completing the quest
detail is the detail description of the quest from the game'
hint is advice for completing the quest


Example[edit]

Sample[edit]

Quest #0 - "Example quest"
Location Questville
Availability After defeating Questdevil
Requested by King of Quests
Fulfilled to Questor
Item Required Seed of accomplishment
Reward Fruit of Quest
Detail King of Quest ask you to deliver the Seed of Accomplishment to Questor.
Hint for solution Do this quest fast
Repeatable {{{repeat}}}

Code[edit]

{{QuestInfo
| num  = 0
| title   = Example quest
| location = Questville
| available = After defeating Questdevil
| requester = King of Quests
| responser = Questor
| item = Seed of accomplishment
| reward = Fruit of Quest
| detail = King of Quest ask you to deliver the '''Seed of Accomplishment''' to '''Questor'''.
| hint = Do this quest fast
}}

Sample: Least info[edit]

Quest #0 - "Example quest"
Location Questville
Availability Upon arriving at Questville
Requested by King of Quests
Fulfilled to King of Quests
Reward
Detail King of Quest ask you to deliver the Seed of Accomplishment to Questor.
Hint for solution
Repeatable {{{repeat}}}

Code[edit]

{{QuestInfo
| num  = 0
| title   = Example quest
| location = Questville
| requester = King of Quests
| detail = King of Quest ask you to deliver the '''Seed of Accomplishment''' to '''Questor'''.
}}