Template:ScaleImage: Difference between revisions

From Future Worlds Center Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>[[File:{{{imagename}}}|{{ #if:{{#pos:{{{newwidth|100}}}|px}}|{{{newwidth|100}}}| {{#expr: ({{#imgw: {{{imagename}}} }} * {{{newwidth|100}}}) / 100 }}px }}|{{{caption|}}}]]</includeonly>
<includeonly>[[File:{{{imagename}}}|{{ #if:{{#pos:{{{newwidth|100}}}|px}}|{{{newwidth|100}}}| {{#expr: ({{#imgw: {{{imagename}}} }} * {{{newwidth|100}}}) / 100 }}px }}|{{{caption|}}}]]</includeonly>
<noinclude>
<br /><br /><br />
__TOC__
==EXAMPLE ON HOW TO USE THE TEMPLATE==
{{ScaleImage
|imagename=SoterisDemetriou.jpg
|caption=myImage
|newwidth=50px
}}
</noinclude>

Revision as of 03:43, 22 July 2011





EXAMPLE ON HOW TO USE THE TEMPLATE

myImage