Difference between revisions of "Template:Path"
					From AppleGamingWiki, the wiki about gaming on M1 Apple silicon Macs														
				
									|  (d) | m (d) | ||
| Line 4: | Line 4: | ||
|   |uid  = [[Glossary:Game data#User ID|{{Abbr|<user-id>|The user ID or profile name (specific to your account or computer)|template=yes}}]] |   |uid  = [[Glossary:Game data#User ID|{{Abbr|<user-id>|The user ID or profile name (specific to your account or computer)|template=yes}}]] | ||
|   |steam = [[Glossary:Game data#Steam|{{Abbr|<Steam-folder>|The base Steam installation folder|template=yes}}]] |   |steam = [[Glossary:Game data#Steam|{{Abbr|<Steam-folder>|The base Steam installation folder|template=yes}}]] | ||
| − | <!--  | + | <!-- macOS --> | 
| − |   |osxhome = [[Glossary:Game data#macOS  | + |   |osxhome | 
| + |  |macoshome = [[Glossary:Game data#macOS paths|{{Abbr|$HOME|Refers to the user's home folder, e.g. ~/ or /Users/user/|template=yes}}]] | ||
| <!-- Default --> | <!-- Default --> | ||
|   |#default = [[Category:Invalid template usage (Path)]] |   |#default = [[Category:Invalid template usage (Path)]] | ||
| }}</includeonly><noinclude>{{Documentation}}</noinclude> | }}</includeonly><noinclude>{{Documentation}}</noinclude> | ||
Latest revision as of 18:36, 23 January 2021
Documentation for the above template (sometimes hidden from view).
- Description
Template for use with {{Game data}}. See the editing guide for real-world paths and examples.
- Syntax
{{Path|macoshome}} or {{P|macoshome}} produces $HOME
- Arguments
General
| Argument | Result | Location | 
|---|---|---|
| game | <path-to-game> | The base installation folder | 
| uid | <user-id> | The user ID or profile name (specific to your account or computer). Typically used to refer to Steam/Ubisoft Connect/game-specific user ID or profile name. | 
| steam | <Steam-folder> | The base Steam installation folder | 
OS X
| Argument | Result | Location | 
|---|---|---|
| macoshome | $HOME | User home folder, commonly ~/or/Users/<username>/ | 
- Redirects
- {{P}}
Visit Template:Path/Documentation to edit this text. (How does this work?)