Template:Path: Difference between revisions
Jump to navigation
Jump to search
m (Code cleanup) |
mNo edit summary |
||
Line 55: | Line 55: | ||
| CONFIG|config|CFG|cfg=Icon-settings_applications.png | | CONFIG|config|CFG|cfg=Icon-settings_applications.png | ||
| APNG|apng|BMP|bmp|JPG|jpg|JPEG|jpeg|PCX|pcx|PNG|png|TGA|tga|TIF|tif|TIFF|tiff|WEBP|WebP|webp|SVG|svg|VSVG|vsvg|VSVG_C|vsvg_c = Icon-Image-filled.png | | APNG|apng|BMP|bmp|JPG|jpg|JPEG|jpeg|PCX|pcx|PNG|png|TGA|tga|TIF|tif|TIFF|tiff|WEBP|WebP|webp|SVG|svg|VSVG|vsvg|VSVG_C|vsvg_c = Icon-Image-filled.png | ||
| DDS|dds|SPR|spr|VTF|vtf|VTEX_c|vtex_c = Icon-Image-filled.png | | DDS|dds|SPR|spr|VTF|vtf|VTEX_c|vtex_c = Icon-Image-filled.png<!--currently same icon as image--> | ||
| 7z|7Z|tar.gz|TAR.GZ|tgz|TGZ|zip|ZIP|zipx|ZIPX|rar|RAR|VPK|vpk|PAK|pak = Folder_zip_icon.png | | 7z|7Z|tar.gz|TAR.GZ|tgz|TGZ|zip|ZIP|zipx|ZIPX|rar|RAR|VPK|vpk|PAK|pak = Folder_zip_icon.png | ||
| VMF|vmf|hammer|HAMMER = Icon-Hammer_4.x.png | | VMF|vmf|hammer|HAMMER = Icon-Hammer_4.x.png | ||
Line 65: | Line 65: | ||
}} | }} | ||
}}|baseline|alt={{#switch:{{{icon}}} | }}|baseline|alt={{#switch:{{{icon}}} | ||
<!-- fallback if icons are not loaded properly --> | |||
| #default = 🖿 | | #default = 🖿 | ||
| CUSTOM|custom = Custom Icon | | CUSTOM|custom = Custom Icon | ||
Line 90: | Line 93: | ||
<!-- |MDL|mdl|MODEL|model={{Path/strings|ModelIconFallback}} --> | <!-- |MDL|mdl|MODEL|model={{Path/strings|ModelIconFallback}} --> | ||
<!-- |MAP|map={{Path/strings|MapIconFallback}} --> | <!-- |MAP|map={{Path/strings|MapIconFallback}} --> | ||
| GENERIC|generic|FILE|file = {{Path/strings|File}} <!-- alt parameter will be used for Unicode fallback if the icon doesn't load properly. | | GENERIC|generic|FILE|file = {{Path/strings|File}}<!-- alt parameter will be used for Unicode fallback if the icon doesn't load properly. | ||
Emojis are not recommended as older OSes may lack certain emojis.--> | Emojis are not recommended as older OSes may lack certain emojis.--> | ||
}}|15px|link=]]<!-- | }}|15px|link=]]<!-- |
Revision as of 04:36, 1 August 2024
Todo: Fall back to generic file icon instead of folder icon if {{{2}}} is present.
Todo: Icons for models, maps, compressed archives, and uncompressed packages. Syntax exists, and just needs to be uncommented when the icons are ready.
Todo: Icons for linked libraries (DLL, SO, DYLIB).
Todo: Separate designation for compressed vs uncompressed archives.
The above documentation is transcluded from Template:Path/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.