Template:Icon

From Emulation General Wiki
(Redirected from Template:Icon2)
Jump to navigation Jump to search
                                           
Icon

A template for shorthand platform listing. To reduce the amount of effort needed to add new images (and thus, platforms), the actual values are passed to Icon/File that selects the icons. To add new images, edit the sub-templates, not this one. To scale up the number of platforms that can be listed, edit this article; currently up to 45 platforms can be listed though more can be added with relative ease.


Example

[edit source]

Basic usage

[edit source]
{{Icon|Windows|UNIX|W7|Linux|macOS|Android|iOS|iPadOS|OpenBSD|NetBSD|AmigaOS|WinARM|rpi|tvOS|Xbox360|PSP|RetroFW|Pandora|WinMobile|ZXSpectrum|AROS}}

Result: Windows UNIX Windows 7 Linux macOS Android iOS iPadOS OpenBSD NetBSD AmigaOS Windows on ARM Linux ARM AppleTV Xbox 360 PlayStation Portable RetroFW Pandora Windows Mobile ZX Spectrum

In a table

[edit source]
{| class="wikitable" style="text-align:center;"
!Name
!Platform(s)
!Recommended
|-
|Example
|align=left|{{Icon|Win|Mac|APK|LinuxARM}}
|{{✓}}
|}

Result:

Name Platform(s) Recommended
Example Windows macOS Android Linux ARM

Parameters

[edit source]

The list of platforms is documented here and here

1
The first value. Required because a platform needs to be specified for this template to be useful.
2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45
The rest of the values. Optional because only one platform is required.