Template:Character/doc

From Archaelund Wiki

Description

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

Usage

{{Character
|Mode = {{{1|Page}}}
|Select = {{{2|}}}

<!-- Quick Facts -->
|Name = 
|Pagename = 
|Status = 
|Type = 
|Attributes = 
|Locations = 
|Quests = 
|Factions = 
|Level = 

<!-- Personal Data -->
|Race = 
|Gender = 
|Age = 
|Aliases = 

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

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

<!-- Interaction -->
|Actions = 
|Situational = 
|Quotes = 

<!-- Stats -->

}}

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)

Extracting specific character information for use in other pages

Syntax

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

{{:<pagename>|<mode>|<select>}}

Here, <pagename> is the character's full page name (in main namespace), <mode> determines the type of information to be transcluded, and <select> represents a selector required by certain modes.

Modes and selectors

ModeDescriptionSelector
PageOutputs the full character page. This is the default mode.none
TableHeadOutputs the header of a character table (intended for constructing overview tables).none
TableEntryTypeOutputs a table row containing specific character information (intended for constructing overview tables). If a character type is specified in the selector, output is only generated if the character matches this type. If no selector is specified, output is always generated.<select> = one of the following character types: Main • Side • Generic • Mentioned
TableEntryAttrOutputs a table row containing specific character information (intended for constructing overview tables). If a character attribute is specified in the selector, output is only generated if the character carries this attribute. If no selector is specified, no output is generated.<select> = one of the following character attributes: Merchant • Healer • Trainer • Transport • Companion