Template:Userbox-2: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
Gingerfool (talk | contribs) mNo edit summary |
Gingerfool (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<div style="border:{{{9|{{{border-s|1}}}}}}px solid {{{1|{{{border-c|{{{ | <div style="float:{{{float|none}}}; border:{{{9|{{{border-s|1}}}}}}px solid {{{1|{{{border-c|{{{id1-c|#999999}}}}}}}}}; margin:1px; width:238px;" class="wikipediauserbox {{{bodyclass|}}}"> | ||
{| style="border-collapse:collapse; width:238px; margin-bottom:0; background: {{{2|{{{info-c|#eeeeee}}}}}};" | {| style="border-collapse:collapse; width:238px; margin-bottom:0; background: {{{2|{{{info-c|#eeeeee}}}}}};" | ||
! style="border:0; width:{{{ | ! style="border:0; width:{{{id1-w|45}}}px; height:{{{id-h|45}}}px; background: {{{1|{{{id1-c|#dddddd}}}}}}; text-align: center; font-size: {{{id1-s|14}}}pt; line-height:{{{id1-lh|1.25em}}}; color: {{{id1-fc|black}}}; vertical-align:middle; padding:{{{id1-p|0 1px 0 0}}}; {{{id1-op|}}}" | {{{3|{{{id1|id1}}}}}} | ||
| style="border:0; text-align:{{{info-a|left}}}; font-size: {{{info-s|8}}}pt; color: {{{8|{{{info-fc|black}}}}}}; padding: {{{info-p|0 4px 0 4px}}}; line-height: {{{info-lh|1.25em}}}; vertical-align:middle; {{{info-op|}}}" | {{{4|{{{info|''info''}}}}}} | | style="border:0; text-align:{{{info-a|left}}}; font-size: {{{info-s|8}}}pt; color: {{{8|{{{info-fc|black}}}}}}; padding: {{{info-p|0 4px 0 4px}}}; line-height: {{{info-lh|1.25em}}}; vertical-align:middle; {{{info-op|}}}" | {{{4|{{{info|''info''}}}}}} | ||
! style="border:0; width:{{{id2-w|45}}}px; height:{{{id-h|45}}}px; background: {{{7|{{{id2-c|{{{1|{{{ | ! style="border:0; width:{{{id2-w|45}}}px; height:{{{id-h|45}}}px; background: {{{7|{{{id2-c|{{{1|{{{id1-c|#dddddd}}}}}}}}}}}}; text-align: center; font-size: {{{id2-s|14}}}pt; line-height:{{{id2-lh|1.25em}}}; color: {{{id2-fc|black}}}; vertical-align:middle; padding:{{{id2-p|0 0 0 1px}}}; {{{id2-op|}}}" | {{{5|{{{id2|id2}}}}}} | ||
|}</div> | |}</div>{{#if:{{{usercategory|}}}{{{usercategory2|}}}{{{usercategory3|}}}|{{category handler | ||
<noinclude> | |nocat = {{{nocat|}}} | ||
|user = {{#if:{{{usercategory|}}}|[[Category:{{{usercategory}}}]]}}{{#if:{{{usercategory2|}}}|[[Category:{{{usercategory2}}}]]}}{{#if:{{{usercategory3|}}}|[[Category:{{{usercategory3}}}]]}} | |||
|template = {{#if:{{{usercategory|}}}|[[Category:{{{usercategory}}}| {{PAGENAME}}]]}}{{#if:{{{usercategory2|}}}|[[Category:{{{usercategory2}}}| {{PAGENAME}}]]}}{{#if:{{{usercategory3|}}}|[[Category:{{{usercategory3}}}| {{PAGENAME}}]]}} | |||
}}}}<noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 22:26, 7 May 2024
id1 | info | id2 |
---|
Instructions for {{Userbox-2}}
== Usage ==
{{userbox | bodyclass = <!--Adds an HTML class attribute to the entire template's HTML table, to allow for styling, emission of microformats, etc.--> | border-c = <!--border color (default=id-c)--> | border-s = <!--border width in pixels (default=1)--> | float = <!--left|right|none (default=left)--> | id = <!--id image and/or text--> non connect | 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-h = <!--id box height in pixels (default=45)--> | id-lh = <!--id line height (default=1.25em)--> | id-op = <!--id other CSS parameters--> | id-p = <!--id cell padding (default=0 1px 0 0)--> | id-s = <!--id text size in points (default=14)--> | id-w = <!--id box width 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=center)--> | info-c = <!--info background color (default=#e0e0e0)--> | info-fc = <!--info font color (default=black)--> | info-lh = <!--info line height (default=1.25em)--> | info-op = <!--info other CSS parameters--> | info-p = <!--info padding (default=0 4px 0 4px)--> | info-s = <!--info text size in points (default=8)--> | | id2 = <!--id image and/or text--> non connect | id2-a = <!--id horizontal alignment left/center/right/justify (default=center)--> | id2-c = <!--id background color (default=#d0d0d0)--> | id2-fc = <!--id font color (default=black)--> | id2-h = <!--id box height in pixels (default=45)--> | id2-lh = <!--id line height (default=1.25em)--> | id2-op = <!--id other CSS parameters--> | id2-p = <!--id cell padding (default=0 1px 0 0)--> | id2-s = <!--id text size in points (default=14)--> | id2-w = <!--id box width in pixels (default=45)--> }}
- It is suggested that you limit the size of any images in the id boxes to 40 pixels.
- For a list of colors and the Hex codes for them, see this Wikipedia page.