Difference between revisions of "Quest info"

m
m (quantity formatting)
Line 51: Line 51:
 
-->{{#ifeq:{{lc:{{#var:name}}}}|experience|{{stat|Experience|{{#explode:@| |0}}|nolabel=y}}<!-- if experience
 
-->{{#ifeq:{{lc:{{#var:name}}}}|experience|{{stat|Experience|{{#explode:@| |0}}|nolabel=y}}<!-- if experience
 
-->|{{#ifeq:{{lc:{{#var:name}}}}|gold|{{stat|Gold|{{#explode:@| |0}}|nolabel=y}}<!-- if gold
 
-->|{{#ifeq:{{lc:{{#var:name}}}}|gold|{{stat|Gold|{{#explode:@| |0}}|nolabel=y}}<!-- if gold
-->|{{item<!-- create an item  
+
-->|{{#explode:@| |0}} <!-- item quantity
 +
-->{{item<!-- create an item  
 
-->|{{#var:name}}<!-- item name
 
-->|{{#var:name}}<!-- item name
 
-->|quality={{#if:{{#explode:@|#|1}}<!-- if quality is specified
 
-->|quality={{#if:{{#explode:@|#|1}}<!-- if quality is specified
 
-->|{{#explode:@|#|1}}}}}}<!-- use specified quality
 
-->|{{#explode:@|#|1}}}}}}<!-- use specified quality
--> x{{#explode:@| |0}}}}}}}}}}<!-- item quantity -->}}
+
-->}}}}}}}}}}
 
|}</div><!--
 
|}</div><!--
 
DESCRIPTION
 
DESCRIPTION

Revision as of 20:06, 16 February 2024

Description

Displays an information page about a Quest.

Usage

{{Quest info|<image=image>|<name=name>|<description=description>|<category=category>|<quest giver=quest giver>|<previous=previous>|<rewards=rewards>}}

Parameters

Arrow.pngimage: A map or image of the quest location.
Optional. Defaults to '{{PAGENAME}}.jpg'.
Notes: Only use if the image name differs from the name of the page.
Arrow.pngname: The name of the quest.
Optional. Defaults to '{{PAGENAME}}'.
Notes: Only use if the template is on a different page to the quest's main article.
Arrow.pngdescription: The in-game description of the quest found on the quest menu.
Optional.
Arrow.pngcategory: The quest's category.
Optional.

Possible categories:

guild quests
main quests
side quests
Arrow.pngquest giver: The name of the NPC that gives the quest.
Optional.
Arrow.pnglocation: The location of the NPC that gives the quest.
Optional.
Arrow.pngprevious: The name of the quest sequentially preceding the current quest.
Optional.
Arrow.pngrewards: A comma-separated list experience, gold, or items recieved upon quest completion.
Optional.
Notes: Only specify item quality if it differs from its default quality. e.g. '[quantity1] [reward1]#[quality1], [quantity2] [reward2]#[quality2], etc'. Use item choice to show a choice of one item.

Errors

No description was provided. Add a description parameter.