Difference between revisions of "Template:Infobox console"
From PCGamingWiki, the wiki about fixing PC games
(added default title handling) |
m (updated !- use) |
||
Line 15: | Line 15: | ||
{{{related}}} | {{{related}}} | ||
</div> | </div> | ||
− | {{! | + | {{!}}- |
}} | }} | ||
Line 24: | Line 24: | ||
<div style="float: left; text-align: right; vertical-align: top; width: 100%; padding-right: 4px;><span style="float:right;">{{{predecessor}}}</span></div> | <div style="float: left; text-align: right; vertical-align: top; width: 100%; padding-right: 4px;><span style="float:right;">{{{predecessor}}}</span></div> | ||
</div> | </div> | ||
− | {{! | + | {{!}}- |
}} | }} | ||
Line 33: | Line 33: | ||
<div style="float: left; text-align: right; vertical-align: top; width: 100%; padding-right: 4px;><span style="float:right;">{{{successor}}}</span></div> | <div style="float: left; text-align: right; vertical-align: top; width: 100%; padding-right: 4px;><span style="float:right;">{{{successor}}}</span></div> | ||
</div> | </div> | ||
− | {{! | + | {{!}}- |
}} | }} | ||
Line 40: | Line 40: | ||
{{!}} style="text-align: right; vertical-align: top; padding: 5px 4px 4px 6px;" {{!}} <!-- | {{!}} style="text-align: right; vertical-align: top; padding: 5px 4px 4px 6px;" {{!}} <!-- | ||
-->{{#if: {{{wikipedia|}}} | [[File:Wikipedia Icon.svg|18px|link=Wikipedia:{{{wikipedia}}}|alt={{PAGENAME}} at Wikipedia|{{PAGENAME}} at Wikipedia]] }} | -->{{#if: {{{wikipedia|}}} | [[File:Wikipedia Icon.svg|18px|link=Wikipedia:{{{wikipedia}}}|alt={{PAGENAME}} at Wikipedia|{{PAGENAME}} at Wikipedia]] }} | ||
− | {{! | + | {{!}}- |
}} | }} | ||
Revision as of 11:06, 29 July 2016
Template:Alternating rows table section
Documentation for the above template (sometimes hidden from view).
- Description
This template should be used for pages regarding Emulation of a console.
- Arguments
title
- Optional. Add if the title of the console varies in some way from page name, e.g. NES vs. Nintendo Entertainment System
cover
- Include this if there is an image of the console hosted on the PCGamingWiki or Wikimedia Commons.
related
- Controllers related to the respective console, e.g. the Xbox 360 and Xbox 360's Controller. Possible rows include:
{{Infobox game/row/controller| }}
- The first argument is to be used for the controller's name, with a link to the controller's page.
predecessor
- Optional. Link to the preceding console if the console belongs to a series of hardware or is made by a company which has made multiple consoles. E.g. the NES, SNES, N64, GameCube, Wii, and Wii U.
successor
- Optional. Link to the succeeding console if the console belongs to a series of hardware or is made by a company which has made multiple consoles. E.g. the NES, SNES, N64, GameCube, Wii, and Wii U.
wikipedia
- The title of the Wikipedia article on this specific console.
- Syntax
{{Infobox console |title = |cover = |related = {{Infobox console/row/controller| [[Controller: | ]] }} |predecessor = |successor = |wikipedia = }}
Visit Template:Infobox console/Documentation to edit this text. (How does this work?)