Difference between revisions of "Template:Input"

From PCGamingWiki, the wiki about fixing PC games
m (added limited to appropriate values to show the rest of the controller rows for)
m (added 'limited' as acceptable state to show tracked motion controller row for)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<includeonly><span id="Input settings"></span>{{#vardefine:section|Input}}{{#if:{{#var:VR}}|{{#vardefine:show tracked|true}}|{{#vardefine:show tracked|unknown}}}}{{#switch: {{{tracked motion controllers|}}}
 
<includeonly><span id="Input settings"></span>{{#vardefine:section|Input}}{{#if:{{#var:VR}}|{{#vardefine:show tracked|true}}|{{#vardefine:show tracked|unknown}}}}{{#switch: {{{tracked motion controllers|}}}
 
|true
 
|true
 +
|limited
 
|hackable={{#vardefine:show tracked|true}}
 
|hackable={{#vardefine:show tracked|true}}
 
}}<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-settings-input">
 
}}<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-settings-input">
Line 170: Line 171:
 
</table>
 
</table>
 
}}
 
}}
 +
    {{#ifeq: {{#var:show tracked}} | true |
 
{{#ifeq:{{{tracked motion controllers|}}}|false|<table class="pcgwikitable template-infotable" id="table-settings-input-controller-tracked" style="margin-top: -16px;">|
 
{{#ifeq:{{{tracked motion controllers|}}}|false|<table class="pcgwikitable template-infotable" id="table-settings-input-controller-tracked" style="margin-top: -16px;">|
 
{{#ifeq:{{{tracked motion controllers|}}}|unknown|<table class="pcgwikitable template-infotable" id="table-settings-input-controller-tracked" style="margin-top: -16px;">|
 
{{#ifeq:{{{tracked motion controllers|}}}|unknown|<table class="pcgwikitable template-infotable" id="table-settings-input-controller-tracked" style="margin-top: -16px;">|
Line 188: Line 190:
 
}}
 
}}
 
</table>
 
</table>
 +
    }}
 
{{#if:{{#var:show controller}}|
 
{{#if:{{#var:show controller}}|
 
{{#ifeq:{{{other controllers|}}}|false|<table class="pcgwikitable template-infotable" id="table-settings-input-controller-other" style="margin-top: -16px;">|
 
{{#ifeq:{{{other controllers|}}}|false|<table class="pcgwikitable template-infotable" id="table-settings-input-controller-other" style="margin-top: -16px;">|
 
{{#ifeq:{{{other controllers|}}}|unknown|<table class="pcgwikitable template-infotable" id="table-settings-input-controller-other" style="margin-top: -16px;">|
 
{{#ifeq:{{{other controllers|}}}|unknown|<table class="pcgwikitable template-infotable" id="table-settings-input-controller-other" style="margin-top: -16px;">|
 
<table class="mw-collapsible mw-collapsed pcgwikitable template-infotable" id="table-settings-input-controller-other" style="margin-top: -16px;">}}}}
 
<table class="mw-collapsible mw-collapsed pcgwikitable template-infotable" id="table-settings-input-controller-other" style="margin-top: -16px;">}}}}
<tr class="template-infotable-body table-settings-input-body-row">
+
<tr class="template-infotable-body table-settings-input-body-row" {{#ifeq: {{#var:show tracked}} | true | |  style="background-color:#ffffff;" }}>
 
<th scope="col" style="width: 230px;" class="table-settings-input-body-parameter">[[Glossary:Controller|{{abbr|Generic/other controllers|Controllers that do not fall into any other category}}]]</th>
 
<th scope="col" style="width: 230px;" class="table-settings-input-body-parameter">[[Glossary:Controller|{{abbr|Generic/other controllers|Controllers that do not fall into any other category}}]]</th>
 
<td scope="col" style="width: 50px;" class="table-settings-input-body-rating">{{Tickcross-nr|{{{other controllers|}}}|Other controller support|{{{other controllers notes|}}}}}</td>
 
<td scope="col" style="width: 50px;" class="table-settings-input-body-rating">{{Tickcross-nr|{{{other controllers|}}}|Other controller support|{{{other controllers notes|}}}}}</td>
Line 199: Line 202:
 
{{#ifeq:{{{other controllers|}}}|false||
 
{{#ifeq:{{{other controllers|}}}|false||
 
{{#ifeq:{{{other controllers|}}}|unknown||
 
{{#ifeq:{{{other controllers|}}}|unknown||
<tr class="template-infotable-body table-settings-input-body-row">
+
<tr class="template-infotable-body table-settings-input-body-row" {{#ifeq: {{#var:show tracked}} | true | |  style="background-color:#f5f5f5;" }}>
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Controller|Button prompts]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Controller|Button prompts]]</th>
 
<td class="table-settings-input-body-button-prompts">{{#arraymaptemplate:{{{other button prompts|{{{button prompts}}}}}}|Prompts|,|}}</td>
 
<td class="table-settings-input-body-button-prompts">{{#arraymaptemplate:{{{other button prompts|{{{button prompts}}}}}}|Prompts|,|}}</td>

Revision as of 18:02, 31 July 2020

This template defines the table "Input_settings". This table has not been created yet.

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

This table is meant to contain all information relating to input settings and features. If a setting is hackable or requires additional notes, add the information below the table in a header like so:

=== [[Controller support]] ===
Fixbox here
...

and make note of it in the table in the following fashion See [[#Controller support|Controller support]]. Any smaller notes can and should be included directly in the table.

Below is a more thorough explanation of each of the possible arguments. Each can be appended with  notes to fill in the information in the Notes column.

Arguments


Syntax
{{Input
|key remap                 = 
|key remap notes           = 
|acceleration option       = 
|acceleration option notes = 
|mouse sensitivity         = 
|mouse sensitivity notes   = 
|mouse menu                = 
|mouse menu notes          = 
|invert mouse y-axis       = 
|invert mouse y-axis notes = 
|touchscreen               = 
|touchscreen notes         = 
|controller support        = 
|controller support notes  = 
|full controller           = 
|full controller notes     = 
|controller remap          = 
|controller remap notes    = 
|controller sensitivity    = 
|controller sensitivity notes= 
|invert controller y-axis  = 
|invert controller y-axis notes= 
|xinput controllers        = 
|xinput controllers notes  = 
|xbox prompts              = 
|xbox prompts notes        = 
|impulse triggers          = 
|impulse triggers notes    = 
|dualshock 4               = 
|dualshock 4 notes         = 
|dualshock prompts         = 
|dualshock prompts notes   = 
|light bar support         = 
|light bar support notes   = 
|dualshock 4 modes         = 
|dualshock 4 modes notes   = 
|tracked motion controllers= 
|tracked motion controllers notes = 
|tracked motion prompts    = 
|tracked motion prompts notes = 
|other controllers         = 
|other controllers notes   = 
|other button prompts      = 
|other button prompts notes= 
|controller hotplug        = 
|controller hotplug notes  = 
|haptic feedback           = 
|haptic feedback notes     = 
|simultaneous input        = 
|simultaneous input notes  = 
|steam input api           = 
|steam input api notes     = 
|steam hook input          = 
|steam hook input notes    = 
|steam input presets       = 
|steam input presets notes = 
|steam controller prompts  = 
|steam controller prompts notes = 
|steam cursor detection    = 
|steam cursor detection notes = 
}}
See also