Template:Item effect

From Guild Wars 2 Wiki
Jump to navigationJump to search
Miscellaneous effect.png
Nourishment (0 m):

Usage[edit]

Used in the {{item infobox}} description to correctly format effect descriptions for nourishment item facts and miscellaneous effects.

{{item effect|<nourishment type>|<duration>|<item 1>|<item 2>|<item 3>}}
{{item effect|<effect>|<duration>}}

Parameters[edit]

1 (unnamed parameter)
Required. The type of nourishment given by the item.
Food
Utility
Required. Effect - The specific effect given by the item.
2 (unnamed parameter)
Required. The duration in seconds the effect lasts. Most effects have an interval of minutes and hours.
3 (unnamed parameter)
4 (unnamed parameter)
5 (unnamed parameter)
The effect details for the nourishment.
stacks
Optional. The number of stacks of this effect.

Example[edit]

{{Quotation|game|Double-click to consume.
{{item effect|New Year's Gift|5|stacks=2}} Double-click to activate a one-time firework. Cannot be used in WvW.
}}

Double-click to consume.

Experience (thirty percent).png2
New Year's Gift (5 m): +10% Magic Find +5% Bonus Experience from Kills Stacks Duration up to 2 Hours.
Double-click to activate a one-time firework. Cannot be used in WvW.

— In-game description