Module:Effect/doc

From ATLauncher Wiki
Jump to: navigation, search

This is the documentation page for Module:Effect

Lua Logo.svg This is the Lua module for Template:Effect. Below is the documentation for that template.

This template is used to display Status Effects.

Syntax[edit]

{{Effect|<1>|<2>|<3>}}

Parameters[edit]

  • 1: The effect's name.
  • 2: The level of the effect. Default: 0
  • 3: The duration of the effect in seconds. Optional

Examples[edit]

Basic[edit]

{{Effect|potion.moveSpeed}}

gives...

Speed Speed

Full[edit]

{{Effect|potion.regeneration|2|80}}

gives...

Regeneration Regeneration II (1:20)