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

From PCGamingWiki, the wiki about fixing PC games
m (added |uc on rows that lacked it)
(added vardefines for Cargo; added row validity check)
 
Line 1: Line 1:
 
<includeonly>{{#if: {{{1|}}} | <tr>
 
<includeonly>{{#if: {{{1|}}} | <tr>
 
<td class="template-infobox-type">Controls</td>
 
<td class="template-infobox-type">Controls</td>
<td class="template-infobox-info">{{#arraymap: {{{1}}} | , | €€€€€ | {{#switch: {{lc:€€€€€}}
+
<td class="template-infobox-info">{{#arraymap: {{{1}}} | , | €€€€€ | {{#vardefine:controls|{{#if:{{#var:controls}}|{{#var:controls}},€€€€€|€€€€€}}}}{{#switch: {{lc:€€€€€}}
 
| direct control  = {{Glossary:Direct control|uc}}                                                    [[Category:Direct control]]
 
| direct control  = {{Glossary:Direct control|uc}}                                                    [[Category:Direct control]]
 
| gestures        = {{Glossary:Gestures|uc}}                                                          [[Category:Gestures]]
 
| gestures        = {{Glossary:Gestures|uc}}                                                          [[Category:Gestures]]
Line 11: Line 11:
 
| text input      = {{Glossary:Text input|uc}}                                                        [[Category:Text input]]
 
| text input      = {{Glossary:Text input|uc}}                                                        [[Category:Text input]]
 
| voice control    = {{Glossary:Voice control|uc}}                                                      [[Category:Voice control]]
 
| voice control    = {{Glossary:Voice control|uc}}                                                      [[Category:Voice control]]
| #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 (Taxonomy)]]
 
}}
 
}}
 
}}</td>
 
}}</td>
</tr>}}
+
</tr>}}{{#switch:{{#var:section}}
</includeonly><noinclude>{{Documentation}}</noinclude>
+
|Infobox game
 +
|monetization
 +
|microtransactions
 +
|modes
 +
|pacing
 +
|perspectives={{#vardefine:section|controls}}
 +
|#Default = [[Category:Invalid row order (Taxonomy)]]
 +
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 07:45, 4 September 2021

Documentation for the above template (sometimes hidden from view).
Please refer to Taxonomy.
Category Definition Notes Examples
Direct control Directly control a single character at a time, usually using directional buttons and other action buttons to interact with the environment directly. MobyGames
Gestures Controls captured through motion controllers, gyroscopes or cameras. MobyGames
Menu-based Controls primarily through menus or an abstracted interface. MobyGames
Multiple select Control or selects multiple characters or units at the same time. MobyGames
Point and select Controls actions or movements of characters or objects through pointing and selecting. This can be done by mouse, controller or motion controls or other gestures. MobyGames
Text input Control through text input from the player, typically in the form of typed sentences or keystrokes. MobyGames
Voice control Controlled by the voice of the player or other sounds the player (or their environment) makes. MobyGames