Template:QuestInfo: Difference between revisions

mNo edit summary
mNo edit summary
 
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox
<onlyinclude><includeonly>
| bgcolor = 00C44E
{| class="mw-collapsible mw-collapsed locationTemplateTable" cellpadding="5" cellspacing="0" style="margin: 5px 5px 5px 5px; height:100%; width:500px"
| type = Quest #{{{num|}}}
! class="locationTemplateHeader" colspan="2"| <span style="font-size:1.1em;">{{tnav|DQIXQuest/{{#expr:{{{num}}}}}|fontcolor=white}}</span> Quest #{{{num}}} - "'''{{{title}}}'''"
| title = {{{title|}}}
|-
| label1 = Location
| class="locationTemplateHeader" | Location
| data1 = {{{location|}}}
| class="locationTemplateCell" style="text-align:left;" | {{{location}}}
| label2 = Requested by  
|-
| data2 = {{{requester|}}}
| class="locationTemplateHeader" | Availability
| label3 = Response to  
| class="locationTemplateCell" style="text-align:left;" | {{#if:{{{available|}}}|{{{available}}}|Upon arriving at {{{location}}}}}
| data3 = {{{responser|}}}
|-
| label4 = Items needed
| class="locationTemplateHeader" | Requested by
| data4 = {{{item|}}}  
| class="locationTemplateCell" style="text-align:left;"| {{{requester}}}
| label5 = Detail
|-
| data5 = {{{detail|}}}}
| class="locationTemplateHeader" | Fulfilled to
| class="locationTemplateCell" style="text-align:left;"| {{#if: {{{responser|}}} | {{{responser}}} | {{{requester}}} }}
|-
{{#if:{{{item|}}} |
{{!}} class="locationTemplateHeader" {{!}} Item Required
{{!}} class="locationTemplateCell" style="text-align:left;" {{!}} {{{item}}}
}}
}}
<noinclude>
|-
 
| class="locationTemplateHeader" | Reward
== Usage ==
| class="locationTemplateCell" style="text-align:left;" | {{#if:{{{reward|}}}|{{{reward}}}|}}
{| style="float: left; background: transparent;"
|-
|  
| class="locationTemplateHeader" | Detail
<pre>{{QuestInfo
| class="locationTemplateCell" style="text-align:left;"| {{{detail}}}
| num  =
|-
| title  =
| class="locationTemplateHeader" | Hint for solution
| location  =  
| class="locationTemplateCell" style="text-align:left;"| {{#if:{{{hint|}}}|{{{hint}}}|}}
| requester =
|-
| responser =  
| class="locationTemplateHeader" | Repeatable
| item =  
| class="locationTemplateCell" style="text-align:left;"| {{{repeat}}}
| detail =
|-
}}</pre>
{{#if: {{{date|}}} |
|}
{{!}} class="locationTemplateHeader" {{!}} Date Released
<br/>
{{!}} class="locationTemplateCell" style="text-align:left;" {{!}} {{{date}}}
''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/>
''requester'' is the NPC who give the quest to the hero<br/>
''responser'' is the NPC who announce the completion of the quest<br/>
''item'' is the item(s) needed to be collected 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
| requester = King of Quests
| responser = Questor
| item = Seed of accomplishment
| detail = King of Quest ask you to deliver the '''Seed of Accomplishment''' to '''Questor'''.
}}
}}
'''Code'''
|}</includeonly></onlyinclude><noinclude>
{| style="float: left; background: transparent;"
{{QuestInfo/doc}}
|
[[Category:Location templates]]
<pre>{{QuestInfo
[[Category:Dragon Quest IX templates]]
| num  = 0
| title  = Example quest
| location = Questville
| requester = King of Quests
| responser = Questor
| item = Seed of accomplishment
| detail = King of Quest ask you to deliver the '''Seed of Accomplishment''' to '''Questor'''.
}}</pre>
|}
[[Category:Infobox templates]]
</noinclude>
</noinclude>