Difference between revisions of "Template:Path"
From PCGamingWiki, the wiki about fixing PC games
(new game data path template) |
m |
||
Line 1: | Line 1: | ||
{{#switch:{{lc:{{{1}}}}} | {{#switch:{{lc:{{{1}}}}} | ||
− | |game=[[Game data| | + | |game = [[Game data|{{Abbr|<path-to-game>|The base installation folder}}]] |
− | |uid=[[Game data| | + | |uid = [[Game data|{{Abbr|<user-id>|The user ID or profile name (specific to your account or computer)}}]] |
− | |hkcu=[[Game data| | + | |hkey_current_user |
− | |hklm=[[Game data| | + | |hkcu = [[Game data|{{Abbr|HKEY_CURRENT_USER|Windows Registry path (use the Registry Editor to access)}}]] |
+ | |hkey_local_machine | ||
+ | |hklm = [[Game data|{{Abbr|HKEY_LOCAL_MACHINE|Windows Registry path (use the Registry Editor to access)}}]] | ||
}}<noinclude>{{Documentation}}</noinclude> | }}<noinclude>{{Documentation}}</noinclude> |
Revision as of 12:48, 31 December 2013
Documentation for the above template (sometimes hidden from view).
- Description
Template primarily intended for {{Game data}} but can also be used with {{File}}, {{Folder}}, and {{Registry}}.
See the editing guide for real-world paths and examples.
- Syntax
{{Path|localappdata}} or {{P|localappdata}} produces
- 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 |
The base Steam installation folder | |
steamlibrary |
The SteamLibrary folder the user installed the game under under; or the base Steam installation folder if no alternate location was used. | |
ubisoftconnect |
The base Ubisoft Connect (Ubisoft Game Launcher) installation folder |
Windows registry
Argument | Result | Location |
---|---|---|
hkcu |
HKEY_CURRENT_USER | HKEY_CURRENT_USER registry path |
hklm |
HKEY_LOCAL_MACHINE | HKEY_LOCAL_MACHINE registry path |
wow64 |
Used for 32-bit applications running on 64-bit operating systems |
Windows filesystem
Argument | Result | Location |
---|---|---|
username |
Not a location, but resolves to the username in Windows | |
userprofile |
Base user profile folder | |
userprofile\documents |
"Documents" folder | |
appdata |
AppData\Roaming | |
localappdata |
AppData\Local | |
userprofile\appdata\locallow |
AppData\LocalLow | |
public |
Public (aka shared) user profile folder | |
allusersprofile or programdata |
Program data folder | |
programfiles |
Shared applications folder. Use game instead (<path-to-game> ).
| |
windir |
Windows directory | |
syswow64 |
Stores 32-bit system libraries on 64-bit operating systems |
OS X
Argument | Result | Location |
---|---|---|
osxhome |
User home folder ~/ |
Linux
Argument | Result | Location |
---|---|---|
linuxhome |
User home folder ~/ | |
xdgdatahome |
~/.local/share/ | |
xdgconfighome |
~/.config/ |
- Redirects
- {{P}}
- Related
- {{LocalizedPath}}
Visit Template:Path/Documentation to edit this text. (How does this work?)