Difference between revisions of "Template:EffectIcon"

From SMT: Dx2 Wiki
Jump to: navigation, search
(spirit chains and AA reinforcement)
(buff icons)
Line 76: Line 76:
 
|Weak=[[File:Icon Weak.png|{{{size|32px}}}|link=]] {{#if:{{{name|}}}|[[Weak|{{{1|}}}]]|}}
 
|Weak=[[File:Icon Weak.png|{{{size|32px}}}|link=]] {{#if:{{{name|}}}|[[Weak|{{{1|}}}]]|}}
 
|Weakened=[[File:Icon Weak.png|{{{size|32px}}}|link=]] {{#if:{{{name|}}}|[[Weak|{{{1|}}}]]|}}
 
|Weakened=[[File:Icon Weak.png|{{{size|32px}}}|link=]] {{#if:{{{name|}}}|[[Weak|{{{1|}}}]]|}}
 +
 +
|ATK Buff=[[File:Icon ATK Buff.png|32px|link=]] {{#if:{{{name|}}}|[[ATK Buff|{{{1|}}}]]|}}
 +
 +
|DEF Buff=[[File:Icon DEF Buff.png|32px|link=]] {{#if:{{{name|}}}|[[DEF Buff|{{{1|}}}]]|}}
 +
 +
|EVAC Buff=[[File:Icon EVAC Buff.png|32px|link=]] {{#if:{{{name|}}}|[[EVAC Buff|{{{1|}}}]]|}}
 +
|EV/AC Buff=[[File:Icon EVAC Buff.png|32px|link=]] {{#if:{{{name|}}}|[[EVAC Buff|{{{1|}}}]]|}}
 +
 +
|ATK Debuff=[[File:Icon ATK Debuff.png|32px|link=]] {{#if:{{{name|}}}|[[ATK Debuff|{{{1|}}}]]|}}
 +
 +
|DEF Debuff=[[File:Icon DEF Debuff.png|32px|link=]] {{#if:{{{name|}}}|[[DEF Debuff|{{{1|}}}]]|}}
 +
 +
|EVAC Debuff=[[File:Icon EVAC Debuff.png|32px|link=]] {{#if:{{{name|}}}|[[EVAC Debuff|{{{1|}}}]]|}}
 +
|EV/AC Debuff=[[File:Icon EVAC Debuff.png|32px|link=]] {{#if:{{{name|}}}|[[EVAC Debuff|{{{1|}}}]]|}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
Displays an effect icon, given its name.
 
Displays an effect icon, given its name.

Revision as of 17:13, 8 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}}