Difference between revisions of "Template:Game data/config"
From PCGamingWiki, the wiki about fixing PC games
(added category namespace check) |
(added check for unsupported number of entries) |
||
Line 1: | Line 1: | ||
<includeonly><tr class="template-infotable-body"> | <includeonly><tr class="template-infotable-body"> | ||
<th scope="row">{{#switch: {{{1}}} | Windows | Linux | Mac OS | DOS = {{{1}}}{{#ifeq: {{NAMESPACE}} | | [[Category:{{{1}}}]]}} | OS X = macOS (OS X){{#ifeq: {{NAMESPACE}} | | [[Category:OS X]]}}| Steam | Origin | Uplay | Windows Store = {{{1}}} | #Default=[[Category:Invalid template usage (game data)]]}}</th> | <th scope="row">{{#switch: {{{1}}} | Windows | Linux | Mac OS | DOS = {{{1}}}{{#ifeq: {{NAMESPACE}} | | [[Category:{{{1}}}]]}} | OS X = macOS (OS X){{#ifeq: {{NAMESPACE}} | | [[Category:OS X]]}}| Steam | Origin | Uplay | Windows Store = {{{1}}} | #Default=[[Category:Invalid template usage (game data)]]}}</th> | ||
− | <td class="template-infotable-monospace">{{{2}}}{{#if: {{{3|}}}|<br/>{{{3}}}{{#if: {{{4|}}}|<br/>{{{4}}}{{#if: {{{5|}}}|<br/>{{{5}}}}}}}}}</td> | + | <td class="template-infotable-monospace">{{{2}}}{{#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 09:11, 16 May 2017
Documentation for the above template (sometimes hidden from view).
Visit Template:Game data/config/Documentation to edit this text. (How does this work?)