|
|
Line 1: |
Line 1: |
− | <includeonly> | + | <table class="vertical-navbox template-infobox" id="infobox-game"> |
− | <div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-settings-input">
| + | <caption class="template-infobox-title">{{{title|{{PAGENAME}}}}} <includeonly>[[Category:Games]]</includeonly></caption> |
− | <tr class="template-infotable-head"> | + | {{#ogpdescription:{{PAGENAME}} at PCGamingWiki - bugs, fixes, crashes, mods, guides and improvements for every PC game.}} |
− | <th scope="col" style="width: 230px;">Keyboard and mouse</th>
| + | {{#if: {{{cover|}}} | |
− | <th scope="col" style="width: 50px;">Native</th>
| + | <tr> |
− | <th scope="col" style="width: 540px;">Notes</th> | + | <td class="template-infobox-cover" colspan="2">[[File:{{#ogpimage:{{{cover}}}}}{{!}}{{{cover size|300px}}}{{!}}alt={{{title|{{PAGENAME}}}}} cover]]</td> |
| </tr> | | </tr> |
| + | }} |
| | | |
− | <!-- Key remapping --> | + | {{#if: {{{developers|}}} | |
− | <tr class="template-infotable-body">
| + | <tr> |
− | <th scope="row">[[Glossary:Remapping|Remapping]]</th>
| + | <th class="template-infobox-header" colspan="2">Developers</th> |
− | <td>{{Tickcross|{{{key remap|unknown}}}|Key remapping}}</td>
| |
− | <td>{{{key remap notes|}}}</td>
| |
| </tr> | | </tr> |
| + | {{{developers}}} |
| + | }} |
| | | |
− | <!-- Mouse acceleration --> | + | <!-- Publishers --> |
− | {{#if: {{{acceleration option|}}} | | + | {{#if: {{{publishers|}}} | |
− | <tr class="template-infotable-body"> | + | <tr> |
− | <th scope="row">[[Glossary:Mouse acceleration|Mouse acceleration]]</th>
| + | <th class="template-infobox-header" colspan="2">Publishers</th> |
− | <td>{{Tickcross|{{{acceleration option|}}}|Mouse acceleration}}</td>
| |
− | <td>{{{acceleration option notes|}}}</td>
| |
| </tr> | | </tr> |
| + | {{{publishers}}} |
| }} | | }} |
| | | |
− | <!-- Mouse sensitivity --> | + | <!-- Engines --> |
− | {{#if: {{{mouse sensitivity|}}} | | + | {{#if: {{{engines|}}} | |
− | <tr class="template-infotable-body"> | + | <tr> |
− | <th scope="row">[[Glossary:Mouse#Sensitivity|Mouse sensitivity]]</th>
| + | <th class="template-infobox-header" colspan="2">Engines</th> |
− | <td>{{Tickcross|{{{mouse sensitivity|}}}|Mouse sensitivity}}</td>
| |
− | <td>{{{mouse sensitivity notes|}}}</td>
| |
| </tr> | | </tr> |
| + | {{{engines}}} |
| }} | | }} |
| | | |
− | <!-- Mouse input in menus --> | + | <!-- Release dates --> |
− | <tr class="template-infotable-body">
| + | {{#if: {{{release dates|}}}| |
− | <th scope="row">[[Glossary:Mouse|Mouse input in menus]]</th>
| + | <tr> |
− | <td>{{Tickcross|{{{mouse menu|unknown}}}|Mouse input in menus}}</td>
| + | <th class="template-infobox-header" colspan="2">Release dates</th> |
− | <td>{{{mouse menu notes|}}}</td>
| |
− | </tr> | |
− | | |
− | <!-- Invert Y-axis --> | |
− | {{#if: {{{invert mouse y-axis|}}} |
| |
− | <tr class="template-infotable-body">
| |
− | <th scope="row">[[Glossary:Invert Y-axis|Mouse Y-axis inversion]]</th>
| |
− | <td>{{Tickcross|{{{invert mouse y-axis|}}}|Mouse Y-axis inversion}}</td>
| |
− | <td>{{{invert mouse y-axis notes|}}}</td>
| |
| </tr> | | </tr> |
| + | {{{release dates|}}}|<includeonly>[[Category:Pages with no release dates]]</includeonly> |
| }} | | }} |
| | | |
− | <!-- NEW SECTION --> | + | <!-- Icons --> |
− | <!-- Controller support --> | + | {{#if: {{{wikipedia|}}}{{{steam appid main|{{{steam appid|}}}}}}{{{winehq|}}}| |
− | <tr class="template-infotable-secondhead">
| + | <tr> |
− | <th scope="col" style="width: 230px;">Controller</th>
| + | <td class="template-infobox-icons" colspan="2"><!-- |
− | <th scope="col" style="width: 50px;"></th>
| + | -->{{#if: {{{winehq|}}} | <div title="{{PAGENAME}} at WineHQ" class="plainlinks template-infobox-icon svg-icon svg-18 infobox-winehq">[http://appdb.winehq.org/objectManager.php?sClass=application&iId={{{winehq}}} ]</div>}}<!-- |
− | <th scope="col" style="width: 540px;"></th>
| + | -->{{#if: {{{steam appid main|{{{steam appid|}}}}}} | {{#ifeq: {{#get_web_data: |
− | </tr>
| + | url=http://m.co-optimus.com/api/games.php?search=true&steamid={{{steam appid main|{{{steam appid|}}}}}}&json=true |
− | | + | |format=JSON |
− | <tr class="template-infotable-body">
| + | |data=coopgameid=gameid,coopurl=urlSlug |
− | <th scope="row">[[Glossary:Controller|Controller support]]</th>
| + | }} | <span class="error">Error: Invalid JSON.</span> ||<div title="{{PAGENAME}} at Co-Optimus" class="plainlinks template-infobox-icon svg-icon svg-18 infobox-cooptimus">[http://www.co-optimus.com/game/{{#external_value:coopgameid}}/pc/{{#external_value:coopurl}}.html ]</div>}}<div title="{{PAGENAME}} at SteamDB" class="plainlinks template-infobox-icon svg-icon svg-18 infobox-steamdb">[https://steamdb.info/app/{{{steam appid main|{{{steam appid|}}}}}} ]</div> }}<!-- |
− | <td>{{Tickcross|{{{controller support|unknown}}}|Controller support}}</td>
| + | -->{{#if: {{{wikipedia|}}} | <div title="{{PAGENAME}} at Wikipedia" class="template-infobox-icon svg-icon svg-18 infobox-wikipedia">[[Wikipedia:{{{wikipedia}}}| ]]</div> }}</td> |
− | <td>{{{controller support notes|}}}</td>
| |
− | </tr>
| |
− | | |
− | <!-- THESE FIELDS WILL ONLY APPEAR IF CONTROLLER SUPPORT IS NOT FALSE OR UNKNOWN --> | |
− | {{#ifeq: {{lc:{{{controller support|}}}}} | false || | |
− | {{#ifeq: {{lc:{{{controller support|}}}}} | unknown || | |
− | | |
− | <!-- Full controller support -->
| |
− | <tr class="template-infotable-body">
| |
− | <th scope="row">[[Glossary:Controller|<abbr title="Supports Big Picture mode, all menus can be navigated with a controller.">Full controller support</abbr>]]</th>
| |
− | <td>{{Tickcross|{{{full controller|}}}|Full controller support}}</td>
| |
− | <td>{{{full controller notes|}}}</td>
| |
− | </tr>
| |
− | | |
− | <!-- Remappable controls -->
| |
− | <tr class="template-infotable-body">
| |
− | <th scope="row">[[Glossary:Remapping|Controller remapping]]</th>
| |
− | <td>{{Tickcross|{{{controller remap|}}}|Controller remapping}}</td>
| |
− | <td>{{{controller remap notes|}}}</td>
| |
| </tr> | | </tr> |
− |
| |
− | <!-- Controller sensitivity -->
| |
− | {{#if: {{{controller sensitivity|}}} |
| |
− | <tr class="template-infotable-body">
| |
− | <th scope="row">[[Glossary:Controller|Controller sensitivity]]</th>
| |
− | <td>{{Tickcross|{{{controller sensitivity|}}}|Controller sensitivity}}</td>
| |
− | <td>{{{controller sensitivity notes|}}}</td>
| |
− | </tr>
| |
− | }}
| |
− |
| |
− | <!-- Invert Y-axis -->
| |
− | {{#if: {{{invert controller y-axis|}}} |
| |
− | <tr class="template-infotable-body">
| |
− | <th scope="row">[[Glossary:Invert Y-axis|Controller Y-axis inversion]]</th>
| |
− | <td>{{Tickcross|{{{invert controller y-axis|}}}|Controller Y-axis inversion}}</td>
| |
− | <td>{{{invert controller y-axis notes|}}}</td>
| |
− | </tr>
| |
− | }}
| |
| }} | | }} |
− | }}
| |
− |
| |
− | <!-- NEW SECTION -->
| |
− | <!-- Other settings -->
| |
− | {{#if: {{{touchscreen|}}} |
| |
− | {{#ifeq: {{lc:{{{touchscreen|}}}}} | unknown | |
| |
− | <tr class="template-infotable-secondhead">
| |
− | <th scope="col" style="width: 230px;">Other</th>
| |
− | <th scope="col" style="width: 50px;"></th>
| |
− | <th scope="col" style="width: 540px;"></th>
| |
− | </tr>
| |
− |
| |
− | <!-- Touchscreen optimised -->
| |
− | {{#if: {{{touchscreen|}}} |
| |
− | {{#ifeq: {{lc:{{{touchscreen|}}}}} | unknown | |
| |
− | <tr class="template-infotable-body">
| |
− | <th scope="row">[[Glossary:Touchscreen|Touchscreen optimised]]</th>
| |
− | <td>{{Tickcross|{{{touchscreen|}}}|Touchscreen optimised}}</td>
| |
− | <td>{{{touchscreen notes|}}}</td>
| |
− | </tr>
| |
− | }}
| |
− | }}
| |
| | | |
− | }}
| + | <!-- Hidden properties --> |
− | }}
| + | {{#if: {{{steam appid main|{{{steam appid|}}}}}}| [[Steam AppID::{{{steam appid main|{{{steam appid}}}}}}| ]] }} |
− | {{#if: {{{key remap|}}} || [[Category:Invalid template usage]] }} | + | {{#if: {{{steam appid side|}}}| {{#arraymap:{{{steam appid side|}}}|,|var|[[Steam AppID::var| ]]| }} }} |
− | {{#if: {{{mouse menu|}}} || [[Category:Invalid template usage]] }}
| + | {{#if: {{{winehq|}}}| [[WineHQ AppID::{{{winehq}}}| ]] }} |
− | {{#if: {{{controller support|}}} || [[Category:Invalid template usage]] }}
| + | {{#if: {{{gogcom page|}}}| [[GOGcom page::{{{gogcom page}}}| ]] }} |
− | </table>{{#ifeq: {{lc:{{{controller support|}}}}} | false ||
| + | {{#if: {{{wikipedia|}}}| [[Wikipedia::{{{wikipedia}}}| ]] }} |
− | {{#ifeq: {{lc:{{{controller support|}}}}} | unknown || | + | </table><noinclude>{{Documentation}}</noinclude> |
− | {{#if: {{{button prompts|}}}{{{lightbar support|}}}{{{controller hotplug|}}}{{{haptic feedback|}}} | | |
− | <table class="mw-collapsible mw-collapsed pcgwikitable template-infotable" id="table-settings-input-additional" style="margin-top: -16px;">
| |
− | <tr class="template-infotable-head">
| |
− | <th scope="col" style="width: 230px;">Additional information</th>
| |
− | <th scope="col" {{#if: {{{button prompts|}}} | style="width: 100px;" | style="width: 50px;" }}></th>
| |
− | <th scope="col" {{#if: {{{button prompts|}}} | style="width: 490px;" | style="width: 540px;" }}></th>
| |
− | </tr>
| |
− | | |
− | {{#if: {{{button prompts|}}} |
| |
− | <tr class="template-infotable-body">
| |
− | <th scope="row">[[Glossary:Controller|Button prompts]]</th>
| |
− | <td>{{#arraymaptemplate:{{{button prompts}}}|Prompts|,|}}</td>
| |
− | <td>{{{button prompts notes|}}}</td>
| |
− | </tr>
| |
− | }}
| |
− | | |
− | <tr class="template-infotable-body">
| |
− | <th scope="row">[[Glossary:Controller|Controller hotplugging]]</th>
| |
− | <td>{{Tickcross|{{{controller hotplug|}}}|Controller hotplugging}}</td>
| |
− | <td>{{{controller hotplug notes|}}}</td>
| |
− | </tr>
| |
− | | |
− | <tr class="template-infotable-body">
| |
− | <th scope="row">[[Glossary:Controller|{{abbr|Haptic feedback|Commonly referred to as controller vibration, force feedback, rumble, or dualshock.}}]]</th>
| |
− | <td>{{Tickcross|{{{haptic feedback|}}}|Controller haptic feedback}}</td>
| |
− | <td>{{{haptic feedback notes|}}}</td>
| |
− | </tr>
| |
− | | |
− | {{#if: {{{light bar support|}}} |
| |
− | <tr class="template-infotable-body">
| |
− | <th scope="row">[[Controller:DualShock 4|DualShock 4 light bar support]]</th>
| |
− | <td>{{Tickcross|{{{light bar support|}}}|DualShock 4 light bar support}}</td>
| |
− | <td>{{{light bar support notes|}}}</td>
| |
− | </tr>
| |
− | }}
| |
− | </table>}} | |
− | }}
| |
− | }}</div></includeonly><noinclude>{{Documentation}}</noinclude>
| |