Шаблон:Відкидання/док
Перейти до навігації
Перейти до пошуку
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 | Без відкидання |
0 – 1.5 < 0 |
Надзвичайно слабке |
1.5 – 3.0 | Дуже слабке |
3.0 – 4.0 | Слабке |
4.0 – 6.0 | Середнє |
6.0 – 7.0 | Сильне |
7.0 – 9.0 | Дуже сильне |
9.0 – 11.0 | Надзвичайно сильне |
> 11.0 | Божевільне |
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}} |
Середнє |
{{knockback|5|full=y}} |
5 (Середнє) |
{{knockback|5|full=y|class=}} |
5 (Середнє) |
{{knockback|5|full=y|class=note-text small}} |
5 (Середнє) |
See also
- {{use time}}
- {{kb}}