Difference between revisions of "Template:Game data/config"
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: {{{2|}}}|{{#if:{{#var:Game data note}}|{{Game data/note|{{#var:Game data note}}_{{{1|}}}}}}}[[Game data::true| ]]{{#switch: {{{1}}} | GOG.com = [[GOGcom config paths::true| ]] | #Default = [[{{{1}}} config paths::true| ]] }}|{{#switch: {{{1}}} | GOG.com = [[GOGcom config paths::false| ]] | #Default = [[{{{1}}} config 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: {{{2|}}}|{{#if:{{#var:Game data note}}|{{Game data/note|{{#var:Game data note}}_{{{1|}}}}}}}[[Game data::true| ]]{{#switch: {{{1}}} | GOG.com = [[GOGcom config paths::true| ]] | #Default = [[{{{1}}} config paths::true| ]] }}|{{#switch: {{{1}}} | GOG.com = [[GOGcom config paths::false| ]] | #Default = [[{{{1}}} config 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}}} config}}|[[Category:Invalid template usage (Game data)]]|{{#vardefine:{{{1}}} config| | + | -->{{#if:{{#var:{{{1}}} config}}|[[Category:Invalid template usage (Game data)]]|{{#vardefine:{{{1}}} config|true}} }}<!-- |
-->{{#if:{{#var:saves}}|[[Category:Invalid template usage (Game data)]]}}<!-- | -->{{#if:{{#var:saves}}|[[Category:Invalid template usage (Game data)]]}}<!-- | ||
--></includeonly><noinclude>{{documentation}}</noinclude> | --></includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 04:50, 26 April 2019
Documentation for the above template (sometimes hidden from view).
Visit Template:Game data/config/Documentation to edit this text. (How does this work?)