Difference between revisions of "Template:Icon/File"

From Emulation General Wiki
Jump to navigation Jump to search
(Add example images to the documentation.)
Line 2: Line 2:
 
|Full Name | Short =<abbr title="Example">[[File:example.png{{!}}x##px]]</abbr>            |Big variant  | Short  =<abbr title="Example">[[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  =<abbr title="Windows">[[File:Icon Windows 10.png{{!}}x24px]]</abbr>    |Windows-big  | Win-big =<abbr title="Windows">[[File:Icon Windows 10.png{{!}}x32px]]</abbr>
 
|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  =<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><!--
+
|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    =<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>-->
+
|Windows7  | W7    =<abbr title="Windows 7">[[File:Icon Windows 7.png{{!}}x24px]]</abbr>   |Windows7-big  | W7-big  =<abbr title="Windows 7">[[File:Icon Windows 7.png{{!}}x32px]]</abbr>
 
|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><!--
 
|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  =<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>-->
 
|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>-->
Line 17: Line 17:
 
|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>
 
|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              =<abbr title="3DS">[[File:Icon 3DS.png{{!}}x16px]]</abbr>              |3DS-big                =<abbr title="3DS">[[File:Icon 3DS.png{{!}}x32px]]</abbr>
 
|3DS              =<abbr title="3DS">[[File:Icon 3DS.png{{!}}x16px]]</abbr>              |3DS-big                =<abbr title="3DS">[[File:Icon 3DS.png{{!}}x32px]]</abbr>
|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]]<!--
+
|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 | PS1 | PSX =<abbr title="PlayStation">[[File:Icon PSX.png{{!}}x24px]]</abbr>      |PSOne-big    | PSX-big =<abbr title="PlayStation">[[File:Icon PSX.png{{!}}x32px]]</abbr>
 
|PSOne | PS1 | PSX =<abbr title="PlayStation">[[File:Icon PSX.png{{!}}x24px]]</abbr>      |PSOne-big    | PSX-big =<abbr title="PlayStation">[[File:Icon PSX.png{{!}}x32px]]</abbr>
|PS2              =<abbr title="PlayStation 2">[[File:Icon PS2.png{{!}}x24px]]</abbr>    |PS2-big                =<abbr title="PlayStation 2">[[File:Icon PS2.png{{!}}x32px]]</abbr>-->
+
|PS2              =<abbr title="PlayStation 2">[[File:Icon PS2.png{{!}}x14px]]</abbr>    |PS2-big                =<abbr title="PlayStation 2">[[File:Icon PS2.png{{!}}x32px]]</abbr>
 
|PS3              =<abbr title="PlayStation 3">[[File:Icon PS3.png{{!}}x16px]]</abbr>    |PS3-big                =<abbr title="PlayStation 3">[[File:Icon PS3.png{{!}}x32px]]</abbr>
 
|PS3              =<abbr title="PlayStation 3">[[File:Icon PS3.png{{!}}x16px]]</abbr>    |PS3-big                =<abbr title="PlayStation 3">[[File:Icon PS3.png{{!}}x32px]]</abbr>
 
|PSP              =<abbr title="PSP">[[File:Icon PSP.png{{!}}x14px]]</abbr>              |PSP-big                =<abbr title="PSP">[[File:Icon PSP.png{{!}}x32px]]</abbr>
 
|PSP              =<abbr title="PSP">[[File:Icon PSP.png{{!}}x14px]]</abbr>              |PSP-big                =<abbr title="PSP">[[File:Icon PSP.png{{!}}x32px]]</abbr>
Line 25: Line 25:
 
|Xbox              =<abbr title="Xbox">[[File:Icon Xbox.png{{!}}x24px]]</abbr>            |Xbox-big                =<abbr title="Xbox">[[File:Icon Xbox.png{{!}}x32px]]</abbr>
 
|Xbox              =<abbr title="Xbox">[[File:Icon Xbox.png{{!}}x24px]]</abbr>            |Xbox-big                =<abbr title="Xbox">[[File:Icon Xbox.png{{!}}x32px]]</abbr>
 
|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>
 
|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  =<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><!--
+
|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              =<abbr title="Web">[[File:Icon Chromium.png{{!}}x24px]]</abbr>         |Web-big                =<abbr title="Web">[[File:Icon Chromium.png{{!}}x32px]]</abbr>-->
+
|Dreamcast | DC    =<abbr title="Dreamcast">[[File:Dreamcast_logo.png{{!}}x24px]]</abbr>  |Dreamcast-big | DC-big  =<abbr title="Dreamcast">[[File:Dreamcast_logo.png{{!}}x32px]]</abbr>
 +
|Web              =<abbr title="Web">[[File:Icon IE.png{{!}}x24px]]</abbr>               |Web-big                =<abbr title="Web">[[File:Icon IE.png{{!}}x32px]]</abbr>
 
| }}</onlyinclude><noinclude><br/>
 
| }}</onlyinclude><noinclude><br/>
 
<center><big>'''File'''</big></center>
 
<center><big>'''File'''</big></center>
Line 43: Line 44:
 
;{{Icon/File|Win}} <code>Windows</code>, <code>Win</code>
 
;{{Icon/File|Win}} <code>Windows</code>, <code>Win</code>
 
:List modern Windows as a platform using [[:File:Icon Windows 10.png|the Windows 10 logo]].
 
:List modern Windows as a platform using [[:File:Icon Windows 10.png|the Windows 10 logo]].
<!--:;{{Icon/File|W7}} <code>Windows7</code>, <code>W7</code>
+
:;{{Icon/File|W7}} <code>Windows7</code>, <code>W7</code>
::List Windows 7 as a platform using [[:File:Icon Windows 7.png|its logo]].-->
+
::List Windows 7 as a platform using [[:File:Icon Windows 7.png|its logo]].
 
:;{{Icon/File|W9x}} <code>Windows9x</code>, <code>W9x</code>
 
:;{{Icon/File|W9x}} <code>Windows9x</code>, <code>W9x</code>
 
::List classic Windows as a platform using [[:File:Icon Windows 9x.png|the Windows 9x logo]]. Use when modern, 64-bit versions of Windows cannot run the software natively.
 
::List classic Windows as a platform using [[:File:Icon Windows 9x.png|the Windows 9x logo]]. Use when modern, 64-bit versions of Windows cannot run the software natively.
Line 75: Line 76:
 
;{{Icon/File|DOS}} <code>MS-DOS</code>, <code>DOS</code>
 
;{{Icon/File|DOS}} <code>MS-DOS</code>, <code>DOS</code>
 
:List DOS as a platform using [[:File:Icon DOS.png|the MS-DOS logo]].
 
:List DOS as a platform using [[:File:Icon DOS.png|the MS-DOS logo]].
<!--
 
 
;{{Icon/File|PSX}} <code>PSOne</code>, <code>PS1</code>, <code>PSX</code>
 
;{{Icon/File|PSX}} <code>PSOne</code>, <code>PS1</code>, <code>PSX</code>
 
:List the PlayStation as a platform using [[:File:Icon PSX.png|the PlayStation logo]].
 
:List the PlayStation as a platform using [[:File:Icon PSX.png|the PlayStation logo]].
 
;{{Icon/File|PS2}} <code>PS2</code>
 
;{{Icon/File|PS2}} <code>PS2</code>
 
:List the PlayStation 2 as a platform using [[:File:Icon PS2.png|the PS2 logo]].
 
:List the PlayStation 2 as a platform using [[:File:Icon PS2.png|the PS2 logo]].
-->
 
 
;{{Icon/File|PS3}} <code>PS3</code>
 
;{{Icon/File|PS3}} <code>PS3</code>
 
:List the PlayStation 3 as a platform using [[:File:Icon PS3.png|the newer PS3 logo]].
 
:List the PlayStation 3 as a platform using [[:File:Icon PS3.png|the newer PS3 logo]].
Line 93: Line 92:
 
;{{Icon/File|XB1}} <code>XboxOne</code>, <code>XB1</code>
 
;{{Icon/File|XB1}} <code>XboxOne</code>, <code>XB1</code>
 
:List the Xbox One as a platform using [[:File:Icon Xbox One.png|the modern Xbox logo]].
 
:List the Xbox One as a platform using [[:File:Icon Xbox One.png|the modern Xbox logo]].
<!--
+
;{{Icon/File|DC}} <code>Dreamcast</code>, <code>DC</code>
 +
:List the Dreamcast as a platform using [[:File:Dreamcast_logo.png|the Dreamcast logo]].
 
;{{Icon/File|Web}} <code>Web</code>
 
;{{Icon/File|Web}} <code>Web</code>
:List the web browser as a platform using [[:File:Icon Chromium.png|the Chromium logo]].
+
:List the web browser as a platform using [[:File:Icon IE.png|the Internet Explorer logo]].
-->
 
 
</noinclude>
 
</noinclude>

Revision as of 22:19, 7 January 2020


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.

Icon Windows 10.png Windows, Win
List modern Windows as a platform using the Windows 10 logo.
Icon Windows 7.png Windows7, W7
List Windows 7 as a platform using its logo.
Icon Windows 9x.png 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.
Icon Linux Head.png Linux, Lin
List Linux as a platform using Tux's head.
1998 apple logo.png macOS, Mac
List macOS as a platform using the Apple logo.
Icon Android.png Android, APK
List Android as a platform using the Android mascot.
Icon iOS.png iOS
List iOS as a platform using the iOS typeface.
Icon FreeBSD.png FreeBSD, BSD
List FreeBSD as a platform using the FreeBSD logo.
Icon Solaris.png Solaris, Sol
List Solaris as a platform using an unofficial Solaris logo.
Icon Pandora.png Pandora, Pan
List the Pandora as a platform using the Pandora logo.
Icon Switch.png Switch, NX
List the Nintendo Switch as a platform using the Switch logo.
Icon GameCube.png GameCube, GCN, NGC
List the Nintendo GameCube as a platform using the GameCube logo.
Icon Wii.png Wii
List the Nintendo Wii as a platform using the Wii typeface.
Icon Wii U.png WiiU
List the Wii U as a platform using the Wii U logo.
Icon 3DS.png 3DS
List the 3DS as a platform using the 3DS logo.
Icon DOS.png MS-DOS, DOS
List DOS as a platform using the MS-DOS logo.
Icon PSX.png PSOne, PS1, PSX
List the PlayStation as a platform using the PlayStation logo.
Icon PS2.png PS2
List the PlayStation 2 as a platform using the PS2 logo.
Icon PS3.png PS3
List the PlayStation 3 as a platform using the newer PS3 logo.
Icon PSP.png PSP
List the PlayStation Portable as a platform using the PSP logo.
Icon PSVita.png PSVita, PSV
List the PlayStation Vita as a platform using the Vita logo.
Icon Xbox.png Xbox
List the Xbox as a platform using the Xbox logo.
Icon Xbox 360.png Xbox360, 360
List the Xbox 360 as a platform using the Xbox 360 logo.
Icon Xbox One.png XboxOne, XB1
List the Xbox One as a platform using the modern Xbox logo.
Dreamcast logo.png Dreamcast, DC
List the Dreamcast as a platform using the Dreamcast logo.
Icon IE.png Web
List the web browser as a platform using the Internet Explorer logo.