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...")
 
Line 12: Line 12:
 
{{scaleimage|ChinaWarrior title.png|0.5}}
 
{{scaleimage|ChinaWarrior title.png|0.5}}
  
[[Category:Sega Retro templates|{{PAGENAME}}]]</noinclude>
+
[[Category:NEC Retro templates|{{PAGENAME}}]]</noinclude>

Revision as of 12:06, 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