Template:External image: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div class="image-resize{{#if:{{{height|}}}|-height}}" style="display:inline-block;{{#if:{{{2|}}}|width:{{{2}}};}}{{#if:{{{height|}}}|height:{{{height}}}}}">{{{1}}}</div></includeonly><noinclude> | <includeonly><div class="image-resize{{#if:{{{height|}}}|-height}}" style="display:inline-block;{{#if:{{{2|{{{width|}}}}}}|width:{{{2|{{{width}}}}}};}}{{#if:{{{height|}}}|height:{{{height}}}}}">{{{1}}}</div></includeonly><noinclude> | ||
Used to resize external images. | Used to resize external images. | ||
Revision as of 15:44, April 9, 2021
Used to resize external images.
Based on width
{{external image|https://www.porplemontage.com/porple.png|50px}}
Based on height
{{external image|https://www.porplemontage.com/porple.png|height=100px}}