Difference between revisions of "Template:System requirements"
From PCGamingWiki, the wiki about fixing PC games
(updated category name) |
(added macOS labelling and check for OS name validity) |
||
Line 1: | Line 1: | ||
− | <div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-sysreqs-{{lc:{{{OSfamily|}}}}}"> | + | <includeonly><div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-sysreqs-{{lc:{{{OSfamily|}}}}}"> |
<tr class="template-infotable-doublehead"> | <tr class="template-infotable-doublehead"> | ||
− | <th colspan="3">[[{{{OSfamily|}}}]]{{#if: {{{OSfamily|}}} | {{#ifeq: {{NAMESPACE}} | | [[Category:{{{OSfamily}}}]]}}}}{{{ref|}}}</th> | + | <th colspan="3">[[<!-- |
+ | -->{{#switch:{{{OSfamily|}}} | ||
+ | |DOS | ||
+ | |Windows | ||
+ | |Mac OS | ||
+ | |Linux = {{{OSfamily|}}} | ||
+ | |OS X = Mac OS{{!}}macOS (OS X) | ||
+ | |#Default = [[Category:Invalid template usage]] | ||
+ | }}]]{{#if: {{{OSfamily|}}} | {{#ifeq: {{NAMESPACE}} | | [[Category:{{{OSfamily}}}]]}}}}{{{ref|}}}</th> | ||
</tr> | </tr> | ||
Line 102: | Line 110: | ||
</tr> | </tr> | ||
}} | }} | ||
− | </table></div>{{#if: {{{1|}}} | [[Category:Invalid template usage (system requirements)]] }}<noinclude>{{Documentation}}</noinclude> | + | </table></div>{{#if: {{{1|}}} | [[Category:Invalid template usage (system requirements)]] }}</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 03:30, 10 June 2017
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?)