Template:Path: Difference between revisions
Jump to navigation
Jump to search
(Testing custom icon.) |
mNo edit summary |
||
Line 18: | Line 18: | ||
|#default=File:icon-folder open-filled.png | |#default=File:icon-folder open-filled.png | ||
|exe=File:Icon-Windows_Executable.png | |exe=File:Icon-Windows_Executable.png | ||
|execustom={{#if:{{{ | |execustom={{#if:{{{customico|}}}|{{{customico}}}|}} | ||
|audio|sound|music=File:Icon-Music-Note.png | |audio|sound|music=File:Icon-Music-Note.png | ||
|video|movie=File:Icon-Video_File-filled.png | |video|movie=File:Icon-Video_File-filled.png |
Revision as of 08:50, 1 July 2023
Todo: Automatically use music icon if {{{2}}} is "wav", "mp3", "ogg", "vsnd_c" or any other audio formats.
Automatically use video icon if {{{2}}} is "bik", "avi", "wmv", "mov", "webm", "mp4" or any other video formats.
Automatically use picture icon if {{{2}}} is "jpg", "bmp", "tga", "vtf" or any other image and texture formats.
Automatically use video icon if {{{2}}} is "bik", "avi", "wmv", "mov", "webm", "mp4" or any other video formats.
Automatically use picture icon if {{{2}}} is "jpg", "bmp", "tga", "vtf" or any other image and texture formats.
Todo: Generic "file" icon (sheet of paper with bent corner), to use if path target is file.
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.