Difference between revisions of "Template:Game data/Documentation"
m (removed the non-working fix again) |
(added vardefine override for example to skip cleanup detection) |
||
(One intermediate revision by the same user not shown) | |||
Line 10: | Line 10: | ||
<pre> | <pre> | ||
{{Game data| | {{Game data| | ||
− | {{Game data/saves| | + | {{Game data/saves|DOS|{{p|game}}\DATA\SAVEGAME}} |
}} | }} | ||
</pre> | </pre> | ||
− | This produces: | + | This produces:{{#vardefine:section|Game data/config}} |
{{Game data| | {{Game data| | ||
− | {{Game data/saves| | + | {{Game data/saves|DOS|{{p|game}}\DATA\SAVEGAME}} |
}} | }} | ||
<includeonly>[[Category:Table templates]]</includeonly> | <includeonly>[[Category:Table templates]]</includeonly> | ||
<noinclude>[[Category:Documentation templates]]</noinclude> | <noinclude>[[Category:Documentation templates]]</noinclude> |
Latest revision as of 03:08, 27 August 2021
Specify each row with {{Game data/config|
(for configuration files) or {{Game data/saves|
(for save game data). 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/saves|DOS|{{p|game}}\DATA\SAVEGAME}} }}
This produces:
System | Location |
---|---|
DOS | <path-to-game>\DATA\SAVEGAME |