Template:Path
From Valve Developer Community
		Todo: Icons for models and maps.
 English
 English
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.
Please follow the format on this subpage(s) to add translations.
The path to the folder or file. {{file}} aliases here.
Parameters and Examples
| Parameter | Description | Examples | Preview | 
|---|---|---|---|
| {{{1}}} | The path to the folder or file. | {{Path|C:\Program Files\Steam}} | |
| {{{2}}} | File extension, if any. Omit the dot. | {{Path|D:\Program Files\Steam\steam|exe}} {{Path|de_dust2|bsp}} {{Path|materials\debug\debugempty|vtf}} | |
| {{{select}}} | Text selection mode based on the CSS property user-select.No effect on some browsers.  Warning: select=noneis likely to cause user frustration; use sparingly. | {{Path|select=none|C:\Program Files}} {{Path|select=all|C:\Program Files}} | |
| {{{icon}}} {{{customico}}} | Changes the icon. The tooltip (which appears if you are hovering the text or the icon itself), will have it's text changed aswell. If the images is disabled in your browser or when a new icon file is being uploaded, it may fallback to Unicode symbols or simple text. {{{customico}}} is used to change to any icon if you want. Tooltip will likely be limited with this method, which only refers custom icon as a generic file, and may cause a scaling bug (more noticeable when zooming in). | Executable: {{Path|hl2|exe|icon=exe}} {{Path|Computer\HKEY_CURRENT_USER\SOFTWARE\Valve\Source|icon=reg}} {{Path|DXLevel_V1|icon=regv}} {{Path|Half-Life01|mp3|icon=audio}} {{Path|valve|bik|icon=video}} {{Path|example|sound.cache|icon=file}} {{Path|d1_trainstation_010000|jpg|icon=image}} {{Path|alyx_sheet|vtf|icon=texture}} {{Path|hl2|exe|icon=custom|customico=HL2-hires.png}} |  Half-Life01.mp3![[►]](/w/images/thumb/f/f5/Icon-Video_File-filled.png/15px-Icon-Video_File-filled.png) valve.bik example.sound.cache d1_trainstation_010000.jpg alyx_sheet.vtf | 
See also
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.
Hidden categories: 























 Available doc translations
 Available doc translations 
 
  
  
  
 


