Difference between revisions of "Template:Infobox platform"
Jump to navigation
Jump to search
Infobox platform
(Created page with "<onlyinclude>{| style="float:{{{align|right}}}; width:{{{width|300px}}}; font-size:{{{font-size|96.25%}}}; text-align:left; border:1px solid #a2a9b1; background-color:#f8f9fa;...") |
(Added a parameter) |
||
(One intermediate revision by the same user not shown) | |||
Line 19: | Line 19: | ||
! Release date | ! Release date | ||
{{!}} {{{release}}} | {{!}} {{{release}}} | ||
+ | {{!}}- | ||
+ | | }} | ||
+ | {{#if: {{{discontinued|}}} | | ||
+ | ! Discontinued | ||
+ | {{!}} {{{discontinued}}} | ||
+ | {{!}}- | ||
+ | | }} | ||
+ | {{#if: {{{first-release|}}} | | ||
+ | ! Earliest release | ||
+ | {{!}} {{{first-release}}} | ||
{{!}}- | {{!}}- | ||
| }} | | }} | ||
Line 24: | Line 34: | ||
! Latest release | ! Latest release | ||
{{!}} {{{last-release}}} | {{!}} {{{last-release}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
{{!}}- | {{!}}- | ||
| }} | | }} | ||
Line 50: | Line 55: | ||
: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. | :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. | ||
;<code>logo</code> | ;<code>logo</code> | ||
− | : | + | :Should be used for the logo of the platform (if it exists). Optional. |
;<code>logowidth</code> | ;<code>logowidth</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. Also optional. |
;<code>developer</code> | ;<code>developer</code> | ||
− | : | + | :Who's making the platform? If the platform was discontinued, then who ''made'' the platform? Optional but recommended. |
;<code>type</code> | ;<code>type</code> | ||
− | :What type of platform is it? | + | :What type of platform is it? Leave it unanswered and it will say "''Unidentified''". Required. |
;<code>release</code> | ;<code>release</code> | ||
:The initial release year of the platform. Optional but recommended. | :The initial release year of the platform. Optional but recommended. | ||
− | |||
− | |||
;<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> | ||
+ | :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
Type | Unidentified |
---|
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.