Template:Path: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| No edit summary |  (looks out of place) | ||
| Line 8: | Line 8: | ||
| <onlyinclude><!-- | <onlyinclude><!-- | ||
| --><span style="display:inline-flex; align-items:center; line-height:1.35em"><!-- | --><span style="display:inline-flex; align-items:center; line-height:1.35em"><!-- | ||
| 	--><span style="background-color:{{#ifeq:{{{icon|}}}|reg| | 	--><span style="background-color:{{#ifeq:{{{icon|}}}|reg|rgba(100, 145, 230, 0.1)| {{#ifeq:{{{icon|}}}|regv|rgba(100, 145, 230, 0.1)| {{#if:{{{2|}}}|#984EDD20|rgba(230, 145, 100, 0.1)}} }} }};padding:0 3px 0 4px; user-select:none; pointer-events:none"><!-- | ||
| 		--><span style="position:relative; top:{{#if:{{{icon|}}}{{{2|}}}|1px|3px}}"><!-- | 		--><span style="position:relative; top:{{#if:{{{icon|}}}{{{2|}}}|1px|3px}}"><!-- | ||
| 			-->[[File:{{#if:{{{icon|}}} | 			-->[[File:{{#if:{{{icon|}}} | ||
| Line 100: | Line 100: | ||
| 	--></span><!-- | 	--></span><!-- | ||
| 	--><code  | 	--><code>{{{1|}}}{{#if:{{{2|}}}|.{{#ifexist: {{{2}}} | [[{{{2}}}]] | {{{2}}} }}|}}</code><!-- | ||
| --></span></onlyinclude> | --></span></onlyinclude> | ||
| </includeonly> | </includeonly> | ||
Revision as of 05:39, 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.
























 Available doc translations
 Available doc translations 
 
  
  
  
 








