Difference between revisions of "Quest info"
Stratonian (talk | contribs) m |
Stratonian (talk | contribs) m (better categorization) |
||
Line 5: | Line 5: | ||
if a name parameter is given, it is assumed that the template isn't on the item's main article, therefore it isn't categorized | if a name parameter is given, it is assumed that the template isn't on the item's main article, therefore it isn't categorized | ||
-->{{#vardefine:typeText|{{#switch:{{lc:{{{category|}}}}} | -->{{#vardefine:typeText|{{#switch:{{lc:{{{category|}}}}} | ||
+ | |guild quests=[[Quest#Guild Quests|Guild Quest]] | ||
+ | |main quests=[[Quest#Main Quests|Main Quest]] | ||
|side quests=[[Quest#Side Quests|Side Quest]] | |side quests=[[Quest#Side Quests|Side Quest]] | ||
− | |||
}}}}<!-- | }}}}<!-- | ||
-->{{#if:{{{name|}}}<!-- if a name parameter is not given | -->{{#if:{{{name|}}}<!-- if a name parameter is not given | ||
− | -->||{{#if:{{#var:typeText}}<!-- if | + | -->||[[Category:{{#if:{{#var:typeText}}<!-- if specified category is correct |
− | -->| | + | -->|{{sc|{{{category}}}}}<!-- use specified category |
+ | -->|Quests}}]]}}<!-- else use Category:Quests | ||
reward items are comma-separated and in the format: | reward items are comma-separated and in the format: |
Revision as of 20:11, 3 November 2023
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
image: 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.
name: 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.
Possible categories:
- •guild quests
- •main quests
- •side quests
rewards: 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
'. Useitem choice
to show a choice of one item.
Errors
No description was provided. Add a description parameter.