Template:QuestType (AL)

From Exiled Kingdoms Wiki

Description

This template contains the predefined quest types to be used within Template:Quest (AL) and takes the corresponding tags (such as "Main", "Side", etc.) as input. The output is the actual text to be displayed on the Wiki page (e.g. "Main Quest", "Side Quest", etc.).

Usage

{{QuestType (AL)|<tag>}}

For generating a semicolon-separated list of all available tags (intended for documentation purposes) use

{{QuestType (AL)|TagList}}

How to add new quest types

In order to add a new quest type to the template, you have to add a new case to the #switch structure (only parts indicated by <...> may be edited):

|<NewTag> = <desired output text>

Also, add the new tag to the existing TagList case so it will appear in any documentation:

|TagList = ...; <NewTag>; ...

View/Edit documentation page