Template:Effect/doc: Difference between revisions

From Archaelund Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
== Description ==
== Description ==
This template contains a list of all combat effects ({{ListFormat|{{Effect|TagList}}|Bullets}}) and converts raw effect input (e.g. "Poison,3,4,10") into a standardized output format: {{Effect|Poison,3,4,10}}.
This template contains a list of all character effects and conditions ({{ListFormat|{{Effect|TagList}}|Bullets}}) and converts raw effect input (e.g. "Poison,3,4,10") into a standardized output format: {{Effect|Poison,3,4,10}}.


== Usage ==
== Usage ==

Latest revision as of 16:30, 4 October 2025

Description

This template contains a list of all character effects and conditions (Stun • Paralysis • Poison • Gut Boil) and converts raw effect input (e.g. "Poison,3,4,10") into a standardized output format: Poison (Power: 3, Resist: Vitality.png+10).

Usage

{{Effect|<effect input>}}

where <effect input> represents a vector of 4 comma-separated entries (e.g. "Poison,3,4,10") detailed below.

For generating a semicolon-separated list of all available effects (intended for documentation purposes) use

{{Effect|TagList}}

Effect input vector

IndexDescriptionValue
1The name of the effect.one of the following tags: Stun • Paralysis • Poison • Gut Boil
2The power of the effect.positive number
3The type of resistance which is used for avoiding the effect.the index of the resistance (see Template:Resistances)
4An optional modifier added to the resistance value.arbitary number