Difference between revisions of "Template:Game data/config"
From PCGamingWiki, the wiki about fixing PC games
(added property use for empty path) |
(added checks for duplicate templates and incorrect template order) |
||
Line 2: | Line 2: | ||
<th scope="row">{{#switch: {{{1}}} | Windows | Linux | DOS = {{{1}}}{{#if: {{#var:{{{1}}}}} | | [[Category:Invalid template usage (game data)]]}} | Booter = PC booter{{#if: {{#var:Booter}} | | [[Category:Invalid template usage (game data)]]}} | Mac OS = Mac OS (Classic){{#if: {{#var:Mac OS}} | | [[Category:Invalid template usage (game data)]]}}| OS X = macOS (OS X){{#if: {{#var:OS X}} | | [[Category:Invalid template usage (game data)]]}}| GOG.com | Steam | Origin | Uplay = {{{1}}} | Microsoft Store = Microsoft Store{{#if: {{#var:Windows}} | | [[Category:Invalid template usage (game data)]]}} | #Default={{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (game data)]] }}}}</th> | <th scope="row">{{#switch: {{{1}}} | Windows | Linux | DOS = {{{1}}}{{#if: {{#var:{{{1}}}}} | | [[Category:Invalid template usage (game data)]]}} | Booter = PC booter{{#if: {{#var:Booter}} | | [[Category:Invalid template usage (game data)]]}} | Mac OS = Mac OS (Classic){{#if: {{#var:Mac OS}} | | [[Category:Invalid template usage (game data)]]}}| OS X = macOS (OS X){{#if: {{#var:OS X}} | | [[Category:Invalid template usage (game data)]]}}| GOG.com | Steam | Origin | Uplay = {{{1}}} | Microsoft Store = Microsoft Store{{#if: {{#var:Windows}} | | [[Category:Invalid template usage (game data)]]}} | #Default={{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (game data)]] }}}}</th> | ||
<td class="template-infotable-monospace">{{{2|}}}{{#if: {{{2|}}}|[[Game data::true| ]][[{{{1}}} config paths::true| ]]|[[{{{1}}} config paths::false| ]]}}{{#if: {{{3|}}}|<br/>{{{3}}}{{#if: {{{4|}}}|<br/>{{{4}}}{{#if: {{{5|}}}|<br/>{{{5}}}}}}}}}{{#if: {{{6|}}}|[[Category:Invalid template usage (game data)]]}}</td> | <td class="template-infotable-monospace">{{{2|}}}{{#if: {{{2|}}}|[[Game data::true| ]][[{{{1}}} config paths::true| ]]|[[{{{1}}} config paths::false| ]]}}{{#if: {{{3|}}}|<br/>{{{3}}}{{#if: {{{4|}}}|<br/>{{{4}}}{{#if: {{{5|}}}|<br/>{{{5}}}}}}}}}{{#if: {{{6|}}}|[[Category:Invalid template usage (game data)]]}}</td> | ||
− | </tr></includeonly><noinclude>{{documentation}}</noinclude> | + | </tr><!-- |
+ | -->{{#if:{{#var:{{{1}}} config}}|[[Category:Invalid template usage (game data)]]|{{#vardefine:{{{1}}} config|yes}} }}<!-- | ||
+ | -->{{#if:{{#var:saves}}|[[Category:Invalid template usage (game data)]]}}<!-- | ||
+ | --></includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 05:39, 20 September 2018
Documentation for the above template (sometimes hidden from view).
Visit Template:Game data/config/Documentation to edit this text. (How does this work?)