Template talk:Userbox: Difference between revisions

From BitchSpace
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
nevermind, it seems like you can't really do that without import rights, which i don't have - IseeL
nevermind, it seems like you can't really do that without import rights, which i don't have - IseeL


wait shit i think i found one that should work - IseeL
wait shit i think i found one that should work (the one from tmbw) - IseeL


ok yeah, i got a working userbox. it works a bit differently than normal wikipedia userboxes though. it has nine variables. the first is which template you're using. that should always just be Userbox. the second is the background color for the main bit of the userbox. this can be in hex or a few of the colors let you just say the name. the third variable is the background color for the smaller bit of the userbox. the fourth is the text size in the small bit of the box (also it can be completely ignored if you're putting an image into that bit). the fifth part is the text color for the small part of the userbox. the sixth is what you want it to say in that part (or if you want an image in there you can insert an image like you would put in any other file (also i would recommend that you make it 45x45 pixels or else it will look weird)). the seventh and eighth are like the fourth and fifth except that it's for the descriptive part of the box (also changing the text color here changes the color of the border). the ninth is what you want the descriptive part of the box to say.  
ok yeah, i got a working userbox. it works a bit differently than normal wikipedia userboxes though. it has nine variables. start by saying Userbox, because that's the template you want to use. the first variable is the border color. this can be in hex or a few of the colors let you just say the name. the second is the background color for the main bit of the userbox. the third variable is the background color for the smaller bit of the userbox. the fourth is the text size in the small bit of the box (also it can be completely ignored if you're putting an image into that bit). the fifth part is the text color for the small part of the userbox. the sixth is what you want it to say in that part (or if you want an image in there you can insert an image like you would put in any other file (also i would recommend that you make it 45x45 pixels or else it will look weird)). the seventh and eighth are like the fourth and fifth except that it's for the descriptive part of the box. the ninth is what you want the descriptive part of the box to say.  


so <code><nowiki>{{Userbox|2=#FFFFFF|3=#000000|4=14|5=#FFFFFF|6=box|7=8|8=#000000|9=this user box is an example}}</nowiki></code> makes a userbox that looks like this:
so <code><nowiki>{{Userbox|2=#FFFFFF|3=#000000|4=14|5=#FFFFFF|6=box|7=8|8=#000000|9=this user box is an example}}</nowiki></code> makes a userbox that looks like this:


{{Userbox|2=#FFFFFF|3=#000000|4=14|5=#FFFFFF|6=box|7=8|8=#000000|9=this user box is an example}}
{{Userbox|1=#000000|2=#FFFFFF|3=#000000|4=14|5=#FFFFFF|6=box|7=8|8=#000000|9=this user box is an example}}




Line 16: Line 16:


thanks for reading - IseeL
thanks for reading - IseeL
that is fucking sick - Fdjhkdsfvhj

Latest revision as of 04:00, 20 February 2024

I'm trying to figure out how to get a userbox template into this wiki. it might still be a bit before this works though -IseeL

nevermind, it seems like you can't really do that without import rights, which i don't have - IseeL

wait shit i think i found one that should work (the one from tmbw) - IseeL

ok yeah, i got a working userbox. it works a bit differently than normal wikipedia userboxes though. it has nine variables. start by saying Userbox, because that's the template you want to use. the first variable is the border color. this can be in hex or a few of the colors let you just say the name. the second is the background color for the main bit of the userbox. the third variable is the background color for the smaller bit of the userbox. the fourth is the text size in the small bit of the box (also it can be completely ignored if you're putting an image into that bit). the fifth part is the text color for the small part of the userbox. the sixth is what you want it to say in that part (or if you want an image in there you can insert an image like you would put in any other file (also i would recommend that you make it 45x45 pixels or else it will look weird)). the seventh and eighth are like the fourth and fifth except that it's for the descriptive part of the box. the ninth is what you want the descriptive part of the box to say.

so {{Userbox|2=#FFFFFF|3=#000000|4=14|5=#FFFFFF|6=box|7=8|8=#000000|9=this user box is an example}} makes a userbox that looks like this:

box this user box is an example




also if you leave any of the variables empty, the template should still work, but that variable will just go to the default, which looks like this:

X This is a userbox.



thanks for reading - IseeL

that is fucking sick - Fdjhkdsfvhj