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
No edit summary
(trying this out)
Line 1: Line 1:
<includeonly>[[Image:{{NameToIcon|{{{c|{{{1}}}}}}}}Head{{#if:{{{cl|}}}|{{{cl}}}}}{{#if:{{{g|}}}|{{{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>[[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.
<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.
|cl = Colour, in order to use palette-swapped icons. Must be same colour word used in filename. If left out, uses default.
|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, or SSB4-3. Use SSB4-3 in place of SSB4-U for now.
|g  = Game abbreviation: SSB, SSBM, SSBB, SSB4, SSB4-3, or SSB4-U. SSB4 defaults to -U.
|s  = Size. Default is image's regular size.
|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.
|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.

Revision as of 08:17, April 28, 2015

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}} Mario