Template:Head: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (missed this part) |
(fixing SSB4 links) |
||
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|}}}| ({{{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|}}}|{{{g}}}}}.png{{#if:{{{s|}}}|{{!}}{{{s}}}}}|link={{#if:{{{l|}}}|{{{l}}}|{{{c|{{{1}}}}}}{{#if:{{{g|}}}| ({{#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, or SSBB. If left out, uses SSBB if possible and SSBM otherwise. | |g = Game abbreviation: SSB, SSBM, or SSBB. If left out, uses SSBB if possible and SSBM otherwise. SSB4-U also kinda-sorta exists for now; it'll be the default once the game is out (or at least closer). | ||
|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 16:01, December 28, 2013
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, or SSBB. If left out, uses SSBB if possible and SSBM otherwise. SSB4-U also kinda-sorta exists for now; it'll be the default once the game is out (or at least closer). |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.