Actions

Template

Scaleimage

From Sonic Retro

Revision as of 12:33, 27 March 2018 by Black Squirrel (talk | contribs) (Created page with "<includeonly>[[File:{{{1}}}|{{#expr:({{#mediawidth:{{{1}}}}}*{{{2|2}}}) round0}}px|{{#if:{{{nolink|}}}|link=|}}]]</includeonly><noinclude> This template scales an image by a f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template scales an image by a factor of 2, or any other specified number.

Usage

{{scaleimage|filename.jpg|n}}

n is optional.

Example

{{scaleimage|Out Run Title.png|0.5}}

File:Out Run Title.png Expression error: Unexpected < operator.px