Template:ItemTable/doc: Difference between revisions

From Archaelund Wiki
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 24: Line 24:
<tr><td>Offense</td><td>Yes</td><td>The offensive properties bonus/malus provided by consuming the item. See [[Template:Offense]] for further information.</td><td>a vector of 9 comma-separated numbers, representing offense values (e.g. "3,8,0,1,4,1,50,10,1")</td></tr>
<tr><td>Offense</td><td>Yes</td><td>The offensive properties bonus/malus provided by consuming the item. See [[Template:Offense]] for further information.</td><td>a vector of 9 comma-separated numbers, representing offense values (e.g. "3,8,0,1,4,1,50,10,1")</td></tr>
<tr><td>Defense</td><td>Yes</td><td>The defensive properties bonus/malus provided by consuming the item. See [[Template:Defense]] for further information.</td><td>a vector of 4 comma-separated numbers, representing defense values (e.g. "2,15,5,2")</td></tr>
<tr><td>Defense</td><td>Yes</td><td>The defensive properties bonus/malus provided by consuming the item. See [[Template:Defense]] for further information.</td><td>a vector of 4 comma-separated numbers, representing defense values (e.g. "2,15,5,2")</td></tr>
<tr><td>Resist</td><td>Yes</td><td>The resistance bonus/malus provided by by consuming the item. See [[Template:Elements]] for further information.</td><td>a vector of 6 comma-separated numbers, representing resistance values (e.g. "10,0,50,-10,0,0")</td></tr>
<tr><td>Resist</td><td>Yes</td><td>The resistance bonus/malus provided by by consuming the item. See [[Template:Resistances]] for further information.</td><td>a vector of 7 comma-separated numbers, representing resistance values (e.g. "10,0,50,-10,0,0,0")</td></tr>
<tr><td>Effects</td><td>Yes</td><td>A short description of the effects provided by consuming the item.</td><td>a semicolon-separated list of effects</td></tr>
<tr><td>Effects</td><td>Yes</td><td>A short description of the effects provided by consuming the item.</td><td>a semicolon-separated list of effects</td></tr>
<tr><td>Duration</td><td>No</td><td>The duration of the effects after consuming the item.</td><td>arbitrary text</td></tr>
<tr><td>Duration</td><td>No</td><td>The duration of the effects after consuming the item.</td><td>arbitrary text</td></tr>

Latest revision as of 20:43, 14 January 2025

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 8 comma-separated numbers, representing stat values (e.g. "30,20,8,2,-1,3,0,5")
OffenseYesThe offensive properties bonus/malus provided by consuming the item. 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 bonus/malus provided by consuming the item. See Template:Defense for further information.a vector of 4 comma-separated numbers, representing defense values (e.g. "2,15,5,2")
ResistYesThe resistance bonus/malus provided by by consuming the item. 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")
EffectsYesA short description of the effects provided by consuming the item.a semicolon-separated list of effects
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