Difference between revisions of "Template:Infobox platform"

From Emulation General Wiki
Jump to navigation Jump to search
(ordering)
(Added a parameter)
Line 24: Line 24:
 
! Discontinued
 
! Discontinued
 
{{!}} {{{discontinued}}}
 
{{!}} {{{discontinued}}}
 +
{{!}}-
 +
| }}
 +
{{#if: {{{first-release|}}} |
 +
! Earliest release
 +
{{!}} {{{first-release}}}
 
{{!}}-
 
{{!}}-
 
| }}
 
| }}
Line 61: Line 66:
 
;<code>discontinued</code>
 
;<code>discontinued</code>
 
:When was the platform discontinued? Optional.
 
:When was the platform discontinued? Optional.
 +
;<code>first-release</code>
 +
:The earliest major release in the line. Optional.
 
;<code>last-release</code>  
 
;<code>last-release</code>  
:The latest major release in the line. Optional but recommended.
+
:The latest major release in the line. Optional.
 
;<code>predecessor</code>
 
;<code>predecessor</code>
 
:What platform came before this one? Optional.
 
:What platform came before this one? Optional.

Revision as of 18:14, 21 October 2021

Infobox platform
Type Unidentified


Infobox platform

An infobox for emulators on platform pages to support more types. Based on the Infobox console 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 platform. 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 platform (if it exists). Optional.
logowidth
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.
developer
Who's making the platform? If the platform was discontinued, then who made the platform? Optional but recommended.
type
What type of platform is it? Leave it unanswered and it will say "Unidentified". Required.
release
The initial release year of the platform. Optional but recommended.
discontinued
When was the platform discontinued? Optional.
first-release
The earliest major release in the line. Optional.
last-release
The latest major release in the line. Optional.
predecessor
What platform came before this one? Optional.
successor
What platform came after this one? Optional.