Difference between revisions of "Template:Game data/config"
From PCGamingWiki, the wiki about fixing PC games
(added custom display text for Mac OS, fixed default value display for empty second parameter, added property for game data presence) |
(added OS config paths property support) |
||
Line 1: | Line 1: | ||
<includeonly><tr class="template-infotable-body"> | <includeonly><tr class="template-infotable-body"> | ||
<th scope="row">{{#switch: {{{1}}} | Windows | Linux | DOS = {{{1}}}{{#ifeq: {{NAMESPACE}} | | [[Category:{{{1}}}]]}} | Booter = PC booter{{#ifeq: {{NAMESPACE}} | | [[Category:PC booter]]}} | Mac OS = Mac OS (Classic){{#ifeq: {{NAMESPACE}} | | [[Category:Mac OS]]}}| OS X = macOS (OS X){{#ifeq: {{NAMESPACE}} | | [[Category:OS X]]}}| GOG.com | Steam | Origin | Uplay = {{{1}}} | Microsoft Store = Microsoft Store{{#ifeq: {{NAMESPACE}} | | [[Category:Windows]]}} | #Default={{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (game data)]] }}}}</th> | <th scope="row">{{#switch: {{{1}}} | Windows | Linux | DOS = {{{1}}}{{#ifeq: {{NAMESPACE}} | | [[Category:{{{1}}}]]}} | Booter = PC booter{{#ifeq: {{NAMESPACE}} | | [[Category:PC booter]]}} | Mac OS = Mac OS (Classic){{#ifeq: {{NAMESPACE}} | | [[Category:Mac OS]]}}| OS X = macOS (OS X){{#ifeq: {{NAMESPACE}} | | [[Category:OS X]]}}| GOG.com | Steam | Origin | Uplay = {{{1}}} | Microsoft Store = Microsoft Store{{#ifeq: {{NAMESPACE}} | | [[Category:Windows]]}} | #Default={{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (game data)]] }}}}</th> | ||
− | <td class="template-infotable-monospace">{{{2|}}}{{#if: {{{2|}}}|[[Game data::true| ]]}}{{#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| ]]}}{{#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></includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 11:29, 25 March 2018
Documentation for the above template (sometimes hidden from view).
Visit Template:Game data/config/Documentation to edit this text. (How does this work?)