Actions

Template

Difference between revisions of "Scaleimage"

From NEC Retro

(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...")
(No difference)

Revision as of 13:05, 26 September 2015

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