Template:Knockback
Jump to navigation
Jump to search
Documentation The documentation below is transcluded from Template:Knockback/doc. (edit | history)
[purge]
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 | No knockback |
0 – 1.5 < 0 |
Extremely weak |
1.5 – 3.0 | Very weak |
3.0 – 4.0 | Weak |
4.0 – 6.0 | Average |
6.0 – 7.0 | Strong |
7.0 – 9.0 | Very strong |
9.0 – 11.0 | Extremely strong |
> 11.0 | Insane |
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
. Only has an effect when using knockback
.
$full
Examples
Code | Result |
---|---|
{{knockback|5}} |
Average |
{{knockback|5|full=y}} |
5 (Average) |
{{knockback|5|full=y|class=note-text small}} |
5 (Average) |
See also
- {{use time}}