Actions

Template

Scaleimage

From NEC Retro

Revision as of 13:05, 26 September 2015 by Black Squirrel (talk | contribs) (Created page with "<includeonly>[[File:{{{1}}}|{{#expr:({{#mediawidth:{{{1}}}}}*{{{2|2}}}) round0}}px]]</includeonly><noinclude> This template scales an image by a factor of 2, or any other spec...")
(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|ChinaWarrior title.pngg|0.5}}

ChinaWarrior title.png