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
(removed properties (doesn't actually work))
m ({{#if:{{NAMESPACE}}||Category:Pages needing cover images}})
 
(One intermediate revision by one other 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]]{{#set:|Cover={{filepath:{{{cover}}}}}|Cover filename=File:{{{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>
  
 
<!-- Related controllers -->
 
<!-- Related controllers -->

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