Changes

Jump to navigation Jump to search

Template:Infobox platform

2,908 bytes added, 00:42, 2 October 2021
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;..."
<onlyinclude>{| style="float:{{{align|right}}}; width:{{{width|300px}}}; font-size:{{{font-size|96.25%}}}; text-align:left; border:1px solid #a2a9b1; background-color:#f8f9fa; margin:0.5em 0 0.5em 1em; padding:0.2em;" cellspacing="0" cellpadding="3"
|+ style="font-size:125%; font-weight:bold; padding:0.2em;" |{{{title|{{PAGENAME}}}}}
|-
{{#if: {{{logo|}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{logo}}}|{{{logowidth|210}}}px]]
{{!}}-
| }}
{{#if: {{{developer|}}} |
! Developer
{{!}} {{{developer}}}
{{!}}-
| }}
|-
! Type
| {{{type|''Unidentified''}}}
|-
|-
{{#if: {{{release|}}} |
! Release date
{{!}} {{{release}}}
{{!}}-
| }}
{{#if: {{{last-release|}}} |
! Latest release
{{!}} {{{last-release}}}
{{!}}-
| }}
{{#if: {{{discontinued|}}} |
! Discontinued
{{!}} {{{discontinued}}}
{{!}}-
| }}
{{#if: {{{predecessor|}}} |
! Predecessor
{{!}} {{{predecessor}}}
{{!}}-
| }}
{{#if: {{{successor|}}} |
! Successor
{{!}} {{{successor}}}
{{!}}-
| }}
|}</onlyinclude><noinclude><br style="clear:both;"/>
<center><big>'''Infobox platform'''</big></center>
An infobox for emulators on platform pages to support more types. Based on the [[Template:Infobox console|Infobox console 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 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>
:Optional. Should be used for the logo of the platform (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>developer</code>
:Optional but recommended. Who's making the platform? If the platform was discontinued, then who ''made'' the platform?
;<code>type</code>
:What type of platform is it? Required. Leave it unanswered and it will say "''Unidentified''".
;<code>release</code>
:The initial release year of the platform. Optional but recommended.
;<code>last-release</code>
:The latest major release in the line. Optional but recommended.
;<code>discontinued</code>
:When was the platform discontinued? Optional.
;<code>predecessor</code>
:What platform came before this one? Optional.
;<code>successor</code>
:What platform came after this one? Optional.
[[Category:General wiki templates]]
[[Category:Infobox templates]]
</noinclude>
2,527
edits

Navigation menu