Template:External image: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (Text replacement - "Used to resize external images. Format: <pre>{{external image|URL|width|height}}</pre> === Resize to width === <pre>{{external image|https://www.porplemontage.com/porple.png|50px}}</pre> {{external image|https://www.porplemontage.com/porple.png|50px}} === Resize to height === <pre>{{external image|https://www.porplemontage.com/porple.png|auto|100px}}</pre> {{external image|https://www.porplemontage.com/porple.png|auto|100px}} === Fit to square === <pre>{{external image...) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div class="image-resize" style="display:inline-block;{{#if:{{{2|}}}|width:{{{2}}};}}{{#if:{{{3|}}}|height:{{{3}}};}}">{{{1}}}</div></includeonly><noinclude> | <includeonly><templatestyles src="External image/styles.css"/><div class="image-resize" style="display:inline-block;{{#if:{{{2|}}}|width:{{{2}}};}}{{#if:{{{3|}}}|height:{{{3}}};}}">{{{1}}}</div></includeonly><noinclude> | ||
Used to resize external images for [[SmashWiki:User pages|user pages]] or [[SmashWiki:April Fools'|April Fools']]. Format: | Used to resize external images for [[SmashWiki:User pages|user pages]] or [[SmashWiki:April Fools'|April Fools']]. Format: | ||
Revision as of 22:04, September 30, 2021
Used to resize external images for user pages or April Fools'. Format:
{{external image|URL|width|height}}
Resize options
- Resize to width:
{{external image|https://www.porplemontage.com/porple.png|50px}}
- Resize to height:
{{external image|https://www.porplemontage.com/porple.png|auto|100px}}
- Fit to square:
{{external image|https://www.porplemontage.com/porple.png|100px|100px}}