Difference between revisions of "Template:Infobox game/row/taxonomy/modes"

From PCGamingWiki, the wiki about fixing PC games
m (spelling)
m (t)
Line 1: Line 1:
 
<includeonly>{{#if: {{{1|}}} | <tr>
 
<includeonly>{{#if: {{{1|}}} | <tr>
 
<td class="template-infobox-type">Modes</td>
 
<td class="template-infobox-type">Modes</td>
<td class="template-infobox-info">{{#vardefineecho:modes|{{#arraymap: {{{1}}} | , | €€€€€ | {{#switch: {{lc:€€€€€}}
+
<td class="template-infobox-info">{{#arraymap: {{{1}}} | , | €€€€€ | {{#switch: {{lc:€€€€€}}
| singleplayer = {{Glossary:Singleplayer|uc}}                                                      [[Category:Singleplayer]]
+
| singleplayer = {{Glossary:Singleplayer|uc}}                                                      [[Category:Singleplayer]] {{#var:modes|{{#var:modes|}}Singleplayer, }}
| multiplayer  = {{Glossary:Multiplayer|uc}}                                                        [[Category:Multiplayer]]
+
| multiplayer  = {{Glossary:Multiplayer|uc}}                                                        [[Category:Multiplayer]] {{#var:modes|{{#var:modes|}}Multiplayer, }}
 
| #default    = <div title="Error: '€€€€€' not recognized" class="svg-icon svg-16 os-error"></div> [[Category:Invalid template usage (infobox game)]]
 
| #default    = <div title="Error: '€€€€€' not recognized" class="svg-icon svg-16 os-error"></div> [[Category:Invalid template usage (infobox game)]]
 
}}
 
}}
}} }}</td>
+
}}</td>
 
</tr>}}
 
</tr>}}
 
</includeonly><noinclude>{{Documentation}}</noinclude>
 
</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 22:11, 10 July 2020

Documentation for the above template (sometimes hidden from view).
Please refer to Taxonomy.
Category Definition Notes Examples
Multiplayer The game supports some form of multiplayer either locally (e.g. hot seat play/pass-and-play) or remotely across the network or internet.
Singleplayer The game supports solo play through a singleplayer mode.
  • If the game also has multiplayer, the singleplayer component needs to be substantial enough (e.g. a campaign) and not just consist of an offline training mode.