模板:Buff/doc

出自Terraria Wiki
跳至導覽 跳至搜尋

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
靈液靈液 {{buff|Ichor}}
靈液靈液 {{buff|id=69}}
火減益火減益 {{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}}