Template:GameIcon: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(Gonna go ahead and do this)
No edit summary
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{lc:{{{1|}}}}}
<includeonly>{{#switch:{{lc:{{{1|}}}}}
|ssb64|ssb|64=[[Image:SSB64 Icon.png|{{{2|16px}}}|link=Super Smash Bros.|Super Smash Bros.]]
|ssb64|ssb|64=[[File:SSB64 Icon.png|{{{2|16px}}}|link=Super Smash Bros.|Super Smash Bros.]]
|ssbm|melee=[[Image:SSBM Icon.png|{{{2|16px}}}|link=Super Smash Bros. Melee|Super Smash Bros. Melee]]
|ssbm|melee=[[File:SSBM Icon.png|{{{2|16px}}}|link=Super Smash Bros. Melee|class=invert|Super Smash Bros. Melee]]
|ssbb|brawl=[[Image:SSBB Icon.png|{{{2|16px}}}|link=Super Smash Bros. Brawl|Super Smash Bros. Brawl]]
|ssbb|brawl=[[File:SSBB Icon.png|{{{2|16px}}}|link=Super Smash Bros. Brawl|Super Smash Bros. Brawl]]
|ssb4|4|ssb4-both=[[Image:SSB4 Icon.png|{{{2|16px}}}|link=Super Smash Bros. 4|Super Smash Bros. 4]]
|ssb4|4|ssb4-both=[[File:SSB4 Icon.png|{{{2|16px}}}|link=Super Smash Bros. 4|Super Smash Bros. 4]]
|ssb4-wiiu|ssb4-wii-u|ssb4-u|wiiu|wii-u=[[Image:SSB4-U Icon.png|{{{2|16px}}}|link=Super Smash Bros. for Wii U|Super Smash Bros. for Wii U]]
|ssb4-wiiu|ssb4-wii-u|ssb4-u|wiiu|wii-u=[[File:SSB4-U Icon.png|{{{2|16px}}}|link=Super Smash Bros. for Wii U|Super Smash Bros. for Wii U]]
|ssb4-3ds|ssb4-3|3ds=[[Image:SSB4-3 Icon.png|{{{2|16px}}}|link=Super Smash Bros. for Nintendo 3DS|Super Smash Bros. for Nintendo 3DS]]
|ssb4-3ds|ssb4-3|3ds=[[File:SSB4-3 Icon.png|{{{2|16px}}}|link=Super Smash Bros. for Nintendo 3DS|Super Smash Bros. for Nintendo 3DS]]
|ssb5|5|ssb-switch=[[Image:SSB5 Icon.png|{{{2|16px}}}|link=Super Smash Bros. for Nintendo Switch|Super Smash Bros. for Nintendo Switch]]
|ssbu|ultimate=[[File:SSBU Icon.png|{{{2|16px}}}|link=Super Smash Bros. Ultimate|class=invert|Super Smash Bros. Ultimate]]
|ssbpm|pm=[[Image:PM Icon.png|{{{2|16px}}}|link=Project M|Project M]]
|ssbpm|pm=[[File:PM Icon.png|{{{2|16px}}}|link=Project M|Project M]]
|smashwiki|sw=[[Image:Favicon.png|link=|SmashWiki]]
|ssbp+|p+=[[File:P+ Icon.png|{{{2|16px}}}|link=Project+|Project+]]
|[[Image:SmashBrosSymbol.svg|{{{2|16px}}}|link=|Other]]}}</includeonly><noinclude>{{/doc}}</noinclude>
|smashwiki|sw=[[File:Favicon.png|link=|SmashWiki]]
|[[File:SmashBrosSymbol.svg|{{{2|16px}}}|link=|class=invert|Other]]}}</includeonly><noinclude>{{/doc}} [[Category:Meta-templates]]</noinclude>

Revision as of 12:00, June 3, 2021

{{GameIcon}} is used to put icons beside items in the news template. It is also used in other places, such as infoboxes. By giving it appropriate abbreviations, it will show an icon with an appropriate link. It can also be given a size; 16px is the default.

Usage
Icon Input
Super Smash Bros. ssb64, ssb, 64
Super Smash Bros. Melee ssbm, melee
Super Smash Bros. Brawl ssbb, brawl
Super Smash Bros. 4 ssb4, 4
Super Smash Bros. for Wii U ssb4-wiiu, ssb4-wii-u, ssb4-u, wiiu, wii-u
Super Smash Bros. for Nintendo 3DS ssb4-3ds, ssb4-3, 3ds
Super Smash Bros. Ultimate ssbu, ultimate
Project M ssbpm, pm
Project+ ssbp+, p+
SmashWiki smashwiki, sw
Other Other