Template:Path/doc: Difference between revisions
Jump to navigation
Jump to search
m (Forgot to fix this.) |
SirYodaJedi (talk | contribs) m (please don't use select=none; it's just annoying) |
||
Line 20: | Line 20: | ||
|- | |- | ||
| align=center | {{Param|select}} | | align=center | {{Param|select}} | ||
| Text selection mode based on the CSS property {{Code|preset=1|user-select}}.<br>No effect on some browsers. | | Text selection mode based on the CSS property {{Code|preset=1|user-select}}.<br>No effect on some browsers.{{warning|{{code|select{{=}}none}} is likely to cause user frustration; use sparingly.}} | ||
| {{CodeBlock|margin=5px| <nowiki>{{Path|select=none|C:\Program Files}}</nowiki> }}{{CodeBlock|margin=5px| <nowiki>{{Path|select=all|C:\Program Files}}</nowiki> }} | | {{CodeBlock|margin=5px| <nowiki>{{Path|select=none|C:\Program Files}}</nowiki> }}{{CodeBlock|margin=5px| <nowiki>{{Path|select=all|C:\Program Files}}</nowiki> }} | ||
| {{Capsule|margin=5px| {{Path|select=none|C:\Program Files}} }} {{Capsule|margin=5px| {{Path|select=all|C:\Program Files}} }} | | {{Capsule|margin=5px| {{Path|select=none|C:\Program Files}} }} {{Capsule|margin=5px| {{Path|select=all|C:\Program Files}} }} |
Revision as of 10:38, 24 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. |
Music: Videos: |
![]() Half-Life01.mp3 ![]() valve.bik |