Difference between revisions of "Template:Userbox"
Jump to navigation
Jump to search
m (Reverted edits by JoCopedia is raped by MarioMario456's 6-inch cock! (talk) to last revision by Apollo) Tags: Replaced Rollback |
|||
Line 1: | Line 1: | ||
− | <includeonly><div style=" | + | <includeonly><div style="float: left; border:solid {{#if:{{{border|}}}|{{{border}}}|{{{background}}}}} 1px; margin: 1px;"> |
+ | {| cellspacing="0" style="width: 240px; background: {{{messagebackground}}};" | ||
+ | | 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}}} | ||
+ | |} | ||
+ | </div></includeonly><noinclude> | ||
+ | The template can be entered as follows: | ||
+ | <pre> | ||
+ | {{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 | ||
+ | }} | ||
+ | </pre> | ||
+ | '''''n.b.''':'' for color hexes, the pound sign (#) must be included. | ||
+ | [[Category:Userboxes]]</noinclude> |
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.