Template:Path: Difference between revisions
Jump to navigation
Jump to search
(I guess ifexist not needed and let just red link or link to wiki for common files) |
No edit summary |
||
Line 102: | Line 102: | ||
--><code>{{{1|}}}{{#if:{{{2|}}}|.{{#switch: {{lc:{{{2}}}}} | --><code>{{{1|}}}{{#if:{{{2|}}}|.{{#switch: {{lc:{{{2}}}}} | ||
| exe = [[w:.exe|<span style="color:grey">exe</span>]] | | exe = [[w:.exe|<span style="color:grey">exe</span>]] | ||
| txt = txt | |||
| #default = [[{{lc:{{{2}}}}}|{{{2}}}]]}} | | #default = [[{{lc:{{{2}}}}}|{{{2}}}]]}} | ||
}}</code><!-- | }}</code><!-- |
Latest revision as of 06:16, 9 May 2025
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.