:GetModifierInfo/doc

Terraria Wiki
둘러보기로 이동 검색으로 이동

This template is used to display the effect of a modifier on a certain statistic. It does not support accessory modifiers. The data is taken from the database, which is based on Terraria's 틀:Desktop source code.

Usage

{{ modifierinfo | <modifier name> | id = <modifier ID> | <stat> | raw = y/yes/true (optional) }}

First unnamed parameter, id

Name or ID of the modifier. Only one out of these two parameters should be used; using $id is faster.

Note that there are two modifiers with duplicate names. The following values are accepted as input for the duplicates:

Modifier Accepted values
Deadly Deadly2
Deadly (ranged)
Deadly (ranged weapons)
Legendary Legendary2
Legendary (Terrarian)
stat

Statistic to query. Can be any of the following:

  • damage / dmg
  • mana
  • size
  • velocity
  • knockback / kb
  • speed / spd
  • critical / crit
  • rarity / tier
  • value
raw

Suppress formatting of the output and just display the raw value, e.g. for use with {{#[[[:틀:Tl/parser function links]]##expr expr]:}}.

Examples

Code Result
{{modifierinfo|Unreal|damage}}
  1. REDIRECT Template:GetModifierInfo
{{modifierinfo|Broken|kb}}
  1. REDIRECT Template:GetModifierInfo
{{modifierinfo|Legendary|rarity}}
  1. REDIRECT Template:GetModifierInfo
{{modifierinfo|Legendary (Terrarian)|value}}
  1. REDIRECT Template:GetModifierInfo
{{modifierinfo|Large|size}}
  1. REDIRECT Template:GetModifierInfo
{{modifierinfo|Large|size|raw=y}}
  1. REDIRECT Template:GetModifierInfo