Template:Path/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 16: Line 16:
| align=center | {{Param|2}}
| align=center | {{Param|2}}
| The path to the file.
| The path to the file.
| {{CodeBlock|margin=5px| <nowiki>{{Path|C:\Program Files\Steam\steam|.exe}}</nowiki> }}
| {{CodeBlock|margin=5px| <nowiki>{{Path|C:\Program Files\Steam\steam|exe}}</nowiki> }}
| {{Capsule|margin=5px| {{Path|F:\Program Files\Steam\steam|.exe}} }}
| {{Capsule|margin=5px| {{Path|F:\Program Files\Steam\steam|exe}} }}
|-
|-
| align=center | {{Param|select}}
| align=center | {{Param|select}}

Revision as of 04:26, 18 May 2023

Edit-copy.png
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.

The path to the folder or file.

Parameters and Examples

Parameter Description Examples Preview
{{{1}}} The path to the folder.
{{Path|C:\Program Files\Steam}}
🖿F:\Program Files\Steam
{{{2}}} The path to the file.
{{Path|C:\Program Files\Steam\steam|exe}}
🖿F:\Program Files\Steam\steam.exe
{{{select}}} Text selection mode based on the CSS property user-select.
{{Path|select=none|C:\Program Files}}
{{Path|select=all|C:\Program Files}}
🖿C:\Program Files
🖿C:\Program Files