Actions

Template

Difference between revisions of "Scaleimage"

From Sonic Retro

(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...")
 
m
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
  
 
==Example==
 
==Example==
<tt><nowiki>{{</nowiki>scaleimage|Out Run Title.png|0.5}}</tt>
+
<tt><nowiki>{{</nowiki>scaleimage|Sonic1 title.png|0.5}}</tt>
  
{{scaleimage|Out Run Title.png|0.5}}
+
{{scaleimage|Sonic1 title.png|0.5}}
{{scaleimage|Out Run Title.png|0.5|nolink=true}}
+
{{scaleimage|Sonic1 title.png|0.5|nolink=true}}
  
[[Category:Sega Retro templates|{{PAGENAME}}]]</noinclude>
+
[[Category:Sonic Retro templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 17:08, 25 January 2021

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|Sonic1 title.png|0.5}}

Sonic1 title.png Sonic1 title.png