Template:Userbox: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
m (Text replacement - "|black}}}" to "|#000}}}")
 
(2 intermediate revisions by one other user not shown)
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;">
<div class="userbox" style="float:{{{float|left}}}; 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}}}}}}}}};"
{| cellspacing="0" style="width:238px; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}}"
| style="width:45px; height:45px; background:{{{logo-background|{{{1|{{{id-c|#DDD}}}}}}}}}; text-align:center; font-size:{{{logo-size|{{{5|{{{id-s|14}}}}}}}}}pt; color:{{{logo-color|{{{id-fc|black}}}}}};" | '''{{{logo|{{{3|{{{id|id}}}}}}}}}'''
| style="width:45px; height:45px; background:{{{logo-background|{{{1|{{{id-c|#DDD}}}}}}}}}; text-align:center; font-size:{{{logo-size|{{{5|{{{id-s|14}}}}}}}}}pt; color:{{{logo-color|{{{id-fc|#000}}}}}}" | '''{{{logo|{{{3|{{{id|id}}}}}}}}}'''
| style="font-size:{{{info-size|{{{info-s|8}}}}}}pt; padding:4pt; line-height:1.25em; color:{{{info-color|{{{info-fc|black}}}}}};" | {{{info|{{{4|{{{info|''info''}}}}}}}}}
| style="font-size:{{{info-size|{{{info-s|8}}}}}}pt; padding:4pt; line-height:1.25em; color:{{{info-color|{{{info-fc|#000}}}}}}" | {{{info|{{{4|{{{info|''info''}}}}}}}}}
|}</div><noinclude>
|}</div><noinclude>
<br clear="all">
<br clear="all">
Line 24: Line 24:


[[Category:Userboxes|*]]
[[Category:Userboxes|*]]
[[Category:Parent templates|Userbox]]
[[Category:Parent templates|Userbox]]</noinclude>
</noinclude>

Latest revision as of 15:54, September 15, 2022

id info


Usage

{{Userbox
|id       = id text or image
|id-c     = id background color
|id-fc    = id font color
|id-s     = id text size
|info     = info text
|info-c   = info background color
|info-fc  = info font color
|info-s   = info text size
|border-c = box color
|border-s = border width in pixels
}}
  • It is suggested that you limit the size of any images in the "id" box to 40 pixels.
  • For a list of colors and the Hex codes for them, see this Wikipedia page.