Difference between revisions of "Template:Game data/saves"
From PCGamingWiki, the wiki about fixing PC games
(improved invalid OS handling, added visible error state) |
m (updated vardefine value naming) |
||
Line 10: | Line 10: | ||
<td class="table-gamedata-body-location"><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| ]] | #Default = [[{{{1}}} save paths::true| ]] }}|{{#switch: {{{1}}} | GOG.com = [[GOGcom 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)]]}}</td> | <td class="table-gamedata-body-location"><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| ]] | #Default = [[{{{1}}} save paths::true| ]] }}|{{#switch: {{{1}}} | GOG.com = [[GOGcom 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)]]}}</td> | ||
</tr><!-- | </tr><!-- | ||
− | -->{{#if:{{#var:{{{1}}} saves}}|[[Category:Invalid template usage (Game data)]]|{{#vardefine:{{{1}}} saves| | + | -->{{#if:{{#var:{{{1}}} saves}}|[[Category:Invalid template usage (Game data)]]|{{#vardefine:{{{1}}} saves|true}}{{#vardefine:saves|true}} }}<!-- |
--></includeonly><noinclude>{{documentation}}</noinclude> | --></includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 04:52, 26 April 2019
Documentation for the above template (sometimes hidden from view).
Visit Template:Game data/saves/Documentation to edit this text. (How does this work?)