×
Create a new article
Write your page title here:
We currently have 787 articles on Polcompball Wiki. Type your article name above or create one of the articles listed here!



    Polcompball Wiki

    Template:Userbox: Difference between revisions

    No edit summary
    No edit summary
     
    (22 intermediate revisions by 2 users not shown)
    Line 1: Line 1:
    <includeonly>
    <div style="float:{{{float|left}}}; border:{{{borderwidth|5px}}} solid {{{bordercolor|#101010}}};border-radius:5px; margin:1px;">
    <div style="image-rendering: pixelated;
    {| cellspacing="0" style="width:{{{width|256px}}}; background:{{{incolor|{{{color|#000000}}}|#000000}}};"
    float: {{{float|left}}};
    | style="width:{{{cellwidth|55px}}}; height:44px; background:{{{imcolor|{{{bordercolor|#101010}}}|#505050}}}; text-align:center; font-size:{{{logo-size|{{{5|{{{id-s|14}}}}}}}}}pt; color:{{{logo-color|{{{id-fc|#ffffff}}}}}};" | {{#if:{{{image|}}}|[[File:{{{image|}}}|{{{imagesize|48x44px}}}]]|'''Img'''}}
    border: {{{borderwidth|5px}}} solid {{{bordercolor|#101010}}};
    | style="background:{{{color|#000000}}}; font-size:{{{info-size|{{{info-s|8}}}}}}pt; padding:4pt; line-height:1.25em; color:{{{bordercolor|#ffffff}}};" | {{{text|''Text''}}}{{#if:{{{quote|}}}|<br>"''{{{quote|}}}''"|}}
    border-radius: 5px;
    |}</div>
    margin: 1px;
    width: 250px">
    {| cellspacing="0" style="width:{{{width|250px}}}; background:{{{incolor|{{{color|#000}}}|#000}}};"
    | style="width:{{{cellwidth|55px}}}; height:44px; background:{{{imcolor|{{{bordercolor|#101010}}}|#505050}}}; text-align:center; font-size:{{{logo-size|{{{5|{{{id-s|14}}}}}}}}}pt; color:{{{logo-color|{{{id-fc|#FFF}}}}}};" | {{#if:{{{image|}}}|[[File:{{{image|}}}|{{{imagesize|48x44px}}}]]|'''Img'''}}
    | style="background:{{{color|#000}}}; font-size:{{{info-size|{{{info-s|8}}}}}}pt; padding:4pt; line-height:1.25em; color:{{{bordercolor|#FFF}}};" | <div class="center"><div style="font-size: 12pt">'''{{{text|''Text''}}}'''</div><br>"''{{{quote|}}}''"</div>
    |}
    </div>
    </includeonly><noinclude>
    {{Documentation}}
    </noinclude>

    Latest revision as of 20:30, 14 May 2023

    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

    {{Userbox
    | borderwidth =
    | width       =
    | bgcolor     =
    | fgcolor     =
    | imcolor     =
    | textcolor   =
    | image       =
    | imagewidth  =
    | text        =
    | quote       =
    }}
    

    Making a userbox

    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.


    This user is an Egoist.

    "The people are dead! Good-day, Self!"


    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
    }}
    
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.

    Recent changes

  • Soc255 • 1 minute ago
  • Soc255 • 3 minutes ago
  • Soc255 • 19 minutes ago
  • EmperorAlexander99 • 39 minutes ago
  • Cookies help us deliver our services. By using our services, you agree to our use of cookies.