Template:Buff

来自Terraria Wiki
跳到导航 跳到搜索
Template-info.svg 文档 以下文档来自Template:Buff/doc。(编辑 | 历史

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}}