Template:Path/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
Line 27: | Line 27: | ||
| Changes the icon. The tooltip (which appears if you are hovering the text or the icon itself), will have it's text changed aswell. <br>If the images is disabled in your browser or when a new icon file is being uploaded, it may fallback to Unicode symbols. | | Changes the icon. The tooltip (which appears if you are hovering the text or the icon itself), will have it's text changed aswell. <br>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> }} | '''Music:''' {{CodeBlock|margin=5px| <nowiki>{{Path|Half-Life01|mp3|icon=audio}}</nowiki> }} | ||
'''Videos:''' {{CodeBlock|margin=5px| <nowiki>{{Path|valve|bik|icon=video}}</nowiki> }} | '''Videos:''' {{CodeBlock|margin=5px| <nowiki>{{Path|valve|bik|icon=video}}</nowiki> }} | ||
'''File (generic):''' {{CodeBlock|margin=5px| <nowiki>{{Path|example|sound.cache|icon=file}}</nowiki> }} | '''File (generic):''' {{CodeBlock|margin=5px| <nowiki>{{Path|example|sound.cache|icon=file}}</nowiki> }} |
Revision as of 03:22, 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 |