Template:Icon

From Emulation General Wiki
Revision as of 23:54, 27 December 2019 by FosterHaven (talk | contribs) (Created page with "<onlyinclude>{{#if:{{{tl|}}}|align=left{{!}}|}}{{Icon/File|{{{1}}}}} {{#if: {{{2|}}} | {{Icon/File|{{{2}}} }} | }} {{#if: {{{3|}}} | {{Icon/File|{{{3}}} }} | }} {{#if: {{{4|}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 a subtemplate that selects the icons. To add new images, edit the subtemplate, not this one. To scale up the number of platforms that can be listed, edit this article; currently up to six platforms can be listed though more can be added with relative ease.

Example

{{Icon|Windows|Linux|macOS|Android|iOS}}

Result: Windows Linux macOS Android iOS

Parameters

The list of platforms is documented at the subtemplate's page.

1
The first value. Required because a platform needs to be specified for this template to be useful.
2, 3, 4, 5, 6
The rest of the values. Optional because only one platform is required.
tl
Formats a table to align the images left for aesthetic reasons.