Difference between revisions of "Template:Game data"
					From AppleGamingWiki, the wiki about gaming on M1 Apple silicon Macs														
				
									|  (d) | m (removes Steam Play (Linux)) | ||
| Line 5: | Line 5: | ||
| 	</tr>{{#vardefine:Game data note|}} | 	</tr>{{#vardefine:Game data note|}} | ||
| {{{content|{{{1}}}}}} | {{{content|{{{1}}}}}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| </table></div><noinclude>{{documentation}}</noinclude> | </table></div><noinclude>{{documentation}}</noinclude> | ||
Latest revision as of 19:01, 23 January 2021
{{{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. $HOME/Library/Application Support/<game>/, not /Users/<user-id>/Library/Application Support/<game>/) 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 SAVE0folder that isn't actually one of the user's save files.
Example usage
{{Game data|
{{Game data/saves|macOS|{{p|macoshome}}/Library/Application Support/Borderlands The Pre-Sequel/WillowGame/Config/}}
}}
This produces:
| System | Location | 
|---|---|
| macOS | $HOME/Library/Application Support/Borderlands The Pre-Sequel/WillowGame/Config/ | 
Visit Template:Game data/Documentation to edit this text. (How does this work?)