Difference between revisions of "Template:Game data/Documentation"
From PCGamingWiki, the wiki about fixing PC games
m |
(updated examples) |
||
Line 1: | Line 1: | ||
Specify each row with <code><nowiki>{{Game data/row|</nowiki></code>. The first parameter is for the data type, the second parameter is the path. | Specify each row with <code><nowiki>{{Game data/row|</nowiki></code>. The first parameter is for the data type, the second parameter is the path. | ||
− | Where possible use environmental variables instead of manual paths (e.g. <code> | + | Where possible use environmental variables instead of manual paths (e.g. <code>{{p|userprofile}}\Saved Games\</code>, not <code>C:\Users\your user name\Saved Games\</code>) since these will automatically expand when used to match the path on the user's end. |
==Using notes== | ==Using notes== | ||
Line 10: | Line 10: | ||
<pre> | <pre> | ||
{{Game data| | {{Game data| | ||
− | {{Game data/row| | + | {{Game data/row|Windows|{{p|game}}\DATA\SAVEGAME}} |
− | {{ | ||
}} | }} | ||
</pre> | </pre> | ||
Line 17: | Line 16: | ||
This produces: | This produces: | ||
{{Game data| | {{Game data| | ||
− | {{Game data/row| | + | {{Game data/row|Windows|{{p|game}}\DATA\SAVEGAME}} |
− | {{ | ||
}} | }} |
Revision as of 04:32, 14 April 2015
Specify each row with {{Game data/row|
. The first parameter is for the data type, the second parameter is the path.
Where possible use environmental variables instead of manual paths (e.g. %USERPROFILE%\Saved Games\
, not C:\Users\your user name\Saved Games\
) since these will automatically expand when used to match the path on the user's end.
Using notes
- Add a note if the folder path needs further explanation, e.g. Ultima Underworld: The Stygian Abyss has a
SAVE0
folder that isn't actually one of the user's save files. - If the game has a Linux version, specify whether it supports the XDG specification using the Template:XDG.
Example usage
{{Game data| {{Game data/row|Windows|{{p|game}}\DATA\SAVEGAME}} }}
This produces:
Template:Game data/row
System | Location |
---|