Template:Filesize: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
File size template
 
mNo edit summary
 
Line 1: Line 1:
<includeonly>{{#replace:{{#mediasize:{{{file}}}}}|K|k}}</includeonly><noinclude>
<includeonly>{{#replace:{{#mediasize:{{{1}}}}}|K|k}}</includeonly><noinclude>
 
<templatedata>
{
    "params": {
        "file": {
            "label": "File",
"description": "The file name.",
"example": "chaoscanyon.rbxl",
"type": "string",
"suggested": true
        }
    },
    "description": "Returns the size of a file in B/kB/MB. ",
    "paramOrder": [
        "file"
    ]
}
</templatedata>


Returns the size of a file in B/kB/MB.
This template was stolen from Sonic Retro 🥹
This template was stolen from Sonic Retro 🥹



Latest revision as of 05:32, 10 November 2023


Returns the size of a file in B/kB/MB. This template was stolen from Sonic Retro 🥹

Example

{{filesize|Welcome_to_ROBLOX_Building.png}} returns 176 kB