Template:EffectIcon: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(New Page: [[Image:EffectIcon({{{1|Normal}}}).png|{{{s|16}}}px|link={{#if:{{{l|}}}|{{{l}}}|{{{1|Normal}}}}}]]<noinclude> ==Usage== <code><nowiki>{{EffectIcon|nameOfType|s=sizeInPixels|l=linkToPage}...)
 
(force disambiguation link)
Line 1: Line 1:
[[Image:EffectIcon({{{1|Normal}}}).png|{{{s|16}}}px|link={{#if:{{{l|}}}|{{{l}}}|{{{1|Normal}}}}}]]<noinclude>
[[Image:EffectIcon({{{1|Normal}}}).png|{{{s|16}}}px|link={{{1|Normal}}} (effect)]]<noinclude>


==Usage==
==Usage==


<code><nowiki>{{EffectIcon|nameOfType|s=sizeInPixels|l=linkToPage}}</nowiki></code>
<code><nowiki>{{EffectIcon|nameOfEffect|s=sizeInPixels}}</nowiki></code>


Leaving out a size defaults to 16px. Leaving out a link defaults to linking to the article with the same title as the effect.
Leaving out a size defaults to 16px. The image links to the article called "Name (effect)" (in other to ensure disambiguation).


</noinclude>
</noinclude>

Revision as of 19:59, January 15, 2020

EffectIcon(Normal).png

Usage

{{EffectIcon|nameOfEffect|s=sizeInPixels}}

Leaving out a size defaults to 16px. The image links to the article called "Name (effect)" (in other to ensure disambiguation).