Template:Path: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| SirYodaJedi (talk | contribs) mNo edit summary | SirYodaJedi (talk | contribs)   (case insensitivity) | ||
| Line 6: | Line 6: | ||
| 		--><span style="position:relative; top:1px">[[File:{{#if:{{{icon|}}}|{{#switch:{{{icon}}} | 		--><span style="position:relative; top:1px">[[File:{{#if:{{{icon|}}}|{{#switch:{{{icon}}} | ||
| 								|#default=icon-folder open-filled.png | 								|#default=icon-folder open-filled.png | ||
| 								|exe|executable=Icon-Windows_Executable.png | 								|EXE|exe|EXECUTABLE|executable=Icon-Windows_Executable.png | ||
| 								|reg|regedit|registry|regvalue|regv=Icon-regedit-2D-PathTemplate.png | 								|REG|reg|REGEDIT|regedit|REGISTRY|registry|REGVALUE|regvalue|REGV|regv=Icon-regedit-2D-PathTemplate.png | ||
| 								|custom={{{customico}}} | 								|CUSTOM|custom={{{customico}}} | ||
| 								|audio|sound|music=Icon-Music-Note.png | 								|AUDIO|audio|SOUND|sound|MUSIC|music=Icon-Music-Note.png | ||
| 								|video|movie=Icon-Video_File-filled.png | 								|FMV|fmv|VIDEO|video|MOVIE|movie=Icon-Video_File-filled.png | ||
| 								|image|picture=Icon-Image-filled.png | 								|IMAGE|image|PICTURE|picture=Icon-Image-filled.png | ||
| 								|texture=Icon-Image-filled.png<!-- Texture file  | 								|TEXTURE|texture=Icon-Image-filled.png<!-- Texture file currently same icon as image, but the tooltip will remain different.--> | ||
| 								|generic|file=Icon-File-filled-cropped.png | 								|GENERIC|generic|FILE|file=Icon-File-filled-cropped.png | ||
| 							}}|{{#switch:{{{2}}} | 							}}|{{#switch:{{{2}}} | ||
| 								|#default=icon-folder open-filled.png | 								|#default=icon-folder open-filled.png | ||
| 								|app|bat|com|exe|sh=Icon-Windows_Executable.png | 								|APP|app|BAT|bat|COM|com|EXE|exe|SH|sh=Icon-Windows_Executable.png | ||
| 								|wav|mp3|ogg|vsnd_c=Icon-Music-Note.png | 								|WAV|wav|MP3|mp3|OGG|ogg|OPUS|opus|VSND_C|vsnd_c=Icon-Music-Note.png | ||
| 								|avi|bik|mkv|mov|mp4|wmv|webm=Icon-Video_File-filled.png | 								|AVI|avi|BIK|bik|MKV|mkv|MOV|mov|MP4|mp4|WMV|wmv|WEBM|webm=Icon-Video_File-filled.png | ||
| 								| | 								|APNG|apng|BMP|bmp|JPG|jpg|JPEG|jpeg|PNG|png|TGA|tga|TIF|tif|TIFF|tiff|WEBP|WebP|webp=Icon-Image-filled.png | ||
| 								|DDS|dds|SPR|spr|WAD|wad|VTF|vtf|VTEX_c|vtex_c=Icon-Image-filled.png<!--currently same icon as image--> | |||
| 							}}}}|baseline|alt={{#switch:{{{icon}}} | 							}}}}|baseline|alt={{#switch:{{{icon}}} | ||
| 								|#default={{Path/strings|Folder}} | 								|#default={{Path/strings|Folder}} | ||
| 								|exe=Windows Executable | 								|EXE|exe=Windows Executable | ||
| 								|reg|regedit|registry=Registry Path | 								|RED|reg|REGEDIT|regedit|REGISTRY|registry=Registry Path | ||
| 								|regvalue|regv=Registry Value | 								|REGVALUE|regvalue|REGV|regv=Registry Value | ||
| 								|custom=Custom Icon | 								|CUSTOM|custom=Custom Icon | ||
| 								|audio|sound|music={{Unicode|♪}} | 								|AUDIO|audio|SOUND|sound|MUSIC|music={{Unicode|♪}} | ||
| 								|video|movie={{Unicode|[►]}} | 								|FMV|fmv|VIDEO|video|MOVIE|movie={{Unicode|[►]}} | ||
| 								|image|picture={{Path/strings|ImageIconFallback}} | 								|IMAGE|image|PICTURE|picture={{Path/strings|ImageIconFallback}} | ||
| 								|texture={{Path/strings|TexturesIconFallback}} | 								|TEXTURE|texture|TEX|tex={{Path/strings|TexturesIconFallback}} | ||
| 								|generic|file={{Path/strings|File}}	<!-- alt parameter will be used for unicode fallback if the icon doesnt load properly.   | 								|GENERIC|generic|FILE|file={{Path/strings|File}}	<!-- alt parameter will be used for unicode fallback if the icon doesnt load properly.   | ||
| 													Emojis are not recommended as older OSes may lack certain emojis.--> | 													Emojis are not recommended as older OSes may lack certain emojis.--> | ||
| 							}}|15px]]</span><!-- | 							}}|15px]]</span><!-- | ||
Revision as of 11:58, 10 August 2023
Todo: Icons for models and maps.
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.
























 Available doc translations
 Available doc translations 
 
  
  
  
 






![[►]](/w/images/thumb/f/f5/Icon-Video_File-filled.png/15px-Icon-Video_File-filled.png)

