Changes

Jump to navigation Jump to search

Template:Infobox console

2,808 bytes added, 03:54, 20 August 2018
added documentation and new image parameters
{{!}}-
| }}
<{{#if: {{{image|}}} |{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image}}}|{{{imagewidth|210}}}px]]{{!}}- {{#if: {{{image2|}}} |{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image2}}}|{{{imagewidth2|210}}}px]]{{!}}- won't be used until screenshot images are implemented | }}| }}{{#if: {{{imagecaption|}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} {{{imagecaption}}}
{{!}}- style="border-top:1px dashed #ccc;"
| }} -->
{{#if: {{{developer|}}} |
! Developer
| style="width:50%; padding:0" |
| style="width:50%; padding:0" |
|}</onlyinclude><noinclude><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__==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.;<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.;<code>logo</code>:Optional. Should be used for the logo of the console (if it exists).;<code>logowidth</code>: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.;<code>image</code> and <code>image2</code>:Optional but recommended. Used to put console images in. There are two images because many articles use two images, either for different forms (like [[Nintendo Switch emulators]]) or different models (like [[PC Engine (TurboGrafx-16) emulators]]).;<code>imagewidth</code> and <code>imagewidth2</code>:Used to set the width of the images. Optional.;<code>imagecaption</code>:Optional. Used to put a caption in. Describe both images if you use both parameters.;<code>developer</code>:Optional but recommended. Who's making the console? If the console was discontinued, then who ''made'' the console?;<code>type</code> :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 <code>"Handheld" game console</code> on pages like [[Virtual Boy emulators]].;<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>release</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 emulated? Required.
[[Category:General wiki templates]]
[[Category:Infobox templates]]
</noinclude>
927
edits

Navigation menu