Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Template:Infobox console"

From PCGamingWiki, the wiki about fixing PC games
("Forked" the non-game infobox for future modification specific to console emulation articles, no changes from the non-game template. Will use this on all relevant emulation articles for future-proofing.)
 
m ({{#if:{{NAMESPACE}}||Category:Pages needing cover images}})
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="vertical-navbox" cellspacing="1" cellpadding="0" style="float: right; clear: right; color: black; background: #f9f9f9; border: 1px solid #aaa; width: 300px; margin:0em 0 1.0em 1.0em; padding: 0.2em; border-spacing: 0.1em 0.1em 0.1em 0.1em; text-align: center; line-height: 1.4em; font-size: 93%;"
+
<table class="vertical-navbox template-infobox" id="infobox-console">
|+ style="padding-bottom: 2px; font-size: 125%; line-height: 1.2em; font-weight: bold;" |{{{title|{{PAGENAME}}}}}
+
<caption class="template-infobox-title">{{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}<includeonly>[[Category:Emulation]]</includeonly></caption>
|-
+
<includeonly>{{#if: {{{cover|}}} |
{{#if:{{{cover|}}}|
+
<tr>
{{!}} colspan="2" style="font-size: 110%; align: center; padding-top:5px; padding-bottom:5px" {{!}} [[File:{{{cover}}}{{!}}282px]]
+
<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>
 +
|{{#if:{{NAMESPACE}}||[[Category:Pages needing cover images]]}}}}</includeonly>
 +
 
 +
<!-- Related controllers -->
 +
{{#if: {{{related|}}} |
 +
<tr>
 +
<th class="template-infobox-header" colspan="2">Related controllers</th>
 +
</tr>
 +
{{{related}}}
 
}}
 
}}
|-
+
 
{{Infobox/row|Developer(s)|{{{developer|}}}}}
+
<!-- Predecessor -->
{{Infobox/row|Publisher(s)|{{{publisher|}}}}}
+
{{#if: {{{predecessor|}}} |
{{Infobox/row|First release date|{{{release dates|}}}}}
+
<tr>
|}
+
<th class="template-infobox-header" colspan="2">Predecessor</th>
 +
</tr>
 +
<tr>
 +
<td class="template-infobox-info" colspan="2" style="text-align: right;">{{{predecessor|}}}</td>
 +
</tr>
 +
}}
 +
 
 +
<!-- Successor -->
 +
{{#if: {{{successor|}}} |
 +
<tr>
 +
<th class="template-infobox-header" colspan="2">Successor</th>
 +
</tr>
 +
<tr>
 +
<td class="template-infobox-info" colspan="2" style="text-align: right;">{{{successor|}}}</td>
 +
</tr>
 +
}}
 +
 
 +
<!-- Icons -->
 +
{{#if: {{{wikipedia|}}} |
 +
<tr>
 +
<td class="template-infobox-icons" colspan="2"><!--
 +
-->{{#if: {{{wikipedia|}}} | <div title="{{PAGENAME}} on Wikipedia" class="template-infobox-icon svg-icon infobox-wikipedia">[[File:Icon overlay.png|link=Wikipedia:{{{wikipedia}}}|{{PAGENAME}} on Wikipedia]]</div> }}<!--
 +
--></td>
 +
</tr>
 +
}}</table><noinclude>{{Documentation}}</noinclude>

Latest revision as of 19:29, 4 October 2022

Infobox console
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    = 
}}