:Knockback/doc

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

Use this template to show a verbal description of a numeric knockback rating.

Usage

{{ knockback | <numeric knockback value> | full = y (optional) | class = <custom class for the description> (optional) }}

First unnamed parameter

Knockback value. See the following table for a value overview:

Value Description
0 틀:Knockback
0 – 1.5
< 0
틀:Knockback
1.5 – 3.0 틀:Knockback
3.0 – 4.0 틀:Knockback
4.0 – 6.0 틀:Knockback
6.0 – 7.0 틀:Knockback
7.0 – 9.0 틀:Knockback
9.0 – 11.0 틀:Knockback
> 11.0 틀:Knockback

These values are taken from the source code, thus correspond to the in-game values.

full

Set this parameter to prepend the numeric input and style the description in a standardized way.

class

Set a custom class for the description, default is knockback. Only has an effect when using $full.

Examples

Code Result
{{knockback|5}} 틀:Knockback
{{knockback|5|full=y}} 틀:Knockback
{{knockback|5|full=y|class=}} 틀:Knockback
{{knockback|5|full=y|class=note-text&#32;small}} 틀:Knockback

See also