Difference between revisions of "Template:EffectIcon"
(Created page with "<includeonly>{{#switch: {{{1|}}} |Barrier={{{size|20px}}}|link= {{#if:{{{name|}}}|{{{1|}}}|}} |Charge=File:Icon Charge....") |
(mortal icons) |
||
Line 7: | Line 7: | ||
|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 Critical.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Might|{{{1|}}}]]|}} | |Lydia=[[File:Icon Critical.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Might|{{{1|}}}]]|}} | ||
− | |Null Mortal=[[File:Icon Mortal | + | |Null Mortal=[[File:Icon Null Mortal.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|[[Mortal|{{{1|}}}]]|}} |
− | |Mortal Immunity=[[File:Icon Mortal | + | |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|}}}]]|}} |
Revision as of 21:06, 29 December 2022
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}}