From Terraria Wiki
Jump to: navigation, 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 version source code. For old-mobile exclusive buffs, it will return with prefix "m"(e.g. m205).


{{BuffIdFromName|<buff name>}}
Unnamed parameter 1

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


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


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

See also