Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Template:Game data/config"

From PCGamingWiki, the wiki about fixing PC games
m (made template actually readable and understandable)
m (Undo revision 701048 by Aemony (talk) of course this adds unwanted newlines. Because MediaWiki is stupid)
Tag: Undo
Line 1: Line 1:
<includeonly>
+
<includeonly><tr class="template-infotable-body">
<tr class="template-infotable-body">
+
<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">
+
<td class="template-infotable-monospace">{{{2|}}}{{#if: {{{2|}}}|[[Game data::true| ]][[{{{1}}} config paths::true| ]]|[[{{{1}}} config paths::false| ]]{{#if:{{{3|}}}{{{4|}}}{{{5|}}}|[[Category:Invalid template usage (Game data)]]}}}}{{#if: {{{3|}}}|<br/>{{{3}}}}}{{#if: {{{4|}}}|<br/>{{{4}}}}}{{#if: {{{5|}}}|<br/>{{{5}}}}}{{#if: {{{6|}}}|[[Category:Invalid template usage (Game data)]]}}</td>
{{#switch: {{{1}}}  
+
</tr><!--
| Windows  
+
-->{{#if:{{#var:{{{1}}} config}}|[[Category:Invalid template usage (Game data)]]|{{#vardefine:{{{1}}} config|yes}} }}<!--
| Linux  
+
-->{{#if:{{#var:saves}}|[[Category:Invalid template usage (Game data)]]}}<!--
| DOS = {{{1}}}
+
--></includeonly><noinclude>{{documentation}}</noinclude>
{{#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|}}}{{{4|}}}{{{5|}}}
 
|[[Category:Invalid template usage (Game data)]]
 
}}
 
}}
 
{{#if: {{{3|}}}
 
|<br/>{{{3}}}
 
}}
 
{{#if: {{{4|}}}
 
|<br/>{{{4}}}
 
}}
 
{{#if: {{{5|}}}
 
|<br/>{{{5}}}
 
}}
 
{{#if: {{{6|}}}
 
|[[Category:Invalid template usage (Game data)]]
 
}}
 
</td>
 
</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 11:16, 3 March 2019

Documentation for the above template (sometimes hidden from view).