Template:Icon
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[edit]
Basic usage[edit]
{{Icon|Windows|Linux|macOS|Android|iOS}}
Result:
In a table[edit]
{| class="wikitable" style="text-align:center;" !Name !Platform(s) !Recommended |- |Example |align=left|{{Icon|Win|Mac|APK}} |{{✓}} |}
Result:
Name | Platform(s) | Recommended |
---|---|---|
Example | ![]() ![]() ![]() |
✓ |
Parameters[edit]
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.