Difference between revisions of "Template:Userbox"

From GuildWiki
Jump to: navigation, search
m (a test)
Line 1: Line 1:
<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;">
+
<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:236px; 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="font-size:{{{info-size|{{{info-s|8}}}}}}pt; padding:4pt; line-height:1.25em; color:{{{info-color|{{{info-fc|black}}}}}};" | {{{info|{{{4|{{{info|''info''}}}}}}}}}|}</div>
  +
{| cellspacing="0" style="width:236px; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}};"
 
 
<noinclude>{{/doc}}</noinclude>
| 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="font-size:{{{info-size|{{{info-s|8}}}}}}pt; padding:4pt; line-height:1.25em; color:{{{info-color|{{{info-fc|black}}}}}};" | {{{info|{{{4|{{{info|''info''}}}}}}}}}
 
|}</div><noinclude>{{/doc}}</noinclude>
 

Revision as of 03:04, 7 February 2009

{| cellspacing="0" style="width:236px; background:#EEE;"| style="width:45px; height:45px; background:#DDD; text-align:center; font-size:14pt; color:black;" | id|style="font-size:8pt; padding:4pt; line-height:1.25em; color:black;" | info|}

Usage

Simple:

{{userbox|ID-Color|INFO-Color|ID|INFO|Logo-text-size}}

Complete:

{{userbox
  |float=''float''
  |border-width=''width (px)''
  |border-color=''color''
  |logo-background=''color''
  |logo-size=''"id" font size (pts)''
  |logo-color=''"id" font color''
  |logo=''"id"''
  |info-background=''color''
  |info-color=''color''
  |info-size=''size (pts)''
  |info=''info''
 }}

Examples

Wikitext Result
{{userbox|blue|lightblue|[[Image:Energy.png]]|This user likes energy.}} cellspacing="0" style="width:236px; background:lightblue;"| style="width:45px; height:45px; background:blue; text-align:center; font-size:14pt; color:black;" | Energy.png|style="font-size:8pt; padding:4pt; line-height:1.25em; color:black;" | This user likes energy.|}


{{userbox | border-width=5 | border-color=purple | logo-background=gray | logo-size=25 | logo-color=red | logo=UGLY | info-background=blue | info-color=yellow | info-size = 10 | info=This user likes high contrast.}} cellspacing="0" style="width:236px; background:blue;"| style="width:45px; height:45px; background:gray; text-align:center; font-size:25pt; color:red;" | UGLY|style="font-size:10pt; padding:4pt; line-height:1.25em; color:yellow;" | This user likes high contrast.|}


Notes