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" style="display:inline-block;width:{{{2| | <includeonly><div class="image-resize{{#if:{{{height|}}}|-height}}" style="display:inline-block;{{#if:{{{2|}}}|width:{{{2}}};}}{{#if:{{{height|}}}|height:{{{height}}}}}">{{{1}}}</div></includeonly><noinclude> | ||
Used to resize | Used to resize external images. | ||
=== Based on width === | |||
<pre>{{external image|https://www.porplemontage.com/porple.png|50px}}</pre> | |||
{{external image|https://www.porplemontage.com/porple.png|50px}} | |||
=== Based on height === | |||
<pre>{{external image|https://www.porplemontage.com/porple.png|height=100px}}</pre> | |||
{{external image|https://www.porplemontage.com/porple.png|height=100px}} | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 15:42, 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}}