Modèle:Effect
Révision datée du 5 janvier 2019 à 08:13 par PayJi (discussion | contributions) (Page créée avec « <onlyinclude>{{#switch: {{lc:{{{icon|}}}}} | only = {{effect icon|{{ucfirst:{{{1|Effect}}}}}|stacks={{{stacks|}}}}} | no = {{#if:{{{2|}}}|{{{1|Effect}}}|{{{2... »)
Usage
{{effect|<effect name>|<alternate link text>|stacks=<stacks>}}
Parameters
- Unnamed parameter 1
- Name of effect article
- Unnamed parameter 2
- Alternate text
- stacks
- Optional. The number of stacks
- icon
- 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. (deprecated, where possible please use Modèle:Tl directly)
- Can be set to "no" to only display the description. (deprecated, where possible please use Modèle:Tl directly)
Examples
Code | Result |
---|---|
{{effect|Blur}} |
Blur |
{{effect|Shocking Aura (effect)}} |
Shocking Aura (effect) |
{{effect|Shocking Aura (effect)|Alternate text}} |
Alternate text |
{{effect|Bleeding|stacks=3}} |
Bleeding | 3
{{effect|Example}} |
Example |
{{effect|Example|icon=Bleeding.png}} |
Example |