Template:SpiritTableName: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (Sorry for all the edits, I need to save in order to test my changes in the sandbox)
m (DekZek moved page User:DekZek/to-do/Spirit to Template:SpiritTableName: This table is now able to handle all situations seen on the wiki, and so should be ready for mainspace use.)
(No difference)

Revision as of 13:30, November 19, 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.