Template:QuestInfo: Difference between revisions

From Dragon Quest Wiki
mNo edit summary
 
(revamped)
Line 1: Line 1:
{{Infobox
| bgcolor = 00C44E
| type = Quest #{{{num|}}}
| title = {{{title|}}}
| label1 = Location
| data1 = {{{location|}}}
| label2 = Available at
| data2 =  {{{available|}}}
| label3 = Requested by
| data3 =  {{{requester|}}}
| label4 = Response to
| data4 = {{#if:{{{responser|}}}|{{{responser|}}}|{{{requester|}}}}}
| label5 = Items needed
| data5 = {{{item|}}}
| label6 = Reward
| data6 = {{{reward|}}}
| label7 = Detail
| data7 = {{{detail|}}}
}}
<noinclude>
<noinclude>
 
See [[Template:QuestInfo/doc]] for documentation and examples for using this template.<br/>
== Usage ==
[[Category:Location templates|QuestInfo]]
{| style="float: left; background: transparent;"
[[Category:Templates|QuestInfo]]
|
<pre>{{QuestInfo
| num  =
| title  =
| location  =
| available =
| requester =
| responser =
| item =
| reward =
| detail =
}}</pre>
|}
<br/>
''num'' is the numbering of the quest<br/>
''title'' is the title of the quest<br/>
''location'' is where the hero can receive the quest<br/>
''available'' is the timing the quest is available<br/>
''requester'' is the NPC who give the quest to the hero<br/>
''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<br/>
''item'' is the item(s) needed to be collected for completing the quest<br/>
''reward'' is the item or skill obtained as the reward for completing the quest<br/>
''detail'' is the detail description of the quest'<br/>
<br/><br/><br/>
 
== Example ==
{{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'''.
}}
'''Code'''
{| style="float: left; background: transparent;"
|
<pre>{{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'''.
}}</pre>
|}
[[Category:Infobox templates]][[Category:Location templates]]
</noinclude>
</noinclude>
<onlyinclude><includeonly>
{{{!}} class="collapsible collapsed locationTemplateTable" cellpadding="5" cellspacing="0" style="margin: 5px 5px 5px 5px; height:100%;"
! class="locationTemplateHeader" colspan="2" {{!}} Quest #{{{num}}}
{{!}}-
{{!}} style="border:1px solid black; text-align:center;" colspan="2" {{!}} '''{{{title}}}'''
{{!}}-
{{!}} class="locationTemplateHeader" {{!}} Location
{{!}} class="locationTemplateCell" {{!}} {{{location}}}
{{!}}-
{{!}} class="locationTemplateHeader" {{!}} Available at
{{!}} class="locationTemplateCell" {{!}} {{{available}}}
{{!}}-
{{!}} class="locationTemplateHeader" {{!}} Requested by
{{!}} class="locationTemplateCell" {{!}} {{{requester}}}
{{!}}-
{{!}} class="locationTemplateHeader" {{!}} Response to
{{!}} class="locationTemplateCell" {{!}} {{#if: {{{responser|}}} | {{{responser}}} | {{{requester}}} }}
{{!}}-
{{!}} class="locationTemplateHeader" {{!}} Items needed
{{!}} class="locationTemplateCell" {{!}} {{{item}}}
{{!}}-
{{!}} class="locationTemplateHeader" {{!}} Reward
{{!}} class="locationTemplateCell" {{!}} {{{reward}}}
{{!}}-
{{!}} class="locationTemplateHeader" {{!}} Detail
{{!}} class="locationTemplateCell" {{!}} {{{detail}}}
</includeonly></onlyinclude>

Revision as of 15:21, 26 July 2010

See Template:QuestInfo/doc for documentation and examples for using this template.