Template:Garrison ability

From Warcraft Wiki
Jump to navigation Jump to search


Garrison ability is a utility template to easily display garrison followers' ability counters and traits.

This template is a wrapper for the Lua module Module:Garrison ability which actually implements what's described here, using the data in Module:Garrison ability/data.

Parameters

{{Garrison ability|Name|Optional name 2|Optional name 3|...}}

Garrison ability takes any number of unnamed parameters. Each unnamed parameter should be the name of the ability or trait to be displayed. Nothing will be displayed for invalid names.

There are a few optional named parameters to change state:

size
What size the icon should be displayed at. Defaults to 18px if not defined
mode
What display mode should be used, defaults to 'icon', just showing the icon

Examples

Displaying multiple abilities

Displaying duplicate abilties

Size

Mode=icon

Mode=list

  • Danger Zones — An ability that affects a target area and must be avoided or escaped
  • Deadly Minions — An enemy with powerful allies that should be neutralized.

Mode=name (best when used in a `style="text-align:center"` container)

Danger Zones
Danger Zones

Valid names