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

From PCGamingWiki, the wiki about fixing PC games
m (fixed auto-populated notes not appearing because they were validated and discarded as part of the initial IF statement that evaluated parameters value to see if there were anything to output)
 
(3 intermediate revisions by 2 users not shown)
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)| Amazon Games | GOG.com | Steam | Origin | Ubisoft Connect | Microsoft Store | Epic Games Launcher = {{{1}}} | Epic Games Store = Epic Games Launcher | Uplay = Ubisoft Connect | #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}}}
+
<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)| Amazon Games | GOG.com | Steam | Origin | Ubisoft Connect | Microsoft Store | Mac App Store | Epic Games Launcher = {{{1}}} | Epic Games Store = Epic Games Launcher | Uplay = Ubisoft Connect | #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}}}
 
|Amazon Games
 
|Amazon Games
 
|GOG.com
 
|GOG.com
Line 11: Line 11:
 
|Epic Games Store = {{#if: {{#var:Windows}} | | <div title="Error: OS 'Windows' not found in infobox" class="svg-icon svg-25 os-error"></div>[[Category:Invalid template usage (Game data)]]}}
 
|Epic Games Store = {{#if: {{#var:Windows}} | | <div title="Error: OS 'Windows' 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)]]}}
 
|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)]]}}
 +
|Mac App Store = {{#if: {{#var:OS X}} | | <div title="Error: OS 'OS 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|}}}|<span class="template-infotable-monospace">{{Trim|{{{2|}}}}}</span>{{#if:{{#var:Game data note}}|{{Game data/note|{{#var:Game data note}}_{{{1|}}}}}}}{{#vardefine:save data|true}}|{{#if:{{{3|}}}{{{4|}}}{{{5|}}}|[[Category:Invalid template usage (Game data)]]}}}}{{#if:{{{3|}}}|<br/><span class="template-infotable-monospace">{{Trim|{{{3}}}}}</span>{{#if:{{#var:Game data note}}|{{Game data/note|{{#var:Game data note}}_{{{1|}}}}}}}}}{{#if:{{{4|}}}|<br/><span class="template-infotable-monospace">{{Trim|{{{4}}}}}</span>{{#if:{{#var:Game data note}}|{{Game data/note|{{#var:Game data note}}_{{{1|}}}}}}}}}{{#if:{{{5|}}}|<br/><span class="template-infotable-monospace">{{Trim|{{{5}}}}}</span>{{#if:{{#var:Game data note}}|{{Game data/note|{{#var:Game data note}}_{{{1|}}}}}}}}}{{#if:{{{6|}}}|[[Category:Invalid template usage (Game data)]]}}{{#ifeq:{{{2|}}}{{#var:save data}}||{{#vardefine:save data|false}}}}{{#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|}}}|<span class="template-infotable-monospace">{{Trim|{{{2|}}}}}</span>{{#if:{{#var:Game data note}}|{{Game data/note|{{#var:Game data note}}_{{{1|}}}}}}}{{#vardefine:save data|true}}|{{#if:{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}|[[Category:Invalid template usage (Game data)]]}}}}{{#if:{{{3|}}}|<br/><span class="template-infotable-monospace">{{Trim|{{{3}}}}}</span>{{#if:{{#var:Game data note}}|{{Game data/note|{{#var:Game data note}}_{{{1|}}}}}}}}}{{#if:{{{4|}}}|<br/><span class="template-infotable-monospace">{{Trim|{{{4}}}}}</span>{{#if:{{#var:Game data note}}|{{Game data/note|{{#var:Game data note}}_{{{1|}}}}}}}}}{{#if:{{{5|}}}|<br/><span class="template-infotable-monospace">{{Trim|{{{5}}}}}</span>{{#if:{{#var:Game data note}}|{{Game data/note|{{#var:Game data note}}_{{{1|}}}}}}}}}{{#if:{{{6|}}}|<br/><span class="template-infotable-monospace">{{Trim|{{{6}}}}}</span>{{#if:{{#var:Game data note}}|{{Game data/note|{{#var:Game data note}}_{{{1|}}}}}}}}}{{#if:{{{7|}}}|[[Category:Invalid template usage (Game data)]]}}{{#ifeq:{{{2|}}}{{#var:save data}}||{{#vardefine:save data|false}}}}{{#if:{{#var:{{{1|}}} DOSBox}}|{{#if:{{{2|}}}|<br>}}<span class="template-infotable-monospace">''{{p|game}} (mounted in [[DOSBox]])''</span>{{Game data/note|DOSBox}}}}</td>
 
</tr><!--
 
</tr><!--
 
-->{{#ifeq: {{#var:{{{1}}} saves}} | true | [[Category:Invalid template usage (Game data)]]|{{#vardefine:{{{1}}} saves|true}}{{#vardefine:saves|true}} }}<!--
 
-->{{#ifeq: {{#var:{{{1}}} saves}} | true | [[Category:Invalid template usage (Game data)]]|{{#vardefine:{{{1}}} saves|true}}{{#vardefine:saves|true}} }}<!--
 
--></includeonly><noinclude>{{documentation}}</noinclude>
 
--></includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 20:48, 3 May 2023

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