Template:Head: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(changing default link from "no link" to "relevant link") |
m (missed this part) |
||
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}}}{{#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|}}}| ({{{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. |
Revision as of 15:27, November 4, 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. |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.