Difference between revisions of "Template:Game data/saves"
From PCGamingWiki, the wiki about fixing PC games
m (added Amazon 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) |
||
Line 13: | Line 13: | ||
|#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 | + | <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> |
</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> |
Revision as of 21:12, 31 August 2022
Documentation for the above template (sometimes hidden from view).
Visit Template:Game data/saves/Documentation to edit this text. (How does this work?)