Difference between revisions of "Scaleimage"
From NEC Retro
Ccawley2011 (talk | contribs) |
|||
Line 1: | Line 1: | ||
− | <includeonly>[[File:{{{1}}}|{{#expr:({{#mediawidth:{{{1}}}}}*{{{2|2}}}) round0}}px]]</includeonly><noinclude> | + | <includeonly>[[File:{{{1}}}|{{#expr:({{#mediawidth:{{{1}}}}}*{{{2|2}}}) round0}}px|{{#if:{{{nolink|}}}|link=|}}]]</includeonly><noinclude> |
This template scales an image by a factor of 2, or any other specified number. | This template scales an image by a factor of 2, or any other specified number. | ||
Line 8: | Line 8: | ||
==Example== | ==Example== | ||
− | <tt><nowiki>{{</nowiki>scaleimage|ChinaWarrior title. | + | <tt><nowiki>{{</nowiki>scaleimage|ChinaWarrior title.png|0.5}}</tt> |
{{scaleimage|ChinaWarrior title.png|0.5}} | {{scaleimage|ChinaWarrior title.png|0.5}} | ||
+ | {{scaleimage|ChinaWarrior title.png|0.5|nolink=true}} | ||
[[Category:NEC Retro templates|{{PAGENAME}}]]</noinclude> | [[Category:NEC Retro templates|{{PAGENAME}}]]</noinclude> |