Difference between revisions of "Template:System requirements"
From PCGamingWiki, the wiki about fixing PC games
(added PC booter support, improved handling of non-namespace uses) |
(removed OS auto category, added OS validity check) |
||
Line 3: | Line 3: | ||
<th colspan="3">{{#ifeq: {{NAMESPACE}} | |<!-- | <th colspan="3">{{#ifeq: {{NAMESPACE}} | |<!-- | ||
-->{{#switch:{{{OSfamily|}}} | -->{{#switch:{{{OSfamily|}}} | ||
− | |Booter = [[ | + | |Booter = [[PC booter]] |
|DOS | |DOS | ||
|Windows | |Windows | ||
|Mac OS | |Mac OS | ||
− | |Linux = [[{{{OSfamily| | + | |Linux = [[{{{OSfamily|}}}]] |
− | |OS X = [[Mac OS{{!}}macOS (OS X) | + | |OS X = [[Mac OS{{!}}macOS (OS X)]] |
|#Default = [[Category:Invalid template usage (system requirements)]] | |#Default = [[Category:Invalid template usage (system requirements)]] | ||
}}|{{{OSfamily|}}}}}{{{ref|}}}</th> | }}|{{{OSfamily|}}}}}{{{ref|}}}</th> | ||
Line 111: | Line 111: | ||
</tr> | </tr> | ||
}} | }} | ||
− | </table></div>{{#if: {{{1|}}} | [[Category:Invalid template usage (system requirements)]] }}</includeonly><noinclude>{{Documentation}}</noinclude> | + | </table></div>{{#if: {{{1|}}} | [[Category:Invalid template usage (system requirements)]] }}{{#if: {{#var:{{{OSfamily|}}}}} | | [[Category:Invalid template usage (system requirements)]] }}</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 08:10, 24 August 2018
Documentation for the above template (sometimes hidden from view).
- Syntax
{{System requirements |OSfamily = |minOS = |minCPU = |minCPU2 = |minRAM = |minHD = |minGPU = |minGPU2 = |minGPU3 = |minVRAM = |minOGL = |minDX = |minSM = |minaudio = |mincont = |minother = |recOS = |recCPU = |recCPU2 = |recRAM = |recHD = |recGPU = |recGPU2 = |recGPU3 = |recVRAM = |recOGL = |recDX = |recSM = |recaudio = |reccont = |recother = }}
- Arguments
- OSfamily -
- minOS -
- minCPU -
- minCPU2 -
- minRAM -
- minHD -
- minGPU -
- minGPU2 -
- minGPU3 -
- minVRAM -
- minOGL -
- minDX -
- minSM -
- minaudio -
- mincont -
- minother -
- recOS -
- recCPU -
- recCPU2 -
- recRAM -
- recHD -
- recGPU -
- recGPU2 -
- recGPU3 -
- recVRAM -
- recOGL -
- recDX -
- recSM -
- recaudio -
- reccont -
- recother -
Visit Template:System requirements/Documentation to edit this text. (How does this work?)