Template:Effect/doc: Difference between revisions
From Archaelund Wiki
(Created page with "== Description == This template contains a list of all combat effects ({{ListFormat|{{Effect|TagList}}|Bullets}}) and converts raw effect input into a standardized output form...") |
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 into a standardized output format. | This template contains a list of all combat effects ({{ListFormat|{{Effect|TagList}}|Bullets}}) and converts raw effect input (e.g. "Stun,5,10") into a standardized output format: {{Effect|Stun,5,10}}. | ||
== Usage == | == Usage == | ||
Revision as of 21:06, 24 November 2020
Description
This template contains a list of all combat effects (Stun • Paralysis • Poison • Gut Boil) and converts raw effect input (e.g. "Stun,5,10") into a standardized output format: Stun (Power: 5, Resist: ).
Usage
{{Effect|<effect input>}}
where <effect input> represents a vector of 3 comma-separated entries (e.g. "Stun,5,10") detailed below.
For generating a semicolon-separated list of all available effects (intended for documentation purposes) use
{{Effect|TagList}}
Effect input vector
| Index | Description | Value |
|---|---|---|
| 1 | The name of the effect. | one of the following tags: Stun • Paralysis • Poison • Gut Boil |
| 2 | The chance of the effect to be triggered upon a hit. | positive number |
| 3 | The level of the effect, typically determining its duration. | positive number |