(Created page with "<div style="float: left; border: 1px solid {{{1}}}; margin: 1px;"> {| cellspacing="0" style="width: 238px; background-color: {{{2}}};" | style="width: 45px; height: 45px; back...") |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<div style="float: left; border: | <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|}}}"> | ||
{| cellspacing="0" style="width: 238px; background- | {| cellspacing="0" style="width:238px; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}};" | ||
| style="width: | {{#if:{{{logo|{{{3|{{{id|id}}}}}}}}}| | ||
| style="font-size: | ! 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|}}}}}}" {{!}} {{{logo|{{{3|{{{id|id}}}}}}}}} | ||
|} | }} | ||
</ | | style="text-align:{{{info-a|left}}}; font-size:{{{info-size|{{{info-s|8}}}}}}pt; padding:{{{info-padding|{{{info-p|0 4px 0 4px}}}}}}; height:{{{logo-height|{{{id-h|45}}}}}}px; line-height:{{{info-line-height|{{{info-lh|1.25em}}}}}}; color:{{{info-color|{{{info-fc|black}}}}}}; vertical-align: middle; {{{info-other-param|{{{info-op|}}}}}}" {{#if:{{{info-class|}}}|class="{{{info-class}}}"}} | {{{info|{{{4|''info''}}}}}} | ||
|}</div>{{#if:{{{usercategory|}}}{{{usercategory2|}}}{{{usercategory3|}}}|{{cat handler | |||
|nocat = {{{nocat|}}} | |||
|subpage = {{#if:{{{nocatsubpages|}}}|no}} | |||
|user = {{#if:{{{usercategory|}}}|[[Category:{{{usercategory}}}]]}}{{#if:{{{usercategory2|}}}|[[Category:{{{usercategory2}}}]]}}{{#if:{{{usercategory3|}}}|[[Category:{{{usercategory3}}}]]}} | |||
|template = {{#if:{{{usercategory|}}}|[[Category:{{{usercategory}}}| {{BASEPAGENAME}}]]}}{{#if:{{{usercategory2|}}}|[[Category:{{{usercategory2}}}| {{BASEPAGENAME}}]]}}{{#if:{{{usercategory3|}}}|[[Category:{{{usercategory3}}}| {{BASEPAGENAME}}]]}} | |||
}}}}<noinclude> | |||
{{documentation}} | |||
</noinclude> |
Latest revision as of 22:28, 6 February 2016
id | info |
---|
Usage
{{userbox | bodyclass = <!--Adds an HTML class attribute to the entire template's HTML table, to allow for styling, emission of microformats, etc. --> | float = <!--left|right|none (default = left)--> | border-c = <!--border color (default = id-c)--> | border-s = <!--border width in pixels (default = 1)--> | id = <!--id image and/or text--> | id-a = <!--id horizontal alignment left/center/right/justify (default = center)--> | id-c = <!--id background color (default = #d0d0d0)--> | id-fc = <!--id font color (default = black)--> | id-s = <!--id text size in points (default = 14)--> | id-p = <!--id cell padding (default = 0 1px 0 0)--> | id-lh = <!--id line height (default = 1.25em)--> | id-op = <!--id other CSS parameters--> | id-w = <!--id box width in pixels (default = 45)--> | id-h = <!--id box height in pixels (default = 45)--> | info-class = <!--Adds an HTML class attribute to the "info" HTML table-row, to allow for styling, emission of microformats, etc. --> | info = <!--info text and/or image--> | info-a = <!--info horizontal alignment left/center/right/justify (default = left)--> | info-c = <!--info background color (default = #e0e0e0)--> | info-fc = <!--info font color (default = black)--> | info-s = <!--info text size in points (default = 8)--> | info-p = <!--info padding (default = 0 4px 0 4px)--> | info-lh = <!--info line height (default = 1.25em)--> | info-op = <!--info other CSS parameters--> | nocat = <!--block page category declarations (default = false)--> | usercategory = <!--user category (optional)--> | usercategory2 = <!--user category (optional)--> | usercategory3 = <!--user category (optional)--> }}
See also
- Web colors
- Template:Userbox-r
- Template:Userbox-2
- All parameters are optional
- Images should normally be scaled to x45px or less.
The above documentation is transcluded from Template:Userbox/doc. Please add categories to the /doc subpage. Subpages of this template. |