This high-risk/high-traffic page is protected.

Template:Head: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(trying this out)
m (Text replacement - "\[\[(:)?Image:" to "[[$1File:")
 
Line 1: Line 1:
<includeonly>[[Image:{{NameToIcon|{{{c|{{{1}}}}}}}}Head{{#if:{{{cl|}}}|{{{cl}}}}}{{#if:{{{g|}}}|{{#ifeq:{{{g}}}|SSB4|SSB4-U|{{{g}}}}}}}.png{{#if:{{{s|}}}|{{!}}{{{s}}}}}|link={{#if:{{{l|}}}|{{{l}}}|{{{c|{{{1}}}}}}{{#if:{{{g|}}}|&#32;({{#switch:{{{g}}}|SSB4-U|SSB4-3=SSB4|#default={{{g}}}}})}}}}]]</includeonly><noinclude>{{ArticleIcons|protected=highrisk}}This template is for displaying the head icon of a character.
<includeonly>[[File:{{NameToIcon|{{{c|{{{1}}}}}}}}Head{{#if:{{{cl|}}}|{{{cl}}}}}{{#if:{{{g|}}}|{{#ifeq:{{{g}}}|SSB4|SSB4-U|{{{g}}}}}}}.png{{#if:{{{s|}}}|{{!}}{{{s}}}}}|link={{#if:{{{l|}}}|{{{l}}}|{{{c|{{{1}}}}}}{{#if:{{{g|}}}|&#32;({{#switch:{{{g}}}|SSB4-U|SSB4-3=SSB4|#default={{{g}}}}})}}}}]]</includeonly><noinclude>{{ArticleIcons|protected=highrisk}}This template is for displaying the head icon of a character.
<pre>
<pre>
|c  = Name of character, spelled how it is for their character pages.
|c  = Name of character, spelled how it is for their character pages.

Latest revision as of 14:57, February 10, 2021

This template is for displaying the head icon of a character.

|c  = Name of character, spelled how it is for their character pages.
|cl = Colour, in order to use palette-swapped icons. Must be same colour word used in filename. If left out, uses default.
|g  = Game abbreviation: SSB, SSBM, SSBB, SSB4, SSB4-3, or SSB4-U. SSB4 defaults to -U.
|s  = Size. Default is image's regular size.
|l  = Link. If left out, image links to the character's page. If set to something, image links there. If set to blank, image links nowhere.

You can leave out the c= part, but not the other ones. In addition, if you specify a colour, you must specify a game.

Example use

{{head|Mario|s=20px}} MarioHead.png