Difference between revisions of "Template:EffectIcon"

From SMT: Dx2 Wiki
Jump to: navigation, search
(Fortify and Decay)
(spirit chains and AA reinforcement)
Line 30: Line 30:
  
 
|Gloom=[[File:Icon Gloom.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Gloom|{{{1|}}}]]|}}
 
|Gloom=[[File:Icon Gloom.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Gloom|{{{1|}}}]]|}}
|Depress=[[File:Icon Gloom.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Gloom|{{{1|}}}]]|}}\
+
|Depress=[[File:Icon Gloom.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Gloom|{{{1|}}}]]|}}
 +
 
 +
|Attribute Affinity Reinforcement=[[File:Icon Attribute Affinity Reinforcement.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Attribute Affinity Reinforcement|{{{1|}}}]]|}}
  
 
|attribute affinity down=[[File:Icon Elec Resistance Down 2.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[attribute affinity down|{{{1|}}}]]|}}
 
|attribute affinity down=[[File:Icon Elec Resistance Down 2.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[attribute affinity down|{{{1|}}}]]|}}
Line 40: Line 42:
 
|Decay=[[File:Icon Decay.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Decay|{{{1|}}}]]|}}
 
|Decay=[[File:Icon Decay.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Decay|{{{1|}}}]]|}}
 
|Decayed=[[File:Icon Decay.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Decay|{{{1|}}}]]|}}
 
|Decayed=[[File:Icon Decay.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Decay|{{{1|}}}]]|}}
 +
 +
|Spirit Chains (Corrosion)=[[File:Icon Spirit Chains of Corrosion.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Spirit Chains of Corrosion|{{{1|}}}]]|}}
 +
|Spirit Chains of Corrosion=[[File:Icon Spirit Chains of Corrosion.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Spirit Chains of Corrosion|{{{1|}}}]]|}}
 +
|Corrosion=[[File:Icon Spirit Chains of Corrosion.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Spirit Chains of Corrosion|{{{1|}}}]]|}}
 +
 +
|Spirit Chains (Indignation)=[[File:Icon Spirit Chains of Indignation.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Spirit Chains of Indignation|{{{1|}}}]]|}}
 +
|Spirit Chains of Indignation=[[File:Icon Spirit Chains of Indignation.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Spirit Chains of Indignation|{{{1|}}}]]|}}
 +
|Indignation=[[File:Icon Spirit Chains of Indignation.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Spirit Chains of Indignation|{{{1|}}}]]|}}
 +
 +
|Spirit Chains (Intimidation)=[[File:Icon Spirit Chains of Intimidation.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Spirit Chains of Intimidation|{{{1|}}}]]|}}
 +
|Spirit Chains of Intimidation=[[File:Icon Spirit Chains of Intimidation.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Spirit Chains of Intimidation|{{{1|}}}]]|}}
 +
|Intimidation=[[File:Icon Spirit Chains of Intimidation.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Spirit Chains of Intimidation|{{{1|}}}]]|}}
 +
 +
|Spirit Chains (Suppression)=[[File:Icon Spirit Chains of Suppression.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Spirit Chains of Suppression|{{{1|}}}]]|}}
 +
|Spirit Chains of Suppression=[[File:Icon Spirit Chains of Suppression.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Spirit Chains of Suppression|{{{1|}}}]]|}}
 +
|Suppression=[[File:Icon Spirit Chains of Suppression.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Spirit Chains of Suppression|{{{1|}}}]]|}}
  
 
|Bind=[[File:Icon Bind.png|{{{size|32px}}}|link=]] {{#if:{{{name|}}}|[[Bind|{{{1|}}}]]|}}
 
|Bind=[[File:Icon Bind.png|{{{size|32px}}}|link=]] {{#if:{{{name|}}}|[[Bind|{{{1|}}}]]|}}

Revision as of 05:22, 14 February 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}}