Difference between revisions of "Template:Quest"

From Istaria Lexica

Line 5: Line 5:
 
! colspan="2" style="padding: 2px 0px 5px; line-height: 1em; font-weight: normal; font-size: 12px;" | Type: {{#if: {{{questtype|}}} | [[:Category:{{{questtype}}}|{{{questtype}}}]] [[Category:{{{questtype}}}]] | [[:Category:Unknown quest type|unknown]] [[Category:Unknown quest type]]}}
 
! colspan="2" style="padding: 2px 0px 5px; line-height: 1em; font-weight: normal; font-size: 12px;" | Type: {{#if: {{{questtype|}}} | [[:Category:{{{questtype}}}|{{{questtype}}}]] [[Category:{{{questtype}}}]] | [[:Category:Unknown quest type|unknown]] [[Category:Unknown quest type]]}}
 
|-
 
|-
| <div>From:</div><span>{{#if: {{{npc|}}} | [[npc::{{{npc}}}]]}}DDDDDDD&nbsp;</span>
+
| <div>From:</div><span>{{#if: {{{npc|}}} | [[npc::{{{npc}}}]]}}&nbsp;</span>
 
| <div>Located at:</div><span>{{#if: {{{port|}}} | [[port::{{{port}}}]]}}&nbsp;</span>
 
| <div>Located at:</div><span>{{#if: {{{port|}}} | [[port::{{{port}}}]]}}&nbsp;</span>
 
|-
 
|-
| <div>Required school:</div><span>{{#if: {{{npc|}}} | [[npc::{{{npc}}}]]}}DDDDDDD&nbsp;</span>
+
| <div>Required school:</div><span>{{#if: {{{npc|}}} | [[npc::{{{npc}}}]]}}&nbsp;</span>
 
| <div>Required race:</div><span>{{#if: {{{race|}}} | [[race::{{{race}}}]]}}&nbsp;</span>
 
| <div>Required race:</div><span>{{#if: {{{race|}}} | [[race::{{{race}}}]]}}&nbsp;</span>
 
|-
 
|-
Line 14: Line 14:
 
| style="border: none" | <div>Required item:</div><span>{{#if: {{{itemreq|}}} | [[itemreq::{{{itemreq}}}]]}}&nbsp;</span>
 
| style="border: none" | <div>Required item:</div><span>{{#if: {{{itemreq|}}} | [[itemreq::{{{itemreq}}}]]}}&nbsp;</span>
 
|-
 
|-
| colspan="2" style="border-top: 1px solid #525252; border-bottom: none" | '''Previous Quest:'''<span>{{#if: {{{quest previous|}}} | [[quest previous::{{{quest previous}}}]]}}&nbsp;</span>
+
| colspan="2" style="border-top: 1px solid #525252; border-bottom: none; padding-top: 15px" | <div>'''Previous Quest:'''</div><span>{{#if: {{{quest previous|}}} | [[quest previous::{{{quest previous}}}]]}}&nbsp;</span>
 
|-
 
|-
| colspan="2" style="border-bottom: none" | '''Next Quest:'''<span>{{#if: {{{quest next|}}} | [[quest next::{{{quest next}}}]]}}&nbsp;</span>
+
| colspan="2" style="border-bottom: none" | <div>'''Next Quest:'''</div><span>{{#if: {{{quest next|}}} | [[quest next::{{{quest next}}}]]}}&nbsp;</span>
 
{{InfoboxEnd}}<includeonly>{{#if: {{{race|}}}|[[Category:Quests:{{{race}}}]]}}
 
{{InfoboxEnd}}<includeonly>{{#if: {{{race|}}}|[[Category:Quests:{{{race}}}]]}}
 
{{#if: {{{school|}}}|[[Category:Quests:{{{school}}}]]}}
 
{{#if: {{{school|}}}|[[Category:Quests:{{{school}}}]]}}
 
{{#if: {{{questtype|}}}|[[Category:Quests:{{{questtype}}}]]|[[Category:Quests:Miscellaneous]]}}
 
{{#if: {{{questtype|}}}|[[Category:Quests:{{{questtype}}}]]|[[Category:Quests:Miscellaneous]]}}
 
[[Category:Quests]]</includeonly><noinclude>{{documentation}}[[Category:Infobox Templates]]</noinclude>
 
[[Category:Quests]]</includeonly><noinclude>{{documentation}}[[Category:Infobox Templates]]</noinclude>

Revision as of 20:03, 17 July 2015

Quest
Type: unknown
From:
 
Located at:
 
Required school:
 
Required race:
 
Required level:
 
Required item:
 
Previous Quest:
 
Next Quest:
 
Template documentation (for the template shown above, sometimes hidden or invisible)

Description[edit]

A Brief overview of a quest, describing most needed details.

Template:InfoboxMultiproperty parameters[edit]

{{InfoboxMultiproperty
| property =      the property name to be set (ex. Loot, School, Race)
| limiter  =      a limiter for every entry. Default to comma, may also use html stuff like <br />
| value1          the first value to be set
| value2          the second value to be set
| valueN..        the N-th value to be set, repeat until you're done
}}

Syntax[edit]

{{Quest
|npc		= {{InfoboxMultiproperty|property=npc|value1|value2|...}}
|questtype	= 
|school		= {{InfoboxMultiproperty|property=school|value1|value2|...}}
|level		=
|craftschool    = {{InfoboxMultiproperty|property=craftschool|value1|value2|...}}
|craftlevel     = 
|skill          = 
|skilllevel     = 
|race		= {{InfoboxMultiproperty|property=race|value1|value2|...}}
|port		= {{InfoboxMultiproperty|property=port|value1|value2|...}}
|quest previous	= {{InfoboxMultiproperty|property=quest previous|value1|value2|...}}
|quest next	= {{InfoboxMultiproperty|property=quest next|value1|value2|...}}
}}

Parameters[edit]

{{Quest
|npc            = the NPC(s) giving out the quest
|questtype      = Type of the quest. Please refer to the list mentioned above.
|school         = Which aventuring school(s) the quest is limited to. Add each school as described in the InfoboxMultiproperty paramter description.
|level          = Minimum level needed
|craftschool    = Which crafting school the quest is limited to.
|craftlevel     = Required level in above mentioned crafting school.
|skill          = Required skill to be able to take the quest.
|skilllevel     = Required skill level. 
|race           = Which race(s) the quest is limited to. Add each race as described in the InfoboxMultiproperty paramter description.
|port           = Location(s) of the Quest start, may be the NPC or some trigger area
|quest previous = Quest(s) which needs to be finished previously
|quest next     = Quest(s) being unlocked after finishing this one
}}

Example[edit]

{{quest
|npc            = {{InfoboxMultiproperty|property=npc|Hethsa the Patient}}
|questtype      = Errand
|school         = {{InfoboxMultiproperty|property=school|Blood Mage|Wizard|Sorcerer}}
|level          = 100
|craftschool    = {{InfoboxMultiproperty|property=school|Enchanter}}
|craftlevel     = 50
|skill          = Enchanting
|skilllevel     = 515
|race           = {{InfoboxMultiproperty|property=race|Dragon|Dwarf|Saris}}
|port           = {{InfoboxMultiproperty|property=port|Peak of Storms}}
|quest previous = {{InfoboxMultiproperty|property=quest previous|ARoP17 - Ritual of Journey: Prelude}}
|quest next     = {{InfoboxMultiproperty|property=quest next|ARoP19 - Ritual of Journey: Spirits In Solitude|Arghas' Tea Time}}
}}
Visit Template:Quest/doc to edit this text. (How to: document correctly)