Difference between revisions of "Template:ScaleFile"

From Project-GC
Jump to: navigation, search
(Create template for rescaling external images)
 
(Closing noinclude)
Line 1: Line 1:
 
<div style="transform: scale({{{2|50}}}%)">{{{1}}}</div><noinclude>
 
<div style="transform: scale({{{2|50}}}%)">{{{1}}}</div><noinclude>
  
<nowiki>{{</nowiki>ScaleFile|''External file''|''Scale percentage''<nowiki>}}</nowiki> displays an external image (such as those used for [[BadgeGen]]) at a given percentage of its original size. This is necessaryas the usual wiki markup <nowiki>[[File:</nowiki>''filename''|''size''<nowiki>]]</nowiki> cannot be used for external images. The default size is 50%.
+
<nowiki>{{</nowiki>ScaleFile|''External file''|''Scale percentage''<nowiki>}}</nowiki> displays an external image (such as those used for [[BadgeGen]]) at a given percentage of its original size. This is necessaryas the usual wiki markup <nowiki>[[File:</nowiki>''filename''|''size''<nowiki>]]</nowiki> cannot be used for external images. The default size is 50%.</noinclude>

Revision as of 13:39, 24 February 2020

{{{1}}}

{{ScaleFile|External file|Scale percentage}} displays an external image (such as those used for BadgeGen) at a given percentage of its original size. This is necessaryas the usual wiki markup [[File:filename|size]] cannot be used for external images. The default size is 50%.