Difference between revisions of "Template:EffectIcon"
(repels) |
(ailments) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{1|}}} | <includeonly>{{#switch: {{{1|}}} | ||
|Barrier=[[File:Icon Barrier.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Barrier (status effect)|{{{1|}}}]]|}} | |Barrier=[[File:Icon Barrier.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Barrier (status effect)|{{{1|}}}]]|}} | ||
+ | |||
|Charge=[[File:Icon Charge.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Charge (status effect)|{{{1|}}}]]|}} | |Charge=[[File:Icon Charge.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Charge (status effect)|{{{1|}}}]]|}} | ||
+ | |||
|Concentrate=[[File:Icon Concentrate.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Concentrate (status effect)|{{{1|}}}]]|}} | |Concentrate=[[File:Icon Concentrate.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Concentrate (status effect)|{{{1|}}}]]|}} | ||
+ | |||
|Might=[[File:Icon Critical.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Might|{{{1|}}}]]|}} | |Might=[[File:Icon Critical.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Might|{{{1|}}}]]|}} | ||
|Critical=[[File:Icon Critical.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Might|{{{1|}}}]]|}} | |Critical=[[File:Icon Critical.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Might|{{{1|}}}]]|}} | ||
|Rebellion=[[File:Icon Critical.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Might|{{{1|}}}]]|}} | |Rebellion=[[File:Icon Critical.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Might|{{{1|}}}]]|}} | ||
+ | |||
|Lydia=[[File:Icon Lydia.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Lydia (status effect)|{{{1|}}}]]|}} | |Lydia=[[File:Icon Lydia.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Lydia (status effect)|{{{1|}}}]]|}} | ||
+ | |||
|Repel Physical=[[File:Icon Repel Physical.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Repel Physical|{{{1|}}}]]|}} | |Repel Physical=[[File:Icon Repel Physical.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Repel Physical|{{{1|}}}]]|}} | ||
|Tetrakarn=[[File:Icon Repel Physical.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Repel Physical|{{{1|}}}]]|}} | |Tetrakarn=[[File:Icon Repel Physical.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Repel Physical|{{{1|}}}]]|}} | ||
|Repel Almighty Physical=[[File:Icon Repel Almighty Physical.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Repel Physical|{{{1|}}}]]|}} | |Repel Almighty Physical=[[File:Icon Repel Almighty Physical.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Repel Physical|{{{1|}}}]]|}} | ||
+ | |||
|Repel Magic=[[File:Icon Repel Magic.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Repel Magic|{{{1|}}}]]|}} | |Repel Magic=[[File:Icon Repel Magic.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Repel Magic|{{{1|}}}]]|}} | ||
|Makarakarn=[[File:Icon Repel Magic.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Repel Magic|{{{1|}}}]]|}} | |Makarakarn=[[File:Icon Repel Magic.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Repel Magic|{{{1|}}}]]|}} | ||
|Repel Almighty Magic=[[File:Icon Repel Almighty Magic.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Repel Magic|{{{1|}}}]]|}} | |Repel Almighty Magic=[[File:Icon Repel Almighty Magic.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Repel Magic|{{{1|}}}]]|}} | ||
+ | |||
|Null Mortal=[[File:Icon Null Mortal.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Mortal|{{{1|}}}]]|}} | |Null Mortal=[[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|}}}]]|}} | |Mortal Immunity=[[File:Icon Null Mortal.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Mortal|{{{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|}}}]]|}} | ||
|Revive Seal=[[File:Icon Revive Ban.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Revive Ban|{{{1|}}}]]|}} | |Revive Seal=[[File:Icon Revive Ban.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Revive Ban|{{{1|}}}]]|}} | ||
+ | |||
|Zenith=[[File:Icon Zenith.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Zenith|{{{1|}}}]]|}} | |Zenith=[[File:Icon Zenith.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Zenith|{{{1|}}}]]|}} | ||
+ | |||
|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|}}}]]|}} | ||
+ | |||
+ | |Bind=[[File:Icon Bind.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Bind|{{{1|}}}]]|}} | ||
+ | |Bound=[[File:Icon Bind.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Bind|{{{1|}}}]]|}} | ||
+ | |||
+ | |Curse=[[File:Icon Curse.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Curse|{{{1|}}}]]|}} | ||
+ | |Cursed=[[File:Icon Curse.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Curse|{{{1|}}}]]|}} | ||
+ | |||
+ | |Charm=[[File:Icon Charm.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Charm|{{{1|}}}]]|}} | ||
+ | |Charmed=[[File:Icon Charm.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Charm|{{{1|}}}]]|}} | ||
+ | |||
+ | |Mute=[[File:Icon Mute.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Mute|{{{1|}}}]]|}} | ||
+ | |Muted=[[File:Icon Mute.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Mute|{{{1|}}}]]|}} | ||
+ | |||
+ | |Poison=[[File:Icon Poison.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Poison|{{{1|}}}]]|}} | ||
+ | |Poisoned=[[File:Icon Poison.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Poison|{{{1|}}}]]|}} | ||
+ | |||
+ | |Weak=[[File:Icon Weak.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Weak|{{{1|}}}]]|}} | ||
+ | |Weakened=[[File:Icon Weak.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Weak|{{{1|}}}]]|}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Displays an effect icon, given its name. | Displays an effect icon, given its name. |
Revision as of 04:50, 13 January 2023
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).
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}}
{{EffectIcon|Barrier|name=1}}
{{EffectIcon|Barrier|size=32px}}
Alternate Names Example
* {{EffectIcon|Might|name=1}} * {{EffectIcon|Critical|name=1}} * {{EffectIcon|Rebellion|name=1}}