Difference between revisions of "Template:Game data/Documentation"
m (Soeb moved page Template:Game Location Table/Documentation to Template:Game location table/Documentation without leaving a redirect) |
m (Removed capitalization on template titles) |
||
Line 1: | Line 1: | ||
− | Specify each row with <code><nowiki>{{Game | + | Specify each row with <code><nowiki>{{Game location table/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>%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. | Where possible use environmental variables instead of manual paths (e.g. <code>%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. | ||
Line 11: | Line 11: | ||
==Example usage== | ==Example usage== | ||
<pre> | <pre> | ||
− | {{Game | + | {{Game location table| |
− | {{Game | + | {{Game location table/row|Save games (GOG.com)|C:\GOG Games\Fallout\DATA\SAVEGAME}} |
− | {{Game | + | {{Game location table/row|Save games (Steam)|C:\Program Files (x86)\Steam\steamapps\common\fallout\DATA\SAVEGAME}} |
}} | }} | ||
</pre> | </pre> | ||
This produces: | This produces: | ||
− | {{Game | + | {{Game location table| |
− | {{Game | + | {{Game location table/row|Save games (GOG.com)|C:\GOG Games\Fallout\DATA\SAVEGAME}} |
− | {{Game | + | {{Game location table/row|Save games (Steam)|C:\Program Files (x86)\Steam\steamapps\common\fallout\DATA\SAVEGAME}} |
}} | }} |
Revision as of 20:31, 29 December 2013
Specify each row with {{Game location table/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.
Note that My Documents is always %USERPROFILE%\My Documents
even though newer versions hide the "My"; do not use %USERPROFILE%\Documents
.
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 location table| {{Game location table/row|Save games (GOG.com)|C:\GOG Games\Fallout\DATA\SAVEGAME}} {{Game location table/row|Save games (Steam)|C:\Program Files (x86)\Steam\steamapps\common\fallout\DATA\SAVEGAME}} }}
This produces: Template:Game location table