Difference between revisions of "Template:ScaleFile"
(Added category) |
(Formatting error) |
||
Line 1: | Line 1: | ||
<div style="transform: scale({{{1|50}}}%)">{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}{{{11|}}}</div><noinclude> | <div style="transform: scale({{{1|50}}}%)">{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}{{{11|}}}</div><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. | + | <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. |
− | + | [[Category: Wiki Templates]]</noinclude> | |
− | [[Category: Wiki Templates]] |
Latest revision as of 21:50, 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.