Difference between revisions of "Template:EffectIcon"

From SMT: Dx2 Wiki
Jump to: navigation, search
(malice)
(Reiko status)
 
Line 23: Line 23:
 
|Mortal Immunity=[[File:Icon Null Mortal.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Mortal|{{{1|}}}]]|}}
 
|Mortal Immunity=[[File:Icon Null Mortal.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Mortal|{{{1|}}}]]|}}
 
|Evade Mortal=[[File:Icon Null Mortal.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Mortal|{{{1|}}}]]|}}
 
|Evade Mortal=[[File:Icon Null Mortal.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Mortal|{{{1|}}}]]|}}
 +
 +
|You're Next=[[File:Icon Youre Next.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[You're Next (status effect)|{{{1|}}}]]|}}
  
 
|Revive Ban=[[File:Icon Revive Ban.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Revive Ban|{{{1|}}}]]|}}
 
|Revive Ban=[[File:Icon Revive Ban.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Revive Ban|{{{1|}}}]]|}}

Latest revision as of 09:29, 15 March 2024

Displays an effect icon, given its name.

  • If an effect has multiple names, all will work.

Optionally, can specify the size of the icon (default is 20px).

  • Ailment icons default to 32px instead.

Optionally, can also display a link to the effect page.

  • The visible linked word(s) will be the given name
  • Example: If you enter "Rebellion" then the link will appear as the word "Rebellion", but the link will go to "Might (status effect)"

Usage Examples

{{EffectIcon|Barrier}}

Icon Barrier.png

{{EffectIcon|Barrier|name=1}}

Icon Barrier.png Barrier

{{EffectIcon|Barrier|size=32px}}

Icon Barrier.png

Alternate Names Example

* {{EffectIcon|Might|name=1}}
* {{EffectIcon|Critical|name=1}}
* {{EffectIcon|Rebellion|name=1}}