Template:Effect
From Guild Wars 2 Wiki
Jump to navigationJump to search
Description[edit]
Displays a link to the effect and adds an effect icon in front of it.
Usage[edit]
{{effect|<effect name>|<alternate link text>|stacks=<stacks>}}
Parameters[edit]
- 1 (unnamed parameter)
- Required. Name of effect article.
- 2 (unnamed parameter)
- Optional. Alternate text.
- stacks
- Optional. The number of stacks.
- icon
- Optional. The icon to use. Use to override the icon found on the article. Defaults to Skill.png.
- Can be set to "only" to remove the text. (where possible please use {{effect icon}} directly)
- Can be set to "no" to only display the description. (where possible please use {{effect description}} directly)
- size
- Optional. Icon size, in pixels. Don't specify "px".
Examples[edit]
Code | Result |
---|---|
{{effect|Blur}} |
Blur |
{{effect|Shocking Aura (effect)}} |
Shocking Aura |
{{effect|Shocking Aura (effect)|Alternate text}} |
Alternate text |
{{effect|Bleeding|stacks=3}} |
Bleeding | 3
{{effect|Nonexistent page|Example}} |
Example |
{{effect|Nonexistent page|Example|icon=Bleeding.png}} |
Example |
See also[edit]
- {{Effect icon}}
- {{Effect description}}