Шаблон:Stack
Материал из Guild Wars 2 wiki
Содержание |
Description[править]
This template produces a link to a stackable effect page in form of an icon and/or text, with showable effect values.
Usage[править]
{{Stack|<effect>}}[[<effect>|<effect>
The page type input value "-3Ceffect>" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
]]
- default
or
{{Stack|<effect>|<text>}}[[<effect>|<text>]]
- default
or
{{Stack|<effect>|icon = <icon>}}[[<effect>|<effect>
The page type input value "-3Ceffect>" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
]]
- default
or
{{Stack|<effect>|<text>|icon = <icon>}}[[<effect>|<text>]]
- default
Parameters[править]
- effect (or first parameter)
- Mandatory. Name of an effect (e.g. bleeding).
- text
- Optional. Alternative link text (e.g. bleed, bled, ). Defaults to the above parameter.
- icon
- Optional. Either no to make a text link, or only, to produce an effect icon without text. Defaults to both, which will result in both icon and text.
- int
- Optional. Intensity multiplier (or stack size of the effect).
- val
- Optional. Overall damage value.
- sec
- Optional. Duration of the effect in seconds.
Example[править]
Bleeding effect stacked to 3 with a 10s duration.
{{Stack|Bleeding|int=3|sec=10}}Bleeding ×3 (10 s)
Code[править]
Click the edit button to view the template code.