Template:Userbox-2: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
mNo edit summary
Tag: Manual revert
mNo edit summary
Line 1: Line 1:
{| cellspacing="0" style="width:238px; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}}; float:{{{float|none}}}; border:{{{border-width|{{{border-s|1}}}}}}px solid {{{border-color|{{{1|{{{border-c|{{{id-c|#999}}}}}}}}}}}}; margin:1px;"
{| cellspacing="0" style="width:238px; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}}; float:{{{float|none}}}; border:{{{border-width|{{{border-s|1}}}}}}px solid {{{border-color|{{{1|{{{border-c|{{{id-c|#999}}}}}}}}}}}}; margin:1px; display:inline-block; vertical-align:middle;"
{{#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|1px}}}}}}; line-height:{{{logo-line-height|{{{id-lh|1.25em}}}}}}; vertical-align: middle; {{{logo-other-param|{{{id-op|}}}}}}" {{!}} {{{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|1px}}}}}}; line-height:{{{logo-line-height|{{{id-lh|1.25em}}}}}}; vertical-align: middle; {{{logo-other-param|{{{id-op|}}}}}}" {{!}} {{{logo|{{{3|{{{id|id}}}}}}}}}
Line 7: Line 7:
! style="width:{{{logo-width|{{{id2-w|45}}}}}}px; height:{{{logo-height|{{{id2-h|45}}}}}}px; background:{{{logo-background|{{{1|{{{id2-c|#DDD}}}}}}}}}; text-align:{{{id2-a|center}}}; font-size:{{{logo-size|{{{5|{{{id2-s|14}}}}}}}}}pt; color:{{{logo-color|{{{id2-fc|black}}}}}}; padding:{{{logo-padding|{{{id2-p|1px}}}}}}; line-height:{{{logo-line-height|{{{id2-lh|1.25em}}}}}}; vertical-align: middle; {{{logo-other-param|{{{id2-op|}}}}}}" {{!}} {{{logo|{{{3|{{{id2|id2}}}}}}}}}
! style="width:{{{logo-width|{{{id2-w|45}}}}}}px; height:{{{logo-height|{{{id2-h|45}}}}}}px; background:{{{logo-background|{{{1|{{{id2-c|#DDD}}}}}}}}}; text-align:{{{id2-a|center}}}; font-size:{{{logo-size|{{{5|{{{id2-s|14}}}}}}}}}pt; color:{{{logo-color|{{{id2-fc|black}}}}}}; padding:{{{logo-padding|{{{id2-p|1px}}}}}}; line-height:{{{logo-line-height|{{{id2-lh|1.25em}}}}}}; vertical-align: middle; {{{logo-other-param|{{{id2-op|}}}}}}" {{!}} {{{logo|{{{3|{{{id2|id2}}}}}}}}}
|}
|}
<noinclude>
<noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Userboxes]]
[[Category:Userboxes]]
</noinclude>
</noinclude>

Revision as of 10:18, 16 June 2024

id 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.