Template:SRHead: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (Since base game characters have no changes, makes sense to make them link to SSB. Revert if it is ever decided they get SR pages) |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[[File:{{NameToIcon|{{{c|{{{1}}}}}}}}Head{{#if:{{{cl|}}}|{{{cl}}}}}<!-- | <includeonly>[[File:{{NameToIcon|{{{c|{{{1}}}}}}}}Head{{#if:{{{cl|}}}|{{{cl}}}}}<!-- | ||
-->{{#switch:{{{c|{{{1}}}}}}|Bowser|Dr. Mario|Sheik|Young Link|Ganondorf|Dark Samus|King Dedede|Falco|Wolf|Mewtwo|Lucas|Marth|Wario|Sonic|Conker|Marina|Goemon=SR|#default={{#ifeq:{{{fsr|n}}}|y|SR|SSB}}}}.png<!-- | -->{{#switch:{{{c|{{{1}}}}}}|Bowser|Dr. Mario|Sheik|Young Link|Ganondorf|Dark Samus|King Dedede|Falco|Wolf|Mewtwo|Lucas|Marth|Wario|Sonic|Conker|Marina|Goemon|Super Sonic|Slippy|Peppy|Mad Piano|Giga Bowser|Polygon|Ebisumaru|Dragon King|Metal Luigi|Banjo & Kazooie=SR|#default={{#ifeq:{{{fsr|n}}}|y|SR|SSB}}}}.png<!-- | ||
-->{{#if:{{{s|}}}|{{!}}{{{s}}}}}<!-- | -->{{#if:{{{s|}}}|{{!}}{{{s}}}}}<!-- | ||
-->|link={{#if:{{{l|}}}|{{{l}}}|{{{c|{{{1}}}}}} ({{#switch:{{{c|{{{1}}}}}}|Bowser|Dr. Mario|Sheik|Young Link|Ganondorf|Dark Samus|King Dedede|Falco|Wolf|Mewtwo|Lucas|Marth|Wario|Sonic|Conker|Marina|Goemon=SR|#default=SSB}})}}]]</includeonly><noinclude>This template is for displaying the head icon of a character. | -->|class=pixelated|link={{#if:{{{l|}}}|{{{l}}}|{{{c|{{{1}}}}}} ({{#switch:{{{c|{{{1}}}}}}|Bowser|Dr. Mario|Sheik|Young Link|Ganondorf|Dark Samus|King Dedede|Falco|Wolf|Mewtwo|Lucas|Marth|Wario|Sonic|Conker|Marina|Goemon|Super Sonic|Slippy|Peppy|Mad Piano|Giga Bowser|Ebisumaru|Dragon King|Metal Luigi|Banjo & Kazooie=SR|#default=SSB}})}}]]</includeonly><noinclude>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. | ||
Line 11: | Line 11: | ||
</pre> | </pre> | ||
This is a pared-down version of {{t|Head}} specific to [[Smash Remix]]-related things. If "c" is "Bowser", "Dr. Mario", "Sheik", "Young Link", "Ganondorf", "Dark Samus", "King Dedede", "Falco", "Wolf", "Mewtwo", "Lucas", "Marth", "Wario", "Sonic", "Conker", "Marina", or " | This is a pared-down version of {{t|Head}} specific to [[Smash Remix]]-related things. If "c" is "Bowser", "Dr. Mario", "Sheik", "Young Link", "Ganondorf", "Dark Samus", "King Dedede", "Falco", "Wolf", "Mewtwo", "Lucas", "Marth", "Wario", "Sonic", "Conker", "Marina", "Goemon", "Ebisumaru", "Dragon King", "Metal Luigi", or "Banjo & Kazooie", or "fsr" is "y", it points to NameHeadSR.png; otherwise it points to NameHeadSSB.png. In any case, the image links to <nowiki>[[Character (SR)]]</nowiki>. | ||
==Example use== | ==Example use== |
Latest revision as of 18:24, March 4, 2024
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. |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. |fsr = "force SR". Set to "y" if the colour selected is Smash Remix-exclusive.
This is a pared-down version of {{Head}} specific to Smash Remix-related things. If "c" is "Bowser", "Dr. Mario", "Sheik", "Young Link", "Ganondorf", "Dark Samus", "King Dedede", "Falco", "Wolf", "Mewtwo", "Lucas", "Marth", "Wario", "Sonic", "Conker", "Marina", "Goemon", "Ebisumaru", "Dragon King", "Metal Luigi", or "Banjo & Kazooie", or "fsr" is "y", it points to NameHeadSR.png; otherwise it points to NameHeadSSB.png. In any case, the image links to [[Character (SR)]].