Template:SpiritTableName: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (Undid edit by DekZek: )
Tag: Undo
(I wasn't able to rename one because it had a colon)
Line 1: Line 1:
<onlyinclude>{{anchor|{{{name}}}}}[[File:SSBU spirit {{{name}}}.png|center|{{{size|108}}}x{{{size|108}}}px]]
<onlyinclude>{{anchor|{{{name}}}}}[[File:SSBU spirit {{#replace:{{{name}}}|:|}}.png|center|{{{size|108}}}x{{{size|108}}}px]]
|{{{customname|{{#if: {{{link|}}} |[[{{{iw|}}}:{{{name}}}|{{{name}}}]]|{{{name}}}}}}}}</onlyinclude><noinclude>
|{{{customname|{{#if: {{{link|}}} |[[{{{iw|}}}:{{{name}}}|{{{name}}}]]|{{{name}}}}}}}}</onlyinclude><noinclude>



Revision as of 19:17, November 20, 2020

[[File:SSBU spirit {{{name}}}.png|center|108x108px]] |{{{name}}}

Should be able to replace the second and third columns of the spirit table for all tables except fighter. Currently has Two main parameters. The first parameter, {{{name}}}, sets up the anchor, image file, and default name listed in the next cell. The other main parameter, {{{size}}}, sets the size of the image shown in pixels, it defaults to 108 if no value is inputted.

By default, there will not be any links in the cell with the name. If link is not blank, then the name will be linked to its respective page within SmashWiki. If link is not blank and iw isn't left blank, the page will be linked to the respective wiki specified within the parameter iw. Alternatively, the parameter customname could be used to replace the name cell entirely, whether it be to include a unique formatting or to link to an external page.