Template:StatsTable/doc: Difference between revisions

From Archaelund Wiki
(Created page with "== Description == This template generates a table displaying various character stats. It is intended to be used on character as well as creature pages. == Usage == <pre> {{St...")
 
No edit summary
Line 10: Line 10:
|Defense =  
|Defense =  
|Resist =  
|Resist =  
|Effects =
|Skills =
|Properties =
|Caption =  
|Caption =  
|Collapsed =  
|Collapsed =  
Line 23: Line 26:
<tr><td>Defense</td><td>Yes</td><td>The defensive properties of the character/creature. See [[Template:Defense]] for further information.</td><td>vector of 2 comma-separated numbers, representing defense values (e.g. "2,15")</td></tr>
<tr><td>Defense</td><td>Yes</td><td>The defensive properties of the character/creature. See [[Template:Defense]] for further information.</td><td>vector of 2 comma-separated numbers, representing defense values (e.g. "2,15")</td></tr>
<tr><td>Resist</td><td>Yes</td><td>The resistances of the character/creature. See [[Template:Elements]] for further information.</td><td>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 resistances of the character/creature. See [[Template:Elements]] for further information.</td><td>vector of 6 comma-separated numbers, representing resistance values (e.g. "10,0,50,-10,0,0")</td></tr>
<tr><td>Effects</td><td>No</td><td>If special proc effects are triggered during combat, they can be listed here. See [[Template:Effect]] for further information.</td><td>a semicolon-separated list of <nowiki>[[Effect]]s</nowiki></td></tr>
<tr><td>Skills</td><td>No</td><td>If the character/creature has special combat skills, they can be listed here.</td><td>a semicolon-separated list of <nowiki>[[Skill]]s</nowiki></td></tr>
<tr><td>Properties</td><td>No</td><td>If the character/creature has special combat properties, they can be listed here.</td><td>a semicolon-separated list of <nowiki>[[Property]]s</nowiki></td></tr>
<tr><td>Caption</td><td>No</td><td>An optional caption displayed above the table. If set, the table will be collapsible.</td><td>arbitrary text</td></tr>
<tr><td>Caption</td><td>No</td><td>An optional caption displayed above the table. If set, the table will be collapsible.</td><td>arbitrary text</td></tr>
<tr><td>Collapsed</td><td>No</td><td>If a caption is set, this property toggles whether the table is initially collapsed or expanded.</td><td>"true" or any other text = collapsed, empty string = expanded</td></tr>
<tr><td>Collapsed</td><td>No</td><td>If a caption is set, this property toggles whether the table is initially collapsed or expanded.</td><td>"true" or any other text = collapsed, empty string = expanded</td></tr>
</table>
</table>

Revision as of 12:45, 29 November 2020

Description

This template generates a table displaying various character stats. It is intended to be used on character as well as creature pages.

Usage

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

Parameters

NameRequiredDescriptionValues
TraitsYesThe trait values of the character/creature. See Template:Traits for further information.vector of 7 comma-separated numbers, representing trait values (e.g. "4,8,8,5,6,3,6")
StatsYesThe base stats of the character/creature. See Template:Stats for further information.vector of 6 comma-separated numbers, representing stat values (e.g. "52,11,10,18,3,0")
OffenseYesThe offensive properties of the character/creature. See Template:Offense for further information.vector of 7 comma-separated numbers, representing offense values (e.g. "3,8,0,2,1,50,10")
DefenseYesThe defensive properties of the character/creature. See Template:Defense for further information.vector of 2 comma-separated numbers, representing defense values (e.g. "2,15")
ResistYesThe resistances of the character/creature. See Template:Elements for further information.vector of 6 comma-separated numbers, representing resistance values (e.g. "10,0,50,-10,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
SkillsNoIf the character/creature has special combat skills, they can be listed here.a semicolon-separated list of [[Skill]]s
PropertiesNoIf the character/creature has special combat properties, they can be listed here.a semicolon-separated list of [[Property]]s
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