Template:SpiritTableName: Difference between revisions
mNo edit summary |
mNo edit summary |
||
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 {{{name}}}.png|center|{{{size|108}}}x{{{size|108}}}px]] | ||
|{{{customname|{{{#if: {{{link|}}} |[[{{{iw|}}}:{{{name}}}]]|{{{name}}}}}}}}}</onlyinclude><noinclude> | |{{{customname|{{{#if: {{{link|}}} |[[{{{iw|}}}:{{{name}}}|{{{name}}}]]|{{{name}}}}}}}}}</onlyinclude><noinclude> | ||
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, <code>{{{name}}}</code>, sets up the anchor, image file, and default name listed in the next cell. The other main parameter, <code>{{{size}}}</code>, sets the size of the image shown in pixels, it defaults to 108 if no value is inputted. | 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, <code>{{{name}}}</code>, sets up the anchor, image file, and default name listed in the next cell. The other main parameter, <code>{{{size}}}</code>, sets the size of the image shown in pixels, it defaults to 108 if no value is inputted. |
Revision as of 12:07, November 19, 2020
|[[File:SSBU spirit {{{name}}}.png|center|108x108px]] |[[:{{{name}}}|{{{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 interwiki
. 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.