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


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Template:Game data"

From PCGamingWiki, the wiki about fixing PC games
(added note variable clear)
m (updated vardefine value naming)
Line 6: Line 6:
 
{{{content|{{{1}}}}}}
 
{{{content|{{{1}}}}}}
 
{{#if:{{#var:steam appid}}|
 
{{#if:{{#var:steam appid}}|
{{#if:{{#var:Proton}}||{{#vardefine:notes|yes}}
+
{{#if:{{#var:Proton}}||{{#vardefine:notes|true}}
 
<tr class="template-infotable-body table-gamedata-body-row">
 
<tr class="template-infotable-body table-gamedata-body-row">
 
<th scope="row" class="table-gamedata-body-system">Linux ({{abbr|Proton|Steam Windows version running through Steam Play Proton wrapper}})</th>
 
<th scope="row" class="table-gamedata-body-system">Linux ({{abbr|Proton|Steam Windows version running through Steam Play Proton wrapper}})</th>

Revision as of 04:50, 26 April 2019

{{{1}}}
System Location
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:

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