Usage
editUse this template to get a file type. It will produce either "picture", "video", or "audio". If the format isn't listed in the template or is blank, then the type will be blank.
This template uses {{Get file format}} to get the file format.
Examples
edit{{Get file type|myFile.png}}→ picture{{Get file type|File:video.mov}}→ video{{Get file type|weird.FAKEFILEFORMAT}}→{{Get file type|noFileFormat}}→{{Get file type|file.svg.png}}→ picture{{Get file type|File:1:2.mp3}}→ audio
| This template has not been added to any categories. Please help out by adding categories to it so that it can be listed with similar templates. |