Template:SpiritTableName: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
mNo edit summary
m (Sorry for all the edits, I need to save in order to test my changes in the sandbox)
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}}}]]|{{{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.  


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


</noinclude>
</noinclude>

Revision as of 12:10, 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.