Template:GetBuffInfo

From Terraria Wiki
Revision as of 19:07, 14 January 2021 by Dinoxel (talk | contribs) (+Shadow Dodge under "m59")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Template-info.svg Documentation The documentation below is transcluded from Template:GetBuffInfo/doc. (edit | history)

Get info about buff.

{{getBuffInfo|id|<field>}}

unnamed parameter 1

Buff id, 1 to 205(for desktop version), or m59(Shadow Dodge), m200 to m215(for mobile version).

unnamed parameter 2

Field, can be ename / name / namesub / page / image / tooltip / type. (type can be buff/debuff)

lang

Specify the language code manually.

Example:

  • {{getBuffInfo|87|ename}} -> Cozy Fire
  • {{getBuffInfo|87|name}} -> Cozy Fire
  • {{getBuffInfo|87|ename|lang=zh}} -> Cozy Fire
  • {{getBuffInfo|87|name|lang=zh}} -> 温馨之火
  • {{getBuffInfo|147|page}} -> Banners (enemy)

For total count:

  • {{getBuffInfo||count}} -> 326

See also: {{buffIdFromName}}