Modèle:Effect icon
Révision datée du 5 janvier 2019 à 15:08 par PayJi (discussion | contributions) (Page créée avec « <onlyinclude>{{#if: <!-- hiding linebreaks --> {{#vardefine:smw_icon|{{#show:{{{1|@@@}}}|?Has game icon|link=none|default=File:Miscellaneous effect.png}}}} }}<span class="... »)
Usage
{{effect icon|<effect name>|stacks=<stacks>}}
Parameters
- Unnamed parameter 1
- The article you want the icon to link to. Defaults to effect.
- Unnamed parameter 2
- Icon tooltip
- stacks
- Number of stacks of the effect. Only for effects that stack in intensity.
- icon
- Icon to use. Use to override the icon found on the article. Defaults to Miscellaneous effect.png.
- size
- Icon size, in pixels. Don't specify "px".
Examples
{{effect icon|Blur}}
is produced from {{effect icon|Determined}}
is produced from {{effect icon|Shocking Aura (effect)}}
is produced from {{effect icon|bleeding|stacks=3}}
3 is produced from {{effect icon|Example|Tooltip|icon=Bleeding.png}}
is produced from