Wiki is in the process of importing stuff
Please be patient
Wikitext version of the Userbox template, taken from Polandball Wiki |
Anastasios (talk | contribs) No edit summary Tag: Manual revert |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{| cellspacing="0" class="userbox" style="margin:16px;border:{{{borderwidth|4px}}} solid {{{bordercolor|#7a7a7a}}};border-radius:4px;width:320px;background:{{{color|#1f1f1f}}};" | |||
| style="min-width:80px;height:80px;background:{{{bordercolor|#7a7a7a}}}!important;text-align:center;font-size:12pt!important;color:#ffffff!important;" | <div style="scale:2!important;padding:16px!important;image-rendering:pixelated!important;display:inline-block!important;vertical-align:middle;font-size:0px!important;line-height:0px!important;">{{#if:{{{image|}}}|[[File:{{{image|Icon.png}}}]]|'''Img'''}}</div> | |||
| style="width: | | style="width:100%;height:80px;background:{{{color|#1f1f1f}}}!important;font-size:8pt!important;padding:8px;color:{{{bordercolor|#7a7a7a}}}!important;" | <div class="center" style="line-height:12px!important;">{{#if:{{{text|}}}|<big><big>'''{{{text|''Text''}}}'''</big></big><br>|}}{{#if:{{{quote|}}}|<br>"''{{{quote|}}}''"</div>|}} | ||
| style="background:{{{ | |}<includeonly>{{#if:{{{category|}}}|[[Category:{{{category|}}}]]}}</includeonly><noinclude>[[Category:Templates]]<br><br><br>{{Template:Userbox/doc}}</noinclude> | ||
|}</ | |||
<noinclude>{{ | |||
Latest revision as of 19:24, 16 June 2026
Img
|
== Description ==
Userboxes are small notices on users' profile pages that contain information about a user. Rather than creating a new template for every custom userbox, new userboxes should be subpages of the Userbox template, which can be created by navigating to Userbox:NameOfUserbox.
Syntax
[edit]{{Userbox
| borderwidth =
| width =
| bgcolor =
| fgcolor =
| imcolor =
| textcolor =
| image =
| imagewidth =
| text =
| quote =
}}
Making a userbox
[edit]Userboxes are highly customizable. Users can implement infoboxes for personal use by inserting the template into their profile pages and filling out each field, or save widely-used customizations on subpages to allow for standardized premade userboxes.
In this example, a userbox named Egoist is created at Userbox:Egoist, as a subpage of the Userbox template. Others who wish to use the userbox on their profiles can simply add {{Userbox:Egoist}} to their profile pages.
{{Userbox
| borderwidth = 2px //Thickness of the colored border around the userbox
| width = 248px //Horizontal length of the userbox, matches length of text field when unset
| bgcolor = #006A66 //Color of userbox's border
| fgcolor = #141414 //Color of internal text area
| imcolor = #003F3D //Background color of image region
| textcolor = #FFFFFF //Color of text
| image = Ego and its own.png //Image in userbox
| imagewidth = 45px //Maximum width of image
| text = This user is an '''[[Egoism|Egoist]]'''. //Text in userbox
| quote = The people is dead! Good-day, Self! //Optional quote, does not appear when unset
}}
