1,407
edits
No edit summary |
No edit summary |
||
(7 intermediate revisions by 2 users not shown) | |||
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 }}|text-top|{{{caption|}}}]]</includeonly> | ||
<noinclude> | <noinclude> | ||
__TOC__ | __TOC__ | ||
==EXAMPLE ON HOW TO USE THE TEMPLATE== | ==EXAMPLE ON HOW TO USE THE TEMPLATE== | ||
Line 29: | Line 28: | ||
* <b>caption</b> : This variable expects from the editor to assign to it the caption of the image. Caption is a short explanation of the image that appears when the user has his or her mouse pointer over the image. | * <b>caption</b> : This variable expects from the editor to assign to it the caption of the image. Caption is a short explanation of the image that appears when the user has his or her mouse pointer over the image. | ||
* <b>newwidth</b> : This variable expects from the editor to assign to it the width of the image. New width=15,scales the image to 15%, new width=80px,scales the image to 80px. | * <b>newwidth</b> : This variable expects from the editor to assign to it the width of the image. New width=15,scales the image to 15%, new width=80px,scales the image to 80px. | ||
[[Category:T/Media]] | |||
</noinclude> | </noinclude> |