Template talk:Path

From Valve Developer Community
Jump to navigation Jump to search
Icon-message-48px.png
This is the discussion page of Template:Path. To add a comment, use the Edit button near the headline of the appropriate section. To create a new section, you can use the Add topic button at the top of this page.
Comments on talk pages should be signed with "~~~~", which will be converted into your signature and a timestamp.

Filetype icons?

I was thinking that common extensions could perhaps have an icon that indicates it's contents. Unknown file extensions would instead display a page icon, like PCGamingWiki's {{file}} template; this would help distinguish from folders, as the same icon is currently used for both. Feel free to edit the table after my signature, which contains ideas.
SirYodaJedi (talk) 16:48, 8 June 2023 (PDT)

Extension Icon
exe, sh, bat ??? (These are executables)
dll, so, dylib ??? (should be different than executables icon)
wad, spr, vtf, vtex, vtex_c missing texture checkerboard
bmp, tga, jpg, jpeg, png, psd, xcf photograph
pak, vpk, gcf package
zip, rar, 7z, bz2 package with zipper
bsp, vmap_c map
map, vmf, vmap, rmf, jmf map (somehow distinguish from compiled forms)
wav, mp3, vsnd_c, ogg, opus, flac, mid music note, or maybe speaker
mdl, vmdl, vmdl_c, md2, md3 ???
smd, dmx, vta, fbx, obj, max, blend ??? (should be different from compiled forms)

span tag bug

See xwad; it's showing <span title="Path to common\SourceSDK\bin\<branchname>\bin\xwad.exe" style="display:inline-flex; align-items:center; line-height:1.35em"> in front of the path.
SirYodaJedi (talk) 11:10, 30 June 2023 (PDT)


(using Template:Message)  Same thing here on most pages, any characters with "<" or ">" can break the "span title" which displays the text when you hover the icon or text (used to explaining more details and for better accessibility), gonna try to fix it if possible.

Edit: nowiki would break template so looks like we cant for now.  --Kr0tchet (talk) 14:15, 1 Jul 2023 (UTC)


(using Template:Message)  We should port a variant of Pcgw icon.png Template:Path, then. Greater than and less than signs are standard practice for wrapping these sorts of foobars.

Edit: Nowiki doesn't seem to break anything important.  --SirYodaJedi (talk) 18:21, 1 Jul 2023 (UTC)