Difference between revisions of "Template:Icon/File"

From Emulation General Wiki
Jump to navigation Jump to search
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 =[[File:example.png{{!}}x##px]]        |Big variant  | Short  =[[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  =[[File:Icon Windows 10.png{{!}}x24px]] |Windows-big  | Win-big =[[File:Icon Windows 10.png{{!}}x32px]]
|Linux    | Lin  =[[File:Icon Linux Head.png{{!}}x24px]] |Linux-big    | Lin-big =[[File:Icon Linux Head.png{{!}}x32px]]
+
|Windows9x | W9x  =[[File:Icon Windows 9x.png{{!}}x24px]] |Windows9x-big | W9x-big =[[File:Icon Windows 9x.png{{!}}x32px]]<!--
 +
|Windows7  | W7    =[[File:Icon Windows 9x.png{{!}}x24px]] |Windows7-big  | W7-big  =[[File:Icon Windows 9x.png{{!}}x32px]]-->
 +
|Linux    | Lin  =[[File:Icon Linux Head.png{{!}}x24px]] |Linux-big    | Lin-big =[[File:Icon Linux Head.png{{!}}x32px]]<!--
 +
|LinuxARM  | LiA  =[[File:Icon Linux ARM.png{{!}}x24px]]  |LinuxARM-big  | LiA-big =[[File:Icon Linux ARM.png{{!}}x32px]]-->
 
|macOS    | Mac  =[[File:1998 apple logo.png{{!}}x24px]] |macOS-big    | Mac-big =[[File:1998 apple logo.png{{!}}x32px]]
 
|macOS    | Mac  =[[File:1998 apple logo.png{{!}}x24px]] |macOS-big    | Mac-big =[[File:1998 apple logo.png{{!}}x32px]]
 +
|FreeBSD  | BSD  =[[File:Icon FreeBSD.png{{!}}x24px]]    |FreeBSD-big  | BSD-big =[[File:Icon FreeBSD.png{{!}}x32px]]
 +
|Solaris  | Sol  =[[File:Icon Solaris.png{{!}}x24px]]    |Solaris-big  | Sol-big =[[File:Icon Solaris.png{{!}}x32px]]
 
|Android  | APK  =[[File:Icon Android.png{{!}}x24px]]    |Android-big  | APK-big =[[File:Icon Android.png{{!}}x32px]]
 
|Android  | APK  =[[File:Icon Android.png{{!}}x24px]]    |Android-big  | APK-big =[[File:Icon Android.png{{!}}x32px]]
 
|iOS              =[[File:Icon iOS.png{{!}}x16px]]        |iOS-big                =[[File:Icon iOS.png{{!}}x32px]]
 
|iOS              =[[File:Icon iOS.png{{!}}x16px]]        |iOS-big                =[[File:Icon iOS.png{{!}}x32px]]
<!--
 
|LinuxARM  | LiA  =[[File:Icon Linux ARM.png{{!}}x24px]]  |LinuxARM-big  | LiA-big =[[File:Icon Linux ARM.png{{!}}x32px]]
 
|FreeBSD  | BSD  =[[File:Icon FreeBSD.png{{!}}x24px]]    |FreeBSD-big  | BSD-big =[[File:Icon FreeBSD.png{{!}}x32px]]
 
|Windows9x | W9x  =[[File:Icon Windows 9x.png{{!}}x24px]] |Windows9x-big | W9x-big =[[File:Icon Windows 9x.png{{!}}x32px]]
 
|Solaris  | Sol  =[[File:Icon Solaris.png{{!}}x24px]]    |Solaris-big  | Sol-big =[[File:Icon Solaris.png{{!}}x32px]]
 
 
|Pandora  | Pan  =[[File:Icon Pandora.png{{!}}x24px]]    |Pandora-big  | Pan-big =[[File:Icon Pandora.png{{!}}x32px]]
 
|Pandora  | Pan  =[[File:Icon Pandora.png{{!}}x24px]]    |Pandora-big  | Pan-big =[[File:Icon Pandora.png{{!}}x32px]]
-->
+
|Switch    | NX    =[[File:Icon Switch.png{{!}}x24px]]    |Switch-big    | NX-big  =[[File:Icon Pandora.png{{!}}x32px]]
 +
|GameCube|NGC|GCN  =[[File:Icon GameCube.png{{!}}x24px]]|GameCube-big|NGC-big|GCN-big=[[File:Icon GameCube.png{{!}}x32px]]
 +
|Wii              =[[File:Icon Wii.png{{!}}x24px]]        |Wii-big                =[[File:Icon Wii.png{{!}}x32px]]
 +
|WiiU              =[[File:Icon Wii U.png{{!}}x24px]]      |WiiU-big                =[[File:Icon Wii U.png{{!}}x32px]]
 +
|3DS              =[[File:Icon 3DS.png{{!}}x24px]]        |3DS-big                =[[File:Icon 3DS.png{{!}}x32px]]
 +
|MS-DOS    | DOS  =[[File:Icon DOS.png{{!}}x24px]]        |MS-DOS-big    | DOS-big =[[File:Icon DOS.png{{!}}x32px]]<!--
 +
|PSOne    | PSX  =[[File:Icon PSX.png{{!}}x24px]]        |PSOne-big    | PSX-big =[[File:Icon PSX.png{{!}}x32px]]
 +
|PS2              =[[File:Icon PS2.png{{!}}x24px]]        |PS2-big                =[[File:Icon PS2.png{{!}}x32px]]-->
 +
|PS3              =[[File:Icon PS3.png{{!}}x24px]]        |PS3-big                =[[File:Icon PS3.png{{!}}x32px]]
 +
|PSP              =[[File:Icon PSP.png{{!}}x24px]]        |PSP-big                =[[File:Icon PSP.png{{!}}x32px]]
 +
|PSVita    | PSV  =[[File:Icon PSVita.png{{!}}x24px]]    |PSVita-big    | PSV-big =[[File:Icon PS3.png{{!}}x32px]]
 +
|Xbox              =[[File:Icon Xbox.png{{!}}x24px]]      |Xbox-big                =[[File:Icon Xbox.png{{!}}x32px]]
 +
|Xbox360  | 360  =[[File:Icon Xbox 360.png{{!}}x24px]]  |Xbox360-big  | 360-big =[[File:Icon Xbox 360.png{{!}}x32px]]
 +
|XboxOne  | XB1  =[[File:Icon Xbox One.png{{!}}x24px]]  |XboxOne-big  | XB1-big =[[File:Icon Xbox One.png{{!}}x32px]]<!--
 +
|Web              =[[File:Icon Chromium.png{{!}}x24px]]  |Web-big                =[[File:Icon Chromium.png{{!}}x32px]]-->
 
| }}</onlyinclude><noinclude><br/>
 
| }}</onlyinclude><noinclude><br/>
 
<center><big>'''File'''</big></center>
 
<center><big>'''File'''</big></center>
Line 32: Line 44:
 
: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]].
 
<!--:;<code>Windows7</code>, <code>W7</code>
 
<!--:;<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]].-->
 
:;<code>Windows9x</code>, <code>W9x</code>
 
:;<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.
 
;<code>Linux</code>, <code>Lin</code>
 
;<code>Linux</code>, <code>Lin</code>
 
:List Linux as a platform using [[:File:Icon Linux Head.png|Tux's head]].
 
:List Linux as a platform using [[:File:Icon Linux Head.png|Tux's head]].
Line 45: Line 57:
 
;<code>iOS</code>
 
;<code>iOS</code>
 
:List iOS as a platform using [[:File:Icon iOS.png|the iOS typeface]].
 
:List iOS as a platform using [[:File:Icon iOS.png|the iOS typeface]].
<!--
 
 
;<code>FreeBSD</code>, <code>BSD</code>
 
;<code>FreeBSD</code>, <code>BSD</code>
 
:List FreeBSD as a platform using [[:File:Icon FreeBSD.png|the FreeBSD logo]].
 
:List FreeBSD as a platform using [[:File:Icon FreeBSD.png|the FreeBSD logo]].
Line 51: Line 62:
 
:List Solaris as a platform using [[:File:Icon Solaris.png|an unofficial Solaris logo]].
 
:List Solaris as a platform using [[:File:Icon Solaris.png|an unofficial Solaris logo]].
 
;<code>Pandora</code>, <code>Pan</code>
 
;<code>Pandora</code>, <code>Pan</code>
:List the Pandora as a platform using [[:File:Icon Pandora.png|the Pandora logo]].-->
+
:List the Pandora as a platform using [[:File:Icon Pandora.png|the Pandora logo]].
 +
;<code>Switch</code>, <code>NX</code>
 +
:List the Nintendo Switch as a platform using [[:File:Icon Switch.png|the Switch logo]].
 +
;<code>GameCube</code>, <code>GCN</code>, <code>NGC</code>
 +
:List the Nintendo GameCube as a platform using [[:File:Icon GameCube.png|the GameCube logo]].
 +
;<code>Wii</code>
 +
:List the Nintendo Wii as a platform using [[:File:Icon Wii.png|the Wii typeface]].
 +
;<code>WiiU</code>
 +
:List the Wii U as a platform using [[:File:Icon Wii U.png|the Wii U logo]].
 +
;<code>3DS</code>
 +
:List the 3DS as a platform using [[:File:Icon 3DS.png|the 3DS logo]].
 +
;<code>MS-DOS</code>, <code>DOS</code>
 +
:List DOS as a platform using [[:File:Icon DOS.png|the MS-DOS logo]].
 +
<!--
 +
;<code>PSOne</code>, <code>PSX</code>
 +
:List the PlayStation as a platform using [[:File:Icon PSX.png|the PlayStation logo]].
 +
;<code>PS2</code>
 +
:List the PlayStation 2 as a platform using [[:File:Icon PS2.png|the PS2 logo]].
 +
-->
 +
;<code>PS3</code>
 +
:List the PlayStation 3 as a platform using [[:File:Icon PS3.png|the newer PS3 logo]].
 +
;<code>PSP</code>
 +
:List the PlayStation Portable as a platform using [[:File:Icon PSP.png|the PSP logo]].
 +
;<code>PSVita</code>, <code>PSV</code>
 +
:List the PlayStation Vita as a platform using [[:File:Icon PSVita.png|the Vita logo]].
 +
;<code>Xbox</code>
 +
:List the Xbox as a platform using [[:File:Icon Xbox.png|the Xbox logo]].
 +
;<code>Xbox360</code>, <code>360</code>
 +
:List the Xbox 360 as a platform using [[:File:Icon Xbox 360.png|the Xbox 360 logo]].
 +
;<code>XboxOne</code>, <code>XB1</code>
 +
:List the Xbox One as a platform using [[:File:Icon Xbox One.png|the modern Xbox logo]].
 +
<!--
 +
;<code>Web</code>
 +
:List the web browser as a platform using [[:File:Icon Chromium.png|the Chromium logo]].
 +
-->
 
</noinclude>
 
</noinclude>

Revision as of 00:58, 28 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.