Difference between revisions of "Template:Userbox"

From blackwiki
Jump to navigation Jump to search
blackwiki>Edokter
(Undo !important; This makes customizing completely impossible. Fix in MobileFrontend please.)
blackwiki>Waldyrious
(Having the witdth in the div fixes it (we should probably remove it from the table now, as it's redundant). Also, included box-sizing:border-box so that custom border widths don't break the uniform sizing.)
Line 1: Line 1:
<div style="float:{{{float|left}}}; border:{{{border-width|{{{border-s|1}}}}}}px solid {{{border-color|{{{1|{{{border-c|{{{id-c|#999}}}}}}}}}}}}; margin:1px;" class="wikipediauserbox {{{bodyclass|}}}">
+
<div style="float:{{{float|left}}}; border:{{{border-width|{{{border-s|1}}}}}}px solid {{{border-color|{{{1|{{{border-c|{{{id-c|#999}}}}}}}}}}}}; margin:1px; width:238px; {{css3|box-sizing: border-box}}" class="wikipediauserbox {{{bodyclass|}}}">
{| cellspacing="0" style="width:238px; margin-bottom:0; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}}"
+
{| cellspacing="0" style=" width:238px; margin-bottom:0; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}}"
 
{{#if:{{{logo|{{{3|{{{id|id}}}}}}}}}|
 
{{#if:{{{logo|{{{3|{{{id|id}}}}}}}}}|
 
! style="width:{{{logo-width|{{{id-w|45}}}}}}px; height:{{{logo-height|{{{id-h|45}}}}}}px; background:{{{logo-background|{{{1|{{{id-c|#DDD}}}}}}}}}; text-align:{{{id-a|center}}}; font-size:{{{logo-size|{{{5|{{{id-s|14}}}}}}}}}pt; color:{{{logo-color|{{{id-fc|black}}}}}}; padding:{{{logo-padding|{{{id-p|0 1px 0 0}}}}}}; line-height:{{{logo-line-height|{{{id-lh|1.25em}}}}}}; vertical-align: middle; {{{logo-other-param|{{{id-op|}}}}}}" {{#if:{{{id-class|}}}|class="{{{id-class}}}"}} {{!}} {{{logo|{{{3|{{{id|id}}}}}}}}}
 
! style="width:{{{logo-width|{{{id-w|45}}}}}}px; height:{{{logo-height|{{{id-h|45}}}}}}px; background:{{{logo-background|{{{1|{{{id-c|#DDD}}}}}}}}}; text-align:{{{id-a|center}}}; font-size:{{{logo-size|{{{5|{{{id-s|14}}}}}}}}}pt; color:{{{logo-color|{{{id-fc|black}}}}}}; padding:{{{logo-padding|{{{id-p|0 1px 0 0}}}}}}; line-height:{{{logo-line-height|{{{id-lh|1.25em}}}}}}; vertical-align: middle; {{{logo-other-param|{{{id-op|}}}}}}" {{#if:{{{id-class|}}}|class="{{{id-class}}}"}} {{!}} {{{logo|{{{3|{{{id|id}}}}}}}}}

Revision as of 14:16, 22 January 2012

id info
Template documentation[create]