Difference between revisions of "Template:Userbox"
Jump to navigation
Jump to search
(creating a userbox template) |
m (Reverted edits by JoCopedia is raped by MarioMario456's 6-inch cock! (talk) to last revision by Apollo) Tags: Replaced Rollback |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div style="float: left; border:solid {{#if:{{{border|}}}|{{{border}}}|{{{background}}}}} 1px; margin: 1px;"> | <includeonly><div style="float: left; border:solid {{#if:{{{border|}}}|{{{border}}}|{{{background}}}}} 1px; margin: 1px;"> | ||
− | {| cellspacing="0" style="width: 240px; background: | + | {| cellspacing="0" style="width: 240px; background: {{{messagebackground}}};" |
| style="width: 45px; height: 45px; background: {{{boxbackground}}}; text-align: center; font-size: 14pt; color: {{{boxtextcolor}}}" | {{{boxtext}}} | | style="width: 45px; height: 45px; background: {{{boxbackground}}}; text-align: center; font-size: 14pt; color: {{{boxtextcolor}}}" | {{{boxtext}}} | ||
| style="font-size:8pt;padding:4pt;line-height:1.25em;" | {{{message}}} | | style="font-size:8pt;padding:4pt;line-height:1.25em;" | {{{message}}} |
Latest revision as of 09:48, 18 October 2021
The template can be entered as follows:
{{Userbox |border= border color (if no value is entered, box background color is used) |boxtext= box text (up to three capital letters or 45px image) |boxtextcolor= color of box text |boxbackground= box background color |message= main text |messagebackground= background color for section containing text }}
n.b.: for color hexes, the pound sign (#) must be included.