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/saves"

From PCGamingWiki, the wiki about fixing PC games
m (added {{#if:{{#var:{{{1|}}} cancelled}}||)
m (simplified a tiny bit)
Line 1: Line 1:
 
<includeonly><tr class="template-infotable-body table-gamedata-body-row">
 
<includeonly><tr class="template-infotable-body table-gamedata-body-row">
<th scope="row" class="table-gamedata-body-system">{{#switch: {{{1}}} | Windows | Linux | DOS | PC booter = {{{1}}} | Mac OS = Mac OS (Classic)| OS X = macOS (OS X)| GOG.com | Steam | Origin | Uplay | Microsoft Store | Epic Games Store = {{{1}}} | Epic Games Launcher = Epic Games Store | #Default=<div title="Error: OS '{{{1|}}}' is invalid" class="svg-icon svg-25 os-error"></div>}} {{#if:{{#var:Game}}|{{#if:{{#var:{{{1|}}}}}||{{#if:{{#var:{{{1|}}} cancelled}}||{{#switch: {{{1}}}
+
<th scope="row" class="table-gamedata-body-system">{{#switch: {{{1}}} | Windows | Linux | DOS | PC booter = {{{1}}} | Mac OS = Mac OS (Classic)| OS X = macOS (OS X)| GOG.com | Steam | Origin | Uplay | Microsoft Store | Epic Games Store = {{{1}}} | Epic Games Launcher = Epic Games Store | #Default=<div title="Error: OS '{{{1|}}}' is invalid" class="svg-icon svg-25 os-error"></div>}} {{#if:{{#var:Game}}|{{#if:{{#var:{{{1|}}}}}{{#var:{{{1|}}} cancelled}}||{{#switch: {{{1}}}
 
|GOG.com
 
|GOG.com
 
|Steam
 
|Steam
Line 10: Line 10:
 
|Windows={{#if: {{#var:Windows}}{{#var:Windows 3.x}} | | <div title="Error: OS 'Windows' or 'Windows 3.x' not found in infobox" class="svg-icon svg-25 os-error"></div>[[Category:Invalid template usage (Game data)]]}}
 
|Windows={{#if: {{#var:Windows}}{{#var:Windows 3.x}} | | <div title="Error: OS 'Windows' or 'Windows 3.x' not found in infobox" class="svg-icon svg-25 os-error"></div>[[Category:Invalid template usage (Game data)]]}}
 
|#Default=<div title="Error: OS '{{{1|}}}' not found in infobox" class="svg-icon svg-25 os-error"></div>[[Category:Invalid template usage (Game data)]]
 
|#Default=<div title="Error: OS '{{{1|}}}' not found in infobox" class="svg-icon svg-25 os-error"></div>[[Category:Invalid template usage (Game data)]]
}}}}}}}}</th>
+
}}}}}}</th>
 
<td class="table-gamedata-body-location">{{#if:{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}|<span class="template-infotable-monospace">{{{2|}}}</span>{{#if:{{#var:Game data note}}|{{Game data/note|{{#var:Game data note}}_{{{1|}}}}}}}{{#if: {{{2|}}}|[[Game data::true| ]]{{#switch: {{{1}}} | GOG.com = [[GOGcom save paths::true| ]] | Epic Games Launcher = [[Epic Games Store save paths::true| ]] | #Default = [[{{{1}}} save paths::true| ]] }}|{{#switch: {{{1}}} | GOG.com = [[GOGcom save paths::false| ]] | Epic Games Launcher = [[Epic Games Store save paths::false| ]] | #Default = [[{{{1}}} save paths::false| ]] }}{{#if:{{{3|}}}{{{4|}}}{{{5|}}}|[[Category:Invalid template usage (Game data)]]}}}}{{#if: {{{3|}}}|<br/><span class="template-infotable-monospace">{{{3}}}</span>{{#if:{{#var:Game data note}}|{{Game data/note|{{#var:Game data note}}_{{{1|}}}}}}}}}{{#if: {{{4|}}}|<br/><span class="template-infotable-monospace">{{{4}}}</span>{{#if:{{#var:Game data note}}|{{Game data/note|{{#var:Game data note}}_{{{1|}}}}}}}}}{{#if: {{{5|}}}|<br/><span class="template-infotable-monospace">{{{5}}}</span>{{#if:{{#var:Game data note}}|{{Game data/note|{{#var:Game data note}}_{{{1|}}}}}}}}}{{#if: {{{6|}}}|[[Category:Invalid template usage (Game data)]]}}|{{#if:{{#var:{{{1|}}} DOSBox}}|<span class="template-infotable-monospace">''{{p|game}} (mounted in [[DOSBox]])''</span>{{Game data/note|DOSBox}}}}}}</td>
 
<td class="table-gamedata-body-location">{{#if:{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}|<span class="template-infotable-monospace">{{{2|}}}</span>{{#if:{{#var:Game data note}}|{{Game data/note|{{#var:Game data note}}_{{{1|}}}}}}}{{#if: {{{2|}}}|[[Game data::true| ]]{{#switch: {{{1}}} | GOG.com = [[GOGcom save paths::true| ]] | Epic Games Launcher = [[Epic Games Store save paths::true| ]] | #Default = [[{{{1}}} save paths::true| ]] }}|{{#switch: {{{1}}} | GOG.com = [[GOGcom save paths::false| ]] | Epic Games Launcher = [[Epic Games Store save paths::false| ]] | #Default = [[{{{1}}} save paths::false| ]] }}{{#if:{{{3|}}}{{{4|}}}{{{5|}}}|[[Category:Invalid template usage (Game data)]]}}}}{{#if: {{{3|}}}|<br/><span class="template-infotable-monospace">{{{3}}}</span>{{#if:{{#var:Game data note}}|{{Game data/note|{{#var:Game data note}}_{{{1|}}}}}}}}}{{#if: {{{4|}}}|<br/><span class="template-infotable-monospace">{{{4}}}</span>{{#if:{{#var:Game data note}}|{{Game data/note|{{#var:Game data note}}_{{{1|}}}}}}}}}{{#if: {{{5|}}}|<br/><span class="template-infotable-monospace">{{{5}}}</span>{{#if:{{#var:Game data note}}|{{Game data/note|{{#var:Game data note}}_{{{1|}}}}}}}}}{{#if: {{{6|}}}|[[Category:Invalid template usage (Game data)]]}}|{{#if:{{#var:{{{1|}}} DOSBox}}|<span class="template-infotable-monospace">''{{p|game}} (mounted in [[DOSBox]])''</span>{{Game data/note|DOSBox}}}}}}</td>
 
</tr><!--
 
</tr><!--

Revision as of 01:29, 29 March 2020

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