Template:ScaleImage: Difference between revisions

From Digital Cyprus
Jump to navigation Jump to search
(Created page with "<includeonly>[[File:{{{imagename}}}|{{ #if:{{#pos:{{{newwidth|100}}}|px}}|{{{newwidth|100}}}| {{#expr: ({{#imgw: {{{imagename}}} }} * {{{newwidth|100}}}) / 100 }}px }}|text-to...")
 
No edit summary
 
(7 intermediate revisions by 2 users not shown)
(No difference)

Latest revision as of 11:26, 10 January 2018


EXAMPLE ON HOW TO USE THE TEMPLATE

myImage


Copy and paste the code below to the page you wish to add an image:

{{ScaleImage
|imagename=image.jpg
|caption=myImage
|newwidth=50px
}}

Then replace the content of the variables with your own!!!