User:DekZek/Userbox/Template: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
mNo edit summary
m (Updating)
 
Line 1: Line 1:
{{Userbox|1=black|2=#{{User:DekZek/Userbox/Template/Colors|{{{name|Mario}}}-1}}|logo-background=#{{User:DekZek/Userbox/Template/Colors|{{{name|Mario}}}-1}}|border-color=#{{User:DekZek/Userbox/Template/Colors|{{{name|Mario}}}-2}}|border-s=2|info-color=#{{User:DekZek/Userbox/Template/Colors|{{{name|Mario}}}-3}}|3=[[File:{{{name|Mario}}}Icon(SSBU).png|50px]]|4={{{Text|This is filler text to test the template}}}}}
{{Userbox|1=black|2=#{{User:DekZek/Userbox/Template/Colors|{{{name|Mario}}}-1}}|logo-background=#{{User:DekZek/Userbox/Template/Colors|{{{name|Mario}}}-1}}|border-color=#{{User:DekZek/Userbox/Template/Colors|{{{name|Mario}}}-2}}|border-s=2|info-color=#{{User:DekZek/Userbox/Template/Colors|{{{name|Mario}}}-3}}|3=[[File:{{{name|Mario}}}Icon({{{game|SSBU}}}).png|50px]]|4={{{text|This text only appears when the field "text" has been left blank.}}}}}
<noinclude>
<br>
<br>
<br>
<br>
This is a slightly streamlined, albeit more restrictive version of [[Template:Userbox]], specifically designed for usage with character icons. This template will automatically pick the colors when you insert the name of the character you wish to use, from the data in [[User:DekZek/Userbox/Template/Colors]]. The first parameter, <code>name</code>, will pick the select the character used for the icon, and the colors used throughout the box. It defaults to Mario to prevent everything from breaking. The second parameter, <code>game</code>, which defaults to SSBU, picks the game from which the character icon is on. The third parameter, <code>text</code>, is used for the text in the box.
</noinclude>

Latest revision as of 16:46, October 5, 2021

MarioIcon(SSBU).png This text only appears when the field "text" has been left blank.





This is a slightly streamlined, albeit more restrictive version of Template:Userbox, specifically designed for usage with character icons. This template will automatically pick the colors when you insert the name of the character you wish to use, from the data in User:DekZek/Userbox/Template/Colors. The first parameter, name, will pick the select the character used for the icon, and the colors used throughout the box. It defaults to Mario to prevent everything from breaking. The second parameter, game, which defaults to SSBU, picks the game from which the character icon is on. The third parameter, text, is used for the text in the box.