Template:ItemTable/doc

From Archaelund Wiki
< Template:ItemTable
Revision as of 16:10, 17 August 2023 by MikeB (talk | contribs) (Created page with "== Description == This template generates a table displaying bonus effects gained by consuming items. It is intended to be used on item pages. == Usage == <pre> {{StatsTable...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This template generates a table displaying bonus effects gained by consuming items. It is intended to be used on item pages.

Usage

{{StatsTable
|Traits = 
|Stats = 
|Offense = 
|Defense = 
|Resist = 
|Effects = 
|Duration = 
|Caption = 
|Collapsed = 
}}

Parameters

NameRequiredDescriptionValues
TraitsYesThe trait bonus/malus provided by consuming the item. 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 bonus/malus provided by consuming the item. See Template:Stats for further information.a vector of 6 comma-separated numbers, representing stat values (e.g. "52,11,10,18,3,0")
OffenseYesThe offensive properties bonus/malus provided by consuming the item. See Template:Offense for further information.a vector of 7 comma-separated numbers, representing offense values (e.g. "3,8,0,2,1,50,10")
DefenseYesThe defensive properties bonus/malus provided by consuming the item. See Template:Defense for further information.a vector of 2 comma-separated numbers, representing defense values (e.g. "2,15")
ResistYesThe resistance bonus/malus provided by by consuming the item. See Template:Elements for further information.a vector of 6 comma-separated numbers, representing resistance values (e.g. "10,0,50,-10,0,0")
EffectsNoIf other effects are provided by consuming the item, they can be listed here.a semicolon-separated list of effects</nowiki>
DurationNoThe duration of the effects after consuming the item.arbitrary text
CaptionNoAn optional caption displayed above the table. If set, the table will be collapsible.arbitrary text
CollapsedNoIf a caption is set, this property toggles whether the table is initially collapsed or expanded."true" or any other text = collapsed, empty string = expanded