Template:External image: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary |
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...) |
||
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><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. Format: | Used to resize external images for [[SmashWiki:User pages|user pages]] or [[SmashWiki:April Fools'|April Fools']]. Format: | ||
<pre>{{external image|URL|width|height}}</pre> | <pre>{{external image|URL|width|height}}</pre> | ||
=== Resize | === Resize options === | ||
< | * Resize to width: <code><nowiki>{{external image|https://www.porplemontage.com/porple.png|50px}}</nowiki></code> | ||
* Resize to height: <code><nowiki>{{external image|https://www.porplemontage.com/porple.png|auto|100px}}</nowiki></code> | |||
* Fit to square: <code><nowiki>{{external image|https://www.porplemontage.com/porple.png|100px|100px}}</nowiki></code> | |||
< | |||
< | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 04:45, May 24, 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}}