Difference between revisions of "Template:Icon/File"

From Emulation General Wiki
Jump to navigation Jump to search
(Add names to icons when hovering over them.)
Line 1: Line 1:
 
<onlyinclude>{{#switch:{{{1|}}} <!--
 
<onlyinclude>{{#switch:{{{1|}}} <!--
|Full Name | Short =[[File:example.png{{!}}x##px]]         |Big variant  | Short  =[[File:example.png{{!}}x##px]] -->
+
|Full Name | Short =<abbr title="Example">[[File:example.png{{!}}x##px]]</abbr>            |Big variant  | Short  =<abbr title="Example">[[File:example.png{{!}}x##px]] -->
|Windows  | Win  =[[File:Icon Windows 10.png{{!}}x24px]] |Windows-big  | Win-big =[[File:Icon Windows 10.png{{!}}x32px]]
+
|Windows  | Win  =<abbr title="Windows">[[File:Icon Windows 10.png{{!}}x24px]]</abbr>    |Windows-big  | Win-big =<abbr title="Windows">[[File:Icon Windows 10.png{{!}}x32px]]</abbr>
|Windows9x | W9x  =[[File:Icon Windows 9x.png{{!}}x24px]] |Windows9x-big | W9x-big =[[File:Icon Windows 9x.png{{!}}x32px]]<!--
+
|Windows9x | W9x  =<abbr title="Windows 9x">[[File:Icon Windows 9x.png{{!}}x24px]]</abbr> |Windows9x-big | W9x-big =<abbr title="Windows 9x">[[File:Icon Windows 9x.png{{!}}x32px]]</abbr><!--
|Windows7  | W7    =[[File:Icon Windows 9x.png{{!}}x24px]] |Windows7-big  | W7-big  =[[File:Icon Windows 9x.png{{!}}x32px]]-->
+
|Windows7  | W7    =<abbr title="Windows 7">[[File:Icon Windows 9x.png{{!}}x24px]]</abbr>  |Windows7-big  | W7-big  =<abbr title="Windows 7">[[File:Icon Windows 9x.png{{!}}x32px]]</abbr>-->
|Linux    | Lin  =[[File:Icon Linux Head.png{{!}}x24px]] |Linux-big    | Lin-big =[[File:Icon Linux Head.png{{!}}x32px]]<!--
+
|Linux    | Lin  =<abbr title="Linux">[[File:Icon Linux Head.png{{!}}x24px]]</abbr>      |Linux-big    | Lin-big =<abbr title="Linux">[[File:Icon Linux Head.png{{!}}x32px]]</abbr><!--
|LinuxARM  | LiA  =[[File:Icon Linux ARM.png{{!}}x24px]] |LinuxARM-big  | LiA-big =[[File:Icon Linux ARM.png{{!}}x32px]]-->
+
|LinuxARM  | LiA  =<abbr title="Linux ARM">[[File:Icon Linux ARM.png{{!}}x24px]]</abbr>  |LinuxARM-big  | LiA-big =<abbr title="Linux ARM">[[File:Icon Linux ARM.png{{!}}x32px]]</abbr>-->
|macOS    | Mac  =[[File:1998 apple logo.png{{!}}x24px]] |macOS-big    | Mac-big =[[File:1998 apple logo.png{{!}}x32px]]
+
|macOS    | Mac  =<abbr title="macOS">[[File:1998 apple logo.png{{!}}x24px]]</abbr>      |macOS-big    | Mac-big =<abbr title="macOS">[[File:1998 apple logo.png{{!}}x32px]]</abbr>
|FreeBSD  | BSD  =[[File:Icon FreeBSD.png{{!}}x24px]]   |FreeBSD-big  | BSD-big =[[File:Icon FreeBSD.png{{!}}x32px]]
+
|FreeBSD  | BSD  =<abbr title="FreeBSD">[[File:Icon FreeBSD.png{{!}}x24px]]</abbr>      |FreeBSD-big  | BSD-big =<abbr title="FreeBSD">[[File:Icon FreeBSD.png{{!}}x32px]]</abbr>
|Solaris  | Sol  =[[File:Icon Solaris.png{{!}}x24px]]   |Solaris-big  | Sol-big =[[File:Icon Solaris.png{{!}}x32px]]
+
|Solaris  | Sol  =<abbr title="Solaris">[[File:Icon Solaris.png{{!}}x24px]]</abbr>      |Solaris-big  | Sol-big =<abbr title="Solaris">[[File:Icon Solaris.png{{!}}x32px]]</abbr>
|Android  | APK  =[[File:Icon Android.png{{!}}x24px]]   |Android-big  | APK-big =[[File:Icon Android.png{{!}}x32px]]
+
|Android  | APK  =<abbr title="Android">[[File:Icon Android.png{{!}}x24px]]</abbr>      |Android-big  | APK-big =<abbr title="Android">[[File:Icon Android.png{{!}}x32px]]</abbr>
|iOS              =[[File:Icon iOS.png{{!}}x16px]]       |iOS-big                =[[File:Icon iOS.png{{!}}x32px]]
+
|iOS              =<abbr title="iOS">[[File:Icon iOS.png{{!}}x16px]]</abbr>              |iOS-big                =<abbr title="iOS">[[File:Icon iOS.png{{!}}x32px]]</abbr>
|Pandora  | Pan  =[[File:Icon Pandora.png{{!}}x24px]]   |Pandora-big  | Pan-big =[[File:Icon Pandora.png{{!}}x32px]]
+
|Pandora  | Pan  =<abbr title="Pandora">[[File:Icon Pandora.png{{!}}x24px]]</abbr        |Pandora-big  | Pan-big =<abbr title="Pandora">[[File:Icon Pandora.png{{!}}x32px]]</abbr>
|Switch    | NX    =[[File:Icon Switch.png{{!}}x24px]]     |Switch-big    | NX-big  =[[File:Icon Pandora.png{{!}}x32px]]
+
|Switch    | NX    =<abbr title="Switch">[[File:Icon Switch.png{{!}}x24px]]</abbr>        |Switch-big    | NX-big  =<abbr title="Switch">[[File:Icon Pandora.png{{!}}x32px]]</abbr>
|GameCube|NGC|GCN  =[[File:Icon GameCube.png{{!}}x24px]]|GameCube-big|NGC-big|GCN-big=[[File:Icon GameCube.png{{!}}x32px]]
+
|GameCube|NGC|GCN  =<abbr title="GameCube">[[File:Icon GameCube.png{{!}}x24px]]</abbr>    |GameCube-big|NGC-big|GCN-big=<abbr title="GameCube">[[File:Icon GameCube.png{{!}}x32px]]</abbr>
|Wii              =[[File:Icon Wii.png{{!}}x24px]]       |Wii-big                =[[File:Icon Wii.png{{!}}x32px]]
+
|Wii              =<abbr title="Wii">[[File:Icon Wii.png{{!}}x24px]]</abbr>              |Wii-big                =<abbr title="Wii">[[File:Icon Wii.png{{!}}x32px]]</abbr>
|WiiU              =[[File:Icon Wii U.png{{!}}x24px]]     |WiiU-big                =[[File:Icon Wii U.png{{!}}x32px]]
+
|WiiU              =<abbr title="Wii U">[[File:Icon Wii U.png{{!}}x24px]]</abbr>          |WiiU-big                =<abbr title="Wii U">[[File:Icon Wii U.png{{!}}x32px]]</abbr>
|3DS              =[[File:Icon 3DS.png{{!}}x24px]]       |3DS-big                =[[File:Icon 3DS.png{{!}}x32px]]
+
|3DS              =<abbr title="3DS">[[File:Icon 3DS.png{{!}}x24px]]</abbr>              |3DS-big                =<abbr title="3DS">[[File:Icon 3DS.png{{!}}x32px]]</abbr>
|MS-DOS    | DOS  =[[File:Icon DOS.png{{!}}x24px]]       |MS-DOS-big    | DOS-big =[[File:Icon DOS.png{{!}}x32px]]<!--
+
|MS-DOS    | DOS  =<abbr title="MS-DOS">[[File:Icon DOS.png{{!}}x24px]]</abbr>            |MS-DOS-big    | DOS-big =<abbr title="MS-DOS">[[File:Icon DOS.png{{!}}x32px]]<!--
|PSOne    | PSX  =[[File:Icon PSX.png{{!}}x24px]]       |PSOne-big    | PSX-big =[[File:Icon PSX.png{{!}}x32px]]
+
|PSOne    | PSX  =<abbr title="PlayStation">[[File:Icon PSX.png{{!}}x24px]]</abbr>      |PSOne-big    | PSX-big =<abbr title="PlayStation">[[File:Icon PSX.png{{!}}x32px]]</abbr>
|PS2              =[[File:Icon PS2.png{{!}}x24px]]       |PS2-big                =[[File:Icon PS2.png{{!}}x32px]]-->
+
|PS2              =<abbr title="PlayStation 2">[[File:Icon PS2.png{{!}}x24px]]</abbr>    |PS2-big                =<abbr title="PlayStation 2">[[File:Icon PS2.png{{!}}x32px]]</abbr>-->
|PS3              =[[File:Icon PS3.png{{!}}x24px]]       |PS3-big                =[[File:Icon PS3.png{{!}}x32px]]
+
|PS3              =<abbr title="PlayStation 3">[[File:Icon PS3.png{{!}}x24px]]</abbr>    |PS3-big                =<abbr title="PlayStation 3">[[File:Icon PS3.png{{!}}x32px]]</abbr>
|PSP              =[[File:Icon PSP.png{{!}}x24px]]       |PSP-big                =[[File:Icon PSP.png{{!}}x32px]]
+
|PSP              =<abbr title="PSP">[[File:Icon PSP.png{{!}}x24px]]</abbr>              |PSP-big                =<abbr title="PSP">[[File:Icon PSP.png{{!}}x32px]]</abbr>
|PSVita    | PSV  =[[File:Icon PSVita.png{{!}}x24px]]     |PSVita-big    | PSV-big =[[File:Icon PS3.png{{!}}x32px]]
+
|PSVita    | PSV  =<abbr title="Vita">[[File:Icon PSVita.png{{!}}x24px]]</abbr>          |PSVita-big    | PSV-big =<abbr title="Vita">[[File:Icon PS3.png{{!}}x32px]]</abbr>
|Xbox              =[[File:Icon Xbox.png{{!}}x24px]]       |Xbox-big                =[[File:Icon Xbox.png{{!}}x32px]]
+
|Xbox              =<abbr title="Xbox">[[File:Icon Xbox.png{{!}}x24px]]</abbr>            |Xbox-big                =<abbr title="Xbox">[[File:Icon Xbox.png{{!}}x32px]]</abbr>
|Xbox360  | 360  =[[File:Icon Xbox 360.png{{!}}x24px]]   |Xbox360-big  | 360-big =[[File:Icon Xbox 360.png{{!}}x32px]]
+
|Xbox360  | 360  =<abbr title="Xbox 360">[[File:Icon Xbox 360.png{{!}}x24px]]</abbr>    |Xbox360-big  | 360-big =<abbr title="Xbox 360">[[File:Icon Xbox 360.png{{!}}x32px]]</abbr>
|XboxOne  | XB1  =[[File:Icon Xbox One.png{{!}}x24px]]   |XboxOne-big  | XB1-big =[[File:Icon Xbox One.png{{!}}x32px]]<!--
+
|XboxOne  | XB1  =<abbr title="Xbox One">[[File:Icon Xbox One.png{{!}}x24px]]</abbr>    |XboxOne-big  | XB1-big =<abbr title="Xbox One">[[File:Icon Xbox One.png{{!}}x32px]]</abbr><!--
|Web              =[[File:Icon Chromium.png{{!}}x24px]]   |Web-big                =[[File:Icon Chromium.png{{!}}x32px]]-->
+
|Web              =<abbr title="Web">[[File:Icon Chromium.png{{!}}x24px]]</abbr>          |Web-big                =<abbr title="Web">[[File:Icon Chromium.png{{!}}x32px]]</abbr>-->
 
| }}</onlyinclude><noinclude><br/>
 
| }}</onlyinclude><noinclude><br/>
 
<center><big>'''File'''</big></center>
 
<center><big>'''File'''</big></center>

Revision as of 00:01, 29 December 2019


File

A subtemplate of Icon that does the work of picking an image. Unlike Icon, File only takes one parameter. This is done to facilitate the work of adding platforms via images.

Example

{{Icon/File|Win-big}}

Result: Icon Windows 10.png

Parameters

All images come with -big variants. For example, Windows-big will load a slightly larger version of Windows.

Windows, Win
List modern Windows as a platform using the Windows 10 logo.
Windows9x, W9x
List classic Windows as a platform using the Windows 9x logo. Use when modern, 64-bit versions of Windows cannot run the software natively.
Linux, Lin
List Linux as a platform using Tux's head.
macOS, Mac
List macOS as a platform using the Apple logo.
Android, APK
List Android as a platform using the Android mascot.
iOS
List iOS as a platform using the iOS typeface.
FreeBSD, BSD
List FreeBSD as a platform using the FreeBSD logo.
Solaris, Sol
List Solaris as a platform using an unofficial Solaris logo.
Pandora, Pan
List the Pandora as a platform using the Pandora logo.
Switch, NX
List the Nintendo Switch as a platform using the Switch logo.
GameCube, GCN, NGC
List the Nintendo GameCube as a platform using the GameCube logo.
Wii
List the Nintendo Wii as a platform using the Wii typeface.
WiiU
List the Wii U as a platform using the Wii U logo.
3DS
List the 3DS as a platform using the 3DS logo.
MS-DOS, DOS
List DOS as a platform using the MS-DOS logo.
PS3
List the PlayStation 3 as a platform using the newer PS3 logo.
PSP
List the PlayStation Portable as a platform using the PSP logo.
PSVita, PSV
List the PlayStation Vita as a platform using the Vita logo.
Xbox
List the Xbox as a platform using the Xbox logo.
Xbox360, 360
List the Xbox 360 as a platform using the Xbox 360 logo.
XboxOne, XB1
List the Xbox One as a platform using the modern Xbox logo.