Template:Path: Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) m (forgot a thingy) |
SirYodaJedi (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{todo|Fall back to generic file icon instead of folder icon if {{param|2}} is present.}} | {{todo|Fall back to generic file icon instead of folder icon if {{param|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 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.}} | {{todo|Separate designation for compressed vs uncompressed archives.}} | ||
{{Doc}} | {{Doc}} | ||
Line 8: | Line 9: | ||
--><span style="position:relative; top:1px">[[File:{{#if:{{{icon|}}}|{{#switch:{{{icon}}}<!-- path to folder --> | --><span style="position:relative; top:1px">[[File:{{#if:{{{icon|}}}|{{#switch:{{{icon}}}<!-- path to folder --> | ||
|#default=icon-folder open-filled.png | |#default=icon-folder open-filled.png | ||
|APP|app|BAT|bat|COM|com|EXE|exe|EXECUTABLE|executable=Icon-Windows_Executable.png | |APP|app|BAT|bat|COM|com|EXE|exe|SH|sh|EXECUTABLE|executable=Icon-Windows_Executable.png | ||
|APK|apk=Icon-Android.png | |APK|apk=Icon-Android.png | ||
|code|CODE|c|C|h|H|C++|c++|hpp|HPP|cpp|CPP=Cpp-16px.png | |code|CODE|c|C|h|H|C++|c++|hpp|HPP|cpp|CPP=Cpp-16px.png |
Revision as of 16:41, 5 March 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.