Template:Buff/doc

From Terraria Wiki
Jump to navigation Jump to search

Display a standardized buff link in the style of {{item}}.

Usage

{{ <buff name> | <display text> | id = <buff ID> | <various other {{item}} parameters> }}

First unnamed parameter

Name of the buff, without any (buff) or (debuff) suffix.

Second unnamed parameter

Custom display text to override the buff name.

id

Buff ID, can be used instead of the buff name if that is more convenient. Will always override the first unnamed parameter.

image, link, mode, css, class, wrap, note, note2

These parameters behave like with {{item}}; see that template's documentation for details.

Examples

Result Code
IchorIchor {{buff|Ichor}}
IchorIchor {{buff|id=69}}
the fire debuffthe fire debuff {{buff|id=24|the fire debuff}}
a very long text that will breaka very long text that will break {{buff|id=24|class=break|a very long text that will break}}