Difference between revisions of "Template:ScaleFile"
m (grammar tweak) |
(Added category) |
||
Line 2: | Line 2: | ||
<code><nowiki>{{</nowiki>ScaleFile|''Scale percentage''|''External file 1''|''External file 2''|''External file 3''...<nowiki>}}</nowiki></code> displays external images (such as those used for [[BadgeGen]]) at a given percentage of their original size. Up to 10 images are supported, which are shown adjacent to each other in a single line. This is necessary as the usual wiki markup <nowiki>[[File:</nowiki>''filename''|''size''<nowiki>]]</nowiki> cannot be used for external images. The default scale is 50%. Do not add % to the scale size.</noinclude> | <code><nowiki>{{</nowiki>ScaleFile|''Scale percentage''|''External file 1''|''External file 2''|''External file 3''...<nowiki>}}</nowiki></code> displays external images (such as those used for [[BadgeGen]]) at a given percentage of their original size. Up to 10 images are supported, which are shown adjacent to each other in a single line. This is necessary as the usual wiki markup <nowiki>[[File:</nowiki>''filename''|''size''<nowiki>]]</nowiki> cannot be used for external images. The default scale is 50%. Do not add % to the scale size.</noinclude> | ||
+ | |||
+ | [[Category: Wiki Templates]] |
Revision as of 21:45, 26 April 2024
{{ScaleFile|Scale percentage|External file 1|External file 2|External file 3...}}
displays external images (such as those used for BadgeGen) at a given percentage of their original size. Up to 10 images are supported, which are shown adjacent to each other in a single line. This is necessary as the usual wiki markup [[File:filename|size]] cannot be used for external images. The default scale is 50%. Do not add % to the scale size.