Template:Infobox computing device/doc: Difference between revisions

From Emulation General Wiki
Jump to navigation Jump to search
Gorilli09 (talk | contribs)
No edit summary
Gorilli09 (talk | contribs)
No edit summary
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<br style="clear:both;"/>
<center><big>'''Infobox console'''</big></center>
An infobox for console pages. Based on the improved [[Template:Infobox emulator|Infobox emulator template]], using a design closely modelled from Wikipedia with our own tweaks. Most parameters are optional but are explained below.
__NOTOC__
__NOTOC__
==Parameters==
== Description ==
An infobox for console pages; based on the improved &#x007B;{[[Template:Infobox emulator|Infobox emulator template]]}&#x007D;, using a design closely modelled from Wikipedia, but with our own tweaks. Most parameters are optional, and are explained below.
 
== Usage ==
=== Parameters ===
The order of this list of parameters is meant to match the order they are displayed in the box. You can technically place each parameter in any order you want (as opposed to <code>first</code>, <code>second</code>, <code>third</code>, etc.) in the markup, but it can get confusing as the template is designed to have the values show up only one way.
The order of this list of parameters is meant to match the order they are displayed in the box. You can technically place each parameter in any order you want (as opposed to <code>first</code>, <code>second</code>, <code>third</code>, etc.) in the markup, but it can get confusing as the template is designed to have the values show up only one way.
;<code>title</code>
; <code>title</code> : The name of the console. If no value is given, it will default to the name of the page instead, so it's highly recommended to set the parameter yourself.
:The name of the console. If no value is given, it will default to the name of the page instead, so it's highly recommended to set the parameter yourself.
; <code>logo</code> : Should be used for the logo of the console (if it exists). (optional)
;<code>logo</code>
; <code>logo_size</code> : Set the width of the logo; might be useful for logos that either exceed the size of the infobox, or have a more vertical (and thus uncomfortable) aspect ratio. (optional)
:Should be used for the logo of the console (if it exists). Optional.
; <code>image</code>, <code>image2</code>, <code>image3</code>, <code>image4</code>, <code>image5</code>, <code>image6</code>, <code>image7</code>, <code>image8</code>, <code>image9</code>, and <code>image10</code> : Show console images; the extra numbered parameters exist for cases where there is more than one image, possibly to represent different forms (like [[Nintendo Switch emulators]]) or different models (like [[PC Engine (TurboGrafx-16) emulators]]). The extras can also be used without the presence of the first <code>image</code> parameter, but this isn't recommended. (optional, but recommended)
;<code>logowidth</code>
; <code>image_size</code>, <code>image_size2</code>, <code>image_size3</code>, <code>image_size4</code>, <code>image_size5</code>, <code>image_size6</code>, <code>image_size7</code>, <code>image_size8</code>, <code>image_size9</code>, and <code>image_size10</code> : Sets the width of the images. (optional)
:Set the width of the logo. Might be useful for logos that either exceed the size of the infobox, or have a more vertical (and thus uncomfortable) aspect ratio. Also optional.
; <code>caption</code> : Show a caption below the image(s); describe both images if you use both parameters. (optional)
;<code>image</code>, <code>image2</code>, <code>image3</code>, <code>image4</code>, <code>image5</code>, <code>image6</code>, <code>image7</code>, <code>image8</code>, <code>image9</code>, and <code>image10</code>
; <code>developer</code> : Who's making the console? If the console was discontinued, then who ''made'' the console? (optional, but recommended)
:Used to put console images in. The extra numbered parameters exist for cases where there are more than one image, possibly to represent different forms (like [[Nintendo Switch emulators]]) or different models (like [[PC Engine (TurboGrafx-16) emulators]]). The extras can also be used without the presence of the first <code>image</code> parameter, but this isn't recommended. Optional but recommended.
; <code>manufacturer</code> : Who's manufacturing the console? If the console was discontinued, then who ''manufactured'' the console? (optional, but recommended)
;<code>imagewidth</code>, <code>imagewidth2</code>, <code>imagewidth3</code>, <code>imagewidth4</code>, <code>imagewidth5</code>, <code>imagewidth6</code>, <code>imagewidth7</code>, <code>imagewidth8</code>, <code>imagewidth9</code>, and <code>imagewidth10</code>
; <code>type</code> : What type of console is it? "Home video game console" or "Handheld game console" are the two biggest examples, though you may find <code>"Handheld" game console</code> on pages like [[Virtual Boy emulators]]. (optional, but recommended)
:Used to set the width of the images. Optional.
; <code>generation</code> : What generation was this console released in? Wikipedia has a comprehensive list, but you can also see [[:Category:Consoles|our category for consoles]]. (optional, but recommended)
;<code>imagecaption</code> or <code>caption</code>
; <code>release_date</code> : The release date or year of the console. (optional, but recommended)
:Used to put a caption in. Describe both images if you use both parameters. Optional.
; <code>discontinued</code> : When was the console discontinued? (optional)
;<code>developer</code>
; <code>predecessor</code> : What console came before this one? (optional)
:Who's making the console? If the console was discontinued, then who ''made'' the console? Optional but recommended.
; <code>successor</code> : What console came after this one? (optional)
;<code>type</code>  
; <code>emulated</code> : Is this console unofficially emulated? (required)<br><span style="background: #DFD; color:black; vertical-align: middle; text-align: center">✓</span>  = <code>yes</code><br><span style="background: PapayaWhip; color: black; vertical-align: middle; text-align: center">~</span> = <code>partial</code><br><span style="background: #FFE3E3; color:black; vertical-align: middle; text-align: center></span> = <code>no</code>
:What type of console is it? "Home video game console" or "Handheld game console" are the two biggest examples though you may find <code>"Handheld" game console</code> on pages like [[Virtual Boy emulators]]. Optional but recommended.
<includeonly>
;<code>generation</code>
[[Category:Infobox templates]]</includeonly><noinclude>
:What generation was this console released in? Wikipedia has a comprehensive list, but you can also see [[:Category:Consoles|our category for consoles]]. Optional but recommended.
[[Category:Template documentation|{{BASEPAGENAME}}]]</noinclude>
;<code>release</code>, <code>release date</code>, or <code>released</code>
:The release year of the console. Optional but recommended.
;<code>discontinued</code>
:When was the console discontinued? Optional.
;<code>predecessor</code>
:What console came before this one? Optional.
;<code>successor</code>
:What console came after this one? Optional.
;<code>emulated</code>
:Is this console unofficially emulated? Required.
;<code>website</code>
:The website of the console, optional.
;<code>blank</code>
:A spacer to put between parameters  Optional. <br> start by adding "blank = " and then use the code " < span style= "color: #ECECEC"  >blank < /span > " (remember to remove the spaces in the code or it wont work)
 
</center>

Latest revision as of 12:43, 15 September 2026

Description

[edit source]

An infobox for console pages; based on the improved {{Infobox emulator template}}, using a design closely modelled from Wikipedia, but with our own tweaks. Most parameters are optional, and are explained below.

Parameters

[edit source]

The order of this list of parameters is meant to match the order they are displayed in the box. You can technically place each parameter in any order you want (as opposed to first, second, third, etc.) in the markup, but it can get confusing as the template is designed to have the values show up only one way.

title
The name of the console. If no value is given, it will default to the name of the page instead, so it's highly recommended to set the parameter yourself.
logo
Should be used for the logo of the console (if it exists). (optional)
logo_size
Set the width of the logo; might be useful for logos that either exceed the size of the infobox, or have a more vertical (and thus uncomfortable) aspect ratio. (optional)
image, image2, image3, image4, image5, image6, image7, image8, image9, and image10
Show console images; the extra numbered parameters exist for cases where there is more than one image, possibly to represent different forms (like Nintendo Switch emulators) or different models (like PC Engine (TurboGrafx-16) emulators). The extras can also be used without the presence of the first image parameter, but this isn't recommended. (optional, but recommended)
image_size, image_size2, image_size3, image_size4, image_size5, image_size6, image_size7, image_size8, image_size9, and image_size10
Sets the width of the images. (optional)
caption
Show a caption below the image(s); describe both images if you use both parameters. (optional)
developer
Who's making the console? If the console was discontinued, then who made the console? (optional, but recommended)
manufacturer
Who's manufacturing the console? If the console was discontinued, then who manufactured the console? (optional, but recommended)
type
What type of console is it? "Home video game console" or "Handheld game console" are the two biggest examples, though you may find "Handheld" game console on pages like Virtual Boy emulators. (optional, but recommended)
generation
What generation was this console released in? Wikipedia has a comprehensive list, but you can also see our category for consoles. (optional, but recommended)
release_date
The release date or year of the console. (optional, but recommended)
discontinued
When was the console discontinued? (optional)
predecessor
What console came before this one? (optional)
successor
What console came after this one? (optional)
emulated
Is this console unofficially emulated? (required)
= yes
~ = partial
= no