틀:GetModifierInfo/doc
둘러보기로 이동
검색으로 이동
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}} |
|
{{modifierinfo|Broken|kb}} |
|
{{modifierinfo|Legendary|rarity}} |
|
{{modifierinfo|Legendary (Terrarian)|value}} |
|
{{modifierinfo|Large|size}} |
|
{{modifierinfo|Large|size|raw=y}} |
|
분류:
- Pages using DynamicPageList3 dplvar parser function
- Pages using DynamicPageList3 dplreplace parser function
- Template documentation