Template:Quest (AL)

From Exiled Kingdoms Wiki
Revision as of 12:24, 3 March 2020 by MikeB (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This is the main template for all quest pages. It determines the layout of the individual page and provides functionality for extracting specific quest information for use in other pages.

Usage

{{Quest (AL)
|Mode = {{{1|Page}}}
|Select = {{{2|}}}

<!-- Quick Facts -->
|Name = 
|Pagename = 
|Type = 
|Attributes = 
|Locations = 
|Giver = 
|Involved = 
|Related = 
|Prerequisites = 
|Level = 

<!-- Media -->
|Image = 
|Icon = 
|Video = 

<!-- Info -->
|Description = 
|Notes = 

<!-- Outcomes and Rewards -->
|Outcome1 = 
|Reward1 = 
<!-- ...up to 9... -->
|Outcome9 = 
|Reward9 = 

<!-- Walkthrough -->
|Steps = 
|Walkthrough = 
}}

Parameters

NameRequiredDescriptionValues
ModeYesDetermines the mode of execution of the template (see below). Changing the predefined value may lead to unexpected behavior.{{{1|Page}}} (should not be changed)
SelectYesUsed for routing a selection parameter to the template in certain modes (see below). Changing the predefined value may lead to unexpected behavior.{{{2|}}} (should not be changed)
Quick Facts
NameYesThe name of the quest as used in the game. Will be displayed in the infobox of the page.arbitrary text
PagenameYesThe title of the quest page, needed for linking purposes. Note: Do not use magic words such as {{PAGENAME}} here, as this prevents proper linking when transcluding information from this page on other pages.arbitrary text
TypeYesThe specific type of the quest. Will be displayed in the infobox of the page. A list of predefined types can be found in Template:QuestType (AL) (if new types are introduced, they should also be added there).one of the values defined in Template:QuestType (AL) (other values are ignored): Main • Companion • Guild • Side • Unmarked
AttributesNoOne or more attributes which describe certain aspects of the quest. Will be displayed in the infobox of the page. A list of predefined attributes can be found in Template:QuestAttributes (AL) (if new attributes are introduced, they should also be added there).a semicolon-separated list of the values defined in Template:QuestAttributes (AL) (other values are ignored): Incomplete • Missable • Adverse • New
GiverYesThe character or event which initiates the quest. Will be displayed in the infobox of the page.[[Character]] or arbitrary text
LocationsYesThe sequence of locations (in chronological order) which have to be visitied during the quest. The first entry is assumed to be the starting location and will be displayed in the infobox of the page.a semicolon-separated list of [[Location]]s
InvolvedNoIf certain characters play an important role in this quest, they can be listed here.a semicolon-separated list of [[Character]]s
RelatedNoIf other quests are in some way related to this one, they can be listed here. Will be displayed in the infobox of the page.a semicolon-separated list of [[Quest]]s
PrerequisitesNoIf specific prerequisites have to be fulfilled to start the quest, they can be listed here. Will be displayed in the infobox of the page.a semicolon-separated list of prerequisites
LevelYesThe character level recommended for attempting this quest. Will be displayed in the infobox of the page.positive number
Media
ImageYesThe image (PNG or JPG) to be displayed in the infobox of the page.image name (including file extension)
IconNoThe image (PNG or JPG) to be displayed as an icon in quest tables, lists, etc. If nothing is specified, a small version of <Image> is used instead.image name (including file extension)
VideoNoLinks to external quest-related videos may be provided here.[full URL of external video] or a semicolon-separated list thereof
Info
DescriptionYesA short description of the quest itself. Is used as an introductory paragraph and should not be too excessive (2−3 sentences are usually enough). More detailed information can be provided in the <Walkthrough>.arbitrary text
NotesNoAny kind of ancillary information (which does not seem appropriate anywhere else) can be provided here.arbitrary text, ideally formatted as a bullet list (using *)
Outcome and Rewards
Outcome1...Outcome9YesA short description of the possible outcomes (up to 9) of the quest. Only the first entry is mandatory, all others are optional.arbitrary text
Reward1...Reward9YesThe quest rewards (money, equipment, reputation) associated with Outcome1...Outcome9, respectively. Will only display if the corresponding outcome is not empty.a semicolon-separated list of rewards
Walkthrough
StepsYesA concise list of the relevant steps necessary to complete the quest. May be subdivided if there are different quest paths and/or outcomes.arbitrary text, ideally formatted as a numbered list (using #)
WalkthroughNoA detailed walkthrough of the quest. Here you can put as much information as you like, including images if they help to illustrate certain aspects (secret locations, riddles, etc.).arbitrary text

Extracting specific quest information for use in other pages

{{:PAGENAME|<Mode>|<Select>}}

View/Edit documentation page