Template:Path/doc: Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) m (please don't use select=none; it's just annoying) |
No edit summary |
||
| Line 29: | Line 29: | ||
'''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> | ||
'''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> }} | |||
| | | | ||
{{Capsule|margin=5px| {{Path|Half-Life01|mp3|icon=audio}} }} | {{Capsule|margin=5px| {{Path|Half-Life01|mp3|icon=audio}} }} | ||
{{Capsule|margin=5px| {{Path|valve|bik|icon=video}} }} | {{Capsule|margin=5px| {{Path|valve|bik|icon=video}} }} | ||
{{Capsule|margin=5px| {{Path|example|sound.cache|icon=file}} }} | |||
|- | |- | ||
|} | |} | ||
Revision as of 02:02, 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. select=none is likely to cause user frustration; use sparingly. |
C:\Program Files C:\Program Files | |
| {{{icon}}} | Changes the icon. |
Music: Videos: File (generic): |
Half-Life01.mp3 valve.bik example.sound.cache |