Template:Quest/doc

From Archaelund Wiki

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
|Mode = {{{1|Page}}}
|Param1 = {{{2|}}}
|Param2 = {{{3|}}}

<!-- Quick Facts -->
|Name = 
|Pagename = 
|Translation = 
|Status = 
|Type = 
|Version = 
|VersionUpdate = 
|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)
Param1YesUsed 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)
Param2YesUsed for routing a selection parameter to the template in certain modes (see below). Changing the predefined value may lead to unexpected behavior.{{{3|}}} (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
TranslationNoIf the quest is named differently in other languages, those names can be listed here.internationalization string according to the format described in Template:Translation
StatusNoIf the page has a special status, it can be set here. A corresponding box will be displayed at the top of the page.one of the values defined in Template:PageStatus
TypeYesThe specific type of the quest. Will be displayed in the infobox of the page.one of the values defined in Template:QuestType (other values are ignored): Main • Companion • Faction • Side • Unmarked
VersionYesThe game version in which the quest was first introduced. Will be displayed in the infobox of the page.version number in the form X.Y.Z
VersionUpdateNoThe game version in which the quest was last updated. Will be displayed in the infobox of the page.version number in the form X.Y.Z
AttributesNoOne or more attributes which describe certain aspects of the quest. Will be displayed in the infobox of the page.a semicolon-separated list of the values defined in Template:QuestAttributes (other values are ignored): Incomplete • Missable • Adverse
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 concise 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 under 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

Syntax

You can transclude information from a quest page in any other page by using the following syntax:

{{:<pagename>|<mode>|<param1>|<param2>}}

Here, <pagename> is the quest's full page name (in main namespace), <mode> determines the type of information to be transcluded, and <param1> & <param2> represent selection parameters required by certain modes.

Modes and parameters

ModeDescriptionParameter 1Parameter 2
PageOutputs the full quest page. This is the default mode.nonenone
TableHeadOutputs the header of a quest table (intended for constructing overview tables).nonenone
TableEntryOutputs a table row containing specific quest information (intended for constructing overview tables). If a selector is specified in <param1>, output is only generated if the selector of a specific quest matches the value of <param2>. If no selector is specified, output is always generated.one of the following selectors: Type • Attributeone of the possible values of the specified selector