Difference between revisions of "Filesize"

From Sega Retro

(Created page with "<includeonly>{{#replace:{{#mediasize:{{{1}}}}}|K|k}}</includeonly><noinclude> Returns the size of a file in B/kB/MB. ==Example== <tt><nowiki>{{</nowiki>filesize|Sonic1 title....")
 
 
Line 5: Line 5:
 
<tt><nowiki>{{</nowiki>filesize|Sonic1 title.png}}</tt> '''returns''' {{filesize|Sonic1 title.png}}
 
<tt><nowiki>{{</nowiki>filesize|Sonic1 title.png}}</tt> '''returns''' {{filesize|Sonic1 title.png}}
  
[[Category:Sega Retro templates]]</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 13:15, 1 January 2022

Returns the size of a file in B/kB/MB.

Example

{{filesize|Sonic1 title.png}} returns 7 kB