Difference between revisions of "Template:Infobox controller"

From PCGamingWiki, the wiki about fixing PC games
("Fork" of infobox console with some modifications)
 
m (fixed inputmode hiding)
Line 10: Line 10:
  
 
<!-- Input mode -->
 
<!-- Input mode -->
|{{#if: {{{predecessor|}}}|
+
|{{#if: {{{inputmode|}}}|
 
{{!}} style="text-align: left; vertical-align: top; padding: 2px 7px 2px 6px;" {{!}} '''Input mode'''
 
{{!}} style="text-align: left; vertical-align: top; padding: 2px 7px 2px 6px;" {{!}} '''Input mode'''
 
<div style="position: relative; display: block;">
 
<div style="position: relative; display: block;">

Revision as of 09:26, 21 January 2015

Infobox controller
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.
  • 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       = 
|predecessor  = 
|successor    = 
|wikipedia    = 
}}