Difference between revisions of "Template:Infobox controller"
From PCGamingWiki, the wiki about fixing PC games
Tag: Undo |
m ({{#if:{{NAMESPACE}}||Category:Pages needing cover images}}) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
<includeonly>{{#if: {{{cover|}}} | | <includeonly>{{#if: {{{cover|}}} | | ||
<tr> | <tr> | ||
− | <td class="template-infobox-cover" colspan="2">{{#ifexist: File:{{{cover}}} | [[File:{{{cover}}}{{!}}{{{cover size|300px}}}{{!}}alt={{{title|{{PAGENAME}}}}} cover]] |''Cover image missing, please <span class="plainlinks">[https://pcgamingwiki.com/w/index.php?title=Special:Upload&wpDestFile={{urlencode:{{{cover}}}|WIKI}} upload it]</span>''[[Category:Pages needing cover images]]}}</td> | + | <td class="template-infobox-cover" colspan="2">{{#ifexist: File:{{{cover}}} | [[File:{{{cover}}}{{!}}{{{cover size|300px}}}{{!}}alt={{{title|{{PAGENAME}}}}} cover]] |''Cover image missing, please <span class="plainlinks">[https://pcgamingwiki.com/w/index.php?title=Special:Upload&wpDestFile={{urlencode:{{{cover}}}|WIKI}} upload it]</span>''{{#if:{{NAMESPACE}}||[[Category:Pages needing cover images]]}}}}</td> |
</tr> | </tr> | ||
− | |[[Category:Pages needing cover images]]}}</includeonly> | + | |{{#if:{{NAMESPACE}}||[[Category:Pages needing cover images]]}}}}</includeonly> |
<!-- XInput --> | <!-- XInput --> | ||
Line 14: | Line 14: | ||
<tr> | <tr> | ||
<td class="template-infobox-info" colspan="2" style="text-align: right; float: right;">{{tickcross|{{{xinput|}}}||unnecessary|size=18px}}</td> | <td class="template-infobox-info" colspan="2" style="text-align: right; float: right;">{{tickcross|{{{xinput|}}}||unnecessary|size=18px}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | <!-- Connection method --> | ||
+ | {{#if: {{{connection method|}}} | | ||
+ | <tr> | ||
+ | <th class="template-infobox-header" colspan="2">Connection method</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td class="template-infobox-info" colspan="2" style="text-align: right;">{{{connection method|}}}</td> | ||
</tr> | </tr> | ||
}} | }} |
Revision as of 19:29, 4 October 2022
Documentation for the above template (sometimes hidden from view).
- Description
This template should be used for pages regarding a controller.
- Arguments
title
- Optional. Add if the title of the controller varies in some way from the page name.
cover
- Include an image of the controller hosted on the PCGamingWiki.
xinput
- True, false, or hackable.
connection method
- The supported connection method on PC, e.g. USB-Micro, USB-C, USB-Mini, Bluetooth, custom physical adapters, PS/2, DE-9, and/or other methods. Recommended values and applicable cases:
USB-A
: Controller end of the wire: Permanently attached. PC end: USB-A port, 2.0 unless otherwise stated.USB-B
: Controller end: USB-B, 2.0 unless otherwise stated. PC end: Any USB size or Thunderbolt 3.USB-C
: Controller end: USB-C, 2.0 unless otherwise stated. PC end: Any USB size or Thunderbolt 3.USB-Micro
: Controller end: Micro-USB, 2.0 unless otherwise stated. PC end: Any USB size or Thunderbolt 3.USB-Mini
: Controller end: USB Mini-B. PC end: Any USB size or Thunderbolt 3.Bluetooth
: When the controller is connected to the PC over Bluetooth. This means the PC must have Bluetooth functionality in some way to use such a connection.Wired adapter
: The controller uses a custom port on the machine end (e.g. DualShock 1/2 port, GameCube/N64 port) that no PCs can natively handle, requiring the use of dedicated adapters on PC.Wireless dongle
: Either the controller requires a 2.4GHz RF USB dongle (The dongle is USB-A 2.0 unless otherwise stated) for the PC, or it's controller-specific dongles (e.g. Xbox 360 Wireless Adapter).Wi-Fi
: The controller itself is able to connect to a home's Wi-Fi network, and can to varying extents be detected by a PC over Wi-Fi (if the PC has Wi-Fi support) or potentially Ethernet.DE-9
: 9-pin port used on many 80's and early 90's systems, and which strongly resemble (but are not known to be compatible with) PC standard serial ports.Game Port
: 13-pin serial port designed by Microsoft specifically for some 1990's game controllers.Lightning
: iOS apps that can be used to control PC games with a typical Lightning-to-USB cable.Infrared adapter
: Controllers with built-in infrared functionality to communicate with other devices. However, there are no known cases as of May 2023 of anyone getting such devices to communicate with a PC as a game controller.
predecessor
- Optional. Link to the preceding controller if the controller belongs to a series or line of hardware. E.g. the DualShock series of controllers.
successor
- Optional. Link to the succeeding controller if the controller belongs to a series or line of hardware. E.g. the DualShock series of controllers.
wikipedia
- The title of the Wikipedia article on this specific controller or series of controllers.
- Syntax
{{Infobox controller |title = |cover = |xinput = |connection method = |predecessor = |successor = |wikipedia = }}
Visit Template:Infobox controller/Documentation to edit this text. (How does this work?)