Difference between revisions of "Template:Infobox console"

From Emulation General Wiki
Jump to navigation Jump to search
(Parameters: added the 6)
(fixed some code and made it 10)
Line 19: Line 19:
 
| }}
 
| }}
 
{{#if: {{{image4|}}} |
 
{{#if: {{{image4|}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image3}}}|{{{imagewidth2|210}}}px]]
+
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image4}}}|{{{imagewidth2|210}}}px]]
 
{{!}}-
 
{{!}}-
 
| }}
 
| }}
 
{{#if: {{{image5|}}} |
 
{{#if: {{{image5|}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image3}}}|{{{imagewidth2|210}}}px]]
+
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image5}}}|{{{imagewidth2|210}}}px]]
 
{{!}}-
 
{{!}}-
 
| }}
 
| }}
 
{{#if: {{{image6|}}} |
 
{{#if: {{{image6|}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image3}}}|{{{imagewidth2|210}}}px]]
+
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image6}}}|{{{imagewidth2|210}}}px]]
 
{{!}}-
 
{{!}}-
 
| }}
 
| }}
 
{{#if: {{{image7|}}} |
 
{{#if: {{{image7|}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image3}}}|{{{imagewidth2|210}}}px]]
+
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image7}}}|{{{imagewidth2|210}}}px]]
 +
{{!}}-
 +
| }}
 +
{{#if: {{{image8|}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image8}}}|{{{imagewidth2|210}}}px]]
 +
{{!}}-
 +
| }}
 +
{{#if: {{{image9|}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image9}}}|{{{imagewidth2|210}}}px]]
 +
{{!}}-
 +
| }}
 +
{{#if: {{{image10|}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image10}}}|{{{imagewidth2|210}}}px]]
 
{{!}}-
 
{{!}}-
 
| }}
 
| }}

Revision as of 00:34, 15 December 2018

Infobox console
Emulated {{{emulated}}}


Infobox console

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

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 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
Optional. Should be used for the logo of the console (if it exists).
logowidth
Also 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.
image, image2, image3, image4, image5, image6, and image7
Optional but recommended. Used to put console images in. image2 exists for cases where there are two images, which may represent different forms (like Nintendo Switch emulators) or different models (like PC Engine (TurboGrafx-16) emulators). image2 can also be used without the presence of image, but this isn't recommended.
imagewidth and imagewidth2
Used to set the width of the images. Optional.
imagecaption
Optional. Used to put a caption in. Describe both images if you use both parameters.
developer
Optional but recommended. Who's making the console? If the console was discontinued, then who made the console?
type
Optional but recommended. 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.
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
The release 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 emulated? Required.