Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.

Difference between revisions of "Template:Game data"

From PCGamingWiki, the wiki about fixing PC games
(Yup, that did indeed break things.)
m (Reverted edits by Nicereddy (talk) to last revision by Andytizer)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
{| class="wikitable template-infotable"  
 
{| class="wikitable template-infotable"  
! scope="col" width="32%" {{!}}&nbsp;
+
! scope="col" width="230" {{!}}&nbsp;
! scope="col" width="68%" {{!}}Location&nbsp;
+
! scope="col" width="490" {{!}}Location&nbsp;
 
|-
 
|-
 
{{{1}}}
 
{{{1}}}
 
|}</includeonly><noinclude>{{documentation}}</noinclude>
 
|}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 01:45, 27 January 2015

Documentation for the above template (sometimes hidden from view).

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:

  Location 
DOS <path-to-game>\DATA\SAVEGAME