Template:Creature

From Archaelund Wiki

Description

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

Usage

{{Creature
|Mode = {{{1|Page}}}
|Param1 = {{{2|}}}
|Param2 = {{{3|}}}

<!-- Quick Facts -->
|Name = 
|Pagename = 
|Status = 
|Type = 
|Version = 
|VersionUpdate = 
|Rarity = 
|Attributes = 
|Locations = 
|Quests = 

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

<!-- Taxonomic Data -->
|Level = 
|XP = 
|Species = 
|Group = 

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

<!-- Interaction -->
|Attitude = 
|Actions = 

<!-- Stats -->
|DamageType = 
|Range = 
|APcost = 
|Traits = 
|Stats = 
|Offense = 
|Defense = 
|Resist = 
|Effects = 
|Talents = 
|Spells = 

<!-- Loot -->
|LootFixed = 
|LootRandom = 
}}

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 creature as used in the game. Will be displayed in the infobox of the page.arbitrary text
PagenameYesThe title of the creature 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
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 creature. Will be displayed in the infobox of the page.one of the values defined in Template:CreatureType (other values are ignored): Beast • Construct • Humanoid • Plant • Undead
VersionYesThe game version in which the creature 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 creature was last updated. Will be displayed in the infobox of the page.version number in the form X.Y.Z
RarityYesThe incidence of the creature. Will be displayed in the infobox of the page.one of the values defined in Template:Rarity (other values are ignored): Unique • Limited • Rare • Common • Unknown
AttributesNoOne or more attributes which describe certain aspects of the creature. Will be displayed in the infobox of the page.a semicolon-separated list of the values defined in Template:CreatureAttributes (other values are ignored): Boss
LocationsYesThe location(s) in which the creature can be encountered during the course of the game.a semicolon-separated list of [[Location]]s
QuestsNoIf the creature is involved in certain quests, they can be listed here and will be displayed in the infobox of the page.a semicolon-separated list of [[Quests]]s
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 creature tables, lists, etc. If nothing is specified, a small version of Image is used instead.image name (including file extension)
Personal Data
LevelYesThe level of the creature. Will be displayed in the infobox of the page.positive number
XPYesThe experience points granted when defeating this creature. Will be displayed in the infobox of the page. Defaults to "Unkown".non-negative number
SpeciesYesThe species which the creature belongs to. Will be displayed in the infobox of the page.one of the in-game [[Species]]
GroupNoIf the creature belongs to a certain group or faction, this can be stated here. Will be displayed in the infobox of the page.one of the in-game [[Group]]s
Info
DescriptionYesA concise description of the creature itself. Is used as an introductory paragraph and should not be too excessive (2−3 sentences are usually enough).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 *)
Interaction
AttitudeYesThe attitude of the creature towards the player.pre-formatted {{Attitude|...}} text (using Template:Attitude) plus additional descriptive text (if needed)
ActionsNoIf the creature performs any notable actions, they can briefly be described here.a semicolon-separated list of brief descriptions
Stats
DamageTypeYesThe specific damage type of the creature.one of the values defined in Template:DamageType (other values are ignored): Blunt • Piercing • Slashing
RangeYesThe attack range of the creature, given in grid tiles. Defaults to 0 (= melee).non-negative number
APcostYesThe amount of Action Points (AP) this creature needs for attacking.non-negative number
TraitsYesThe trait values of the creature. See Template:Traits for further information.a vector of 7 comma-separated numbers, representing trait values (e.g. "4,8,8,5,6,3,6")
StatsYesThe base stats of the creature. See Template:Stats for further information.a vector of 8 comma-separated numbers, representing stat values (e.g. "30,20,8,2,-1,3,0,5")
OffenseYesThe offensive properties of the creature. See Template:Offense for further information.a vector of 9 comma-separated numbers, representing offense values (e.g. "3,8,0,1,4,1,50,10,1")
DefenseYesThe defensive properties of the creature. See Template:Defense for further information.a vector of 4 comma-separated numbers, representing defense values (e.g. "2,15,5,2")
ResistYesThe resistances of the creature. See Template:Resistances for further information.a vector of 7 comma-separated numbers, representing resistance values (e.g. "10,0,50,-10,0,0,0")
EffectsNoIf special proc effects are triggered during combat, they can be listed here. See Template:Effect for further information.a semicolon-separated list of {{Effect|...}}s (using Template:Effect)
TalentsNoIf the creature has special talents, they can be listed here.a semicolon-separated list of [[Talent]]s
SpellsNoIf the creature is able to cast spells, they can be listed here.a semicolon-separated list of [[Spell]]s
Loot
LootFixedNoIf the creature drops fixed loot (i.e. loot with 100% drop chance), it can be listed here.a semicolon-separated list of [[Item]]s
LootRandomNoIf the creature drops random loot, it can be listed here (ideally with information about drop rates).a semicolon-separated list of [[Item]]s

Including multiple creature stats

Within the main page of a creature, only one set of stats can be specified (which will also be transcluded to the various overview tables). If multiple sets of stats need to be presented (e.g. due to different difficulty levels or different conditions of the creature during the game), a separate subpage <PAGENAME>/stats can be created which holds all relevant information. If such a subpage exists, it will automatically be transcluded into the creature page, thereby replacing the original set of stats.

To ensure a consistent format, the information on the subpage should be provided as multiple instances of Template:StatsTable (see the corresponding documentation there), one instance for each set of stats. Additional descriptive text may be included between template calls if needed.

Note that the stats on the main page of the creature should always be provided (even if they are overwritten by the subpage), because those stats are used to fill the overview tables. Otherwise those table entries will be empty.

Extracting specific creature information for use in other pages

Syntax

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

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

Here, <pagename> is the creature'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 creature page. This is the default mode.nonenone
TableHeadOutputs the header of a creature table (intended for constructing overview tables).nonenone
TableEntryOutputs a table row containing specific creature information (intended for constructing overview tables). If a selector is specified in <param1>, output is only generated if the selector of a specific creature 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

View/Edit documentation page