Template:Infobox platform: Difference between revisions

From Emulation General Wiki
Jump to navigation Jump to search
mNo edit summary
Gorilli09 (talk | contribs)
No edit summary
 
Line 85: Line 85:
{{#if: {{{emulated|}}} |
{{#if: {{{emulated|}}} |
! Emulated
! Emulated
{{!}} {{#if:{{{emulated}}}|{{#switch:{{lcfirst:{{{emulated}}}}}|{{✓}}|{{Y}}|true={{Ya}}[[Category:Emulated]]|{{~}}|partial={{~}}[[Category:Partially emulated]]|{{✗}}|{{X}}|{{N}}|false={{Na}}[[Category:Not yet emulated]]|{{Dunno}}|unknown={{Dunno}}|#default=<span style="color:red">Unknown parameter</span>[[Category:Templates with unknown parameters]]}}{{#if:{{{emulated notes|}}}|<abbr title="{{{emulated notes}}}">{{#if:{{{emulated notes link|}}}|[[{{{emulated notes link}}}|*]]}}</abbr>|}}|}}
{{!}} {{#if:{{{emulated}}}|{{#switch:{{lcfirst:{{{emulated}}}}}|{{✓}}|{{Y}}|yes|true={{Ya}}[[Category:Emulated]]|{{~}}|partial={{~}}[[Category:Partially emulated]]|{{✗}}|{{X}}|{{N}}|no|false={{Na}}[[Category:Not yet emulated]]|{{Dunno}}|unknown={{Dunno}}|#default=<span style="color:red">Unknown parameter</span>[[Category:Templates with unknown parameters]]}}{{#if:{{{emulated notes|}}}|<abbr title="{{{emulated notes}}}">{{#if:{{{emulated notes link|}}}|[[{{{emulated notes link}}}|*]]}}</abbr>|}}|}}
{{!}}-
{{!}}-
| }}
| }}
|}</onlyinclude><noinclude>{{Documentation}}<noinclude>[[Category:Infobox templates]]</noinclude>
|}</onlyinclude><noinclude>{{Documentation}}<noinclude>[[Category:Infobox templates]]</noinclude>
</noinclude>
</noinclude>

Latest revision as of 22:09, 20 August 2026

Infobox platform
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Infobox_platform/doc to edit this documentation. (How does this work?)


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

[edit source]

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.
discontinued
Is the platform discontinued? Optional.
released
The first major release in the line. Optional but recommended.
latest release date
The latest major release in the line. Optional.
predecessor
What platform came before this one? Optional.
successor
What platform came after this one? Optional.
emulated
Is this platform emulated? Optional but recommended.