Template:BuffIdFromName

From Terraria Wiki
Jump to navigation Jump to search
Template-info.svg Documentation The documentation below is transcluded from Template:BuffIdFromName/doc. (edit | history)

This template returns the Buff ID of a buff, based on its name. All data is from the Desktop 1.4.3(Desktop, Console and Mobile versions) source code. For buffs exclusive to the legacy Mobile version Mobile version, it will return the ID prefixed with "m" (e.g. m205).

Usage

{{ buffIdFromName | <buff name> }}

First unnamed parameter

Name of the buff. If there are several buffs with the same name, the ID of the first buff will be returned.

Notes

  • The buffs that flasks grant can be entered without the colon as well (see examples).

Examples

Code Result
{{buffIdFromName|Confused}} 31
{{buffIdFromName|Weapon Imbue: Fire}} 74
{{buffIdFromName|Weapon Imbue Fire}} 74
{{buffIdFromName|Pet Guinea Pig}} m202
{{buffIdFromName|}}
{{buffIdFromName|inexistent}}

See also