Template:GameIcon: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary
m (Text replacement - "class=("?)invert\b([^-])" to "class=$1invert-dark$2")
 
Line 1: Line 1:
<includeonly>{{#switch:{{lc:{{{1|}}}}}
<includeonly>{{#switch:{{lc:{{{1|}}}}}
|ssb64|ssb|64=[[File: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=[[File:SSBM Icon.png|{{{2|16px}}}|link=Super Smash Bros. Melee|class=invert|Super Smash Bros. Melee]]
|ssbm|melee=[[File:SSBM Icon.png|{{{2|16px}}}|link=Super Smash Bros. Melee|class=invert-dark|Super Smash Bros. Melee]]
|ssbb|brawl=[[File: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=[[File: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=[[File: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=[[File: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]]
|ssbu|ultimate=[[File:SSBU Icon.png|{{{2|16px}}}|link=Super Smash Bros. Ultimate|class=invert|Super Smash Bros. Ultimate]]
|ssbu|ultimate=[[File:SSBU Icon.png|{{{2|16px}}}|link=Super Smash Bros. Ultimate|class=invert-dark|Super Smash Bros. Ultimate]]
|ssbpm|pm=[[File:PM Icon.png|{{{2|16px}}}|link=Project M|Project M]]
|ssbpm|pm=[[File:PM Icon.png|{{{2|16px}}}|link=Project M|Project M]]
|ssbp+|p+=[[File:P+ Icon.png|{{{2|16px}}}|link=Project+|Project+]]
|ssbp+|p+=[[File:P+ Icon.png|{{{2|16px}}}|link=Project+|Project+]]
|smashwiki|sw=[[File:Favicon.png|link=|SmashWiki]]
|smashwiki|sw=[[File:Favicon.png|link=|SmashWiki]]
|[[File:SmashBrosSymbol.svg|{{{2|16px}}}|link=|class=invert|Other]]}}</includeonly><noinclude>{{/doc}} [[Category:Meta-templates]]</noinclude>
|[[File:SmashBrosSymbol.svg|{{{2|16px}}}|link=|class=invert-dark|Other]]}}</includeonly><noinclude>{{/doc}} [[Category:Meta-templates]]</noinclude>

Latest revision as of 13:31, May 20, 2024

{{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