Template:Path/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 25: | Line 25: | ||
|- | |- | ||
| align=center | {{Param|icon}} | | align=center | {{Param|icon}} | ||
| Changes the icon. | | 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. | ||
| | | | ||
'''Music:''' {{CodeBlock|margin=5px| <nowiki>{{Path|Half-Life01|mp3|icon=audio}}</nowiki> }}<br> | '''Music:''' {{CodeBlock|margin=5px| <nowiki>{{Path|Half-Life01|mp3|icon=audio}}</nowiki> }}<br> |
Revision as of 03:19, 25 June 2023

This is a documentation subpage for Template:Path.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
The path to the folder or file.
Parameters and Examples
Parameter | Description | Examples | Preview |
---|---|---|---|
{{{1}}} | The path to the folder. | ![]() F:\Program Files\Steam | |
{{{2}}} | The path to the file. | ![]() F:\Program Files\Steam\steam.exe | |
{{{select}}} | Text selection mode based on the CSS property user-select. No effect on some browsers. ![]() |
![]() C:\Program Files ![]() C:\Program Files | |
{{{icon}}} | 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. |
Music: Videos: File (generic): |
![]() Half-Life01.mp3 ![]() valve.bik ![]() example.sound.cache |