Template:Immunities

From Terraria Wiki
Jump to navigation Jump to search
This template is i18n-ready, which means it is easy to localize for different languages. Please see I18n & l10n for templates to learn more.
See Template:Immunities/l10n for the localization of this template.
This template uses the Cargo extension.
This template uses Extension:Cargo, an integral part of the wiki's back-end.
  • This template queries the table "NPCs". View table.
Template-info.svg Documentation The documentation below is transcluded from Template:Immunities/doc. (edit | history)

This template is used to automatically create an {{itemlist}} of NPCs that are immune to a specific debuff.

Usage

{{ immunities | <debuff> | collapsed = y/yes | name = <vanity debuff name> | width = <itemlist width> }}

First unnamed parameter

Used to define which debuff will be used to generate the immunity list.

collapsed

The output will be wrapped in a collapsible box. Use this parameter to make it display as collapsed by default.

name

Custom name for the debuff that will be displayed in the heading of the box. Defaults to the first unnamed parameter.

width

Custom width for the itemlist, defaults to 18em.