Difference between revisions of "Template:Userbox"

From GuildWiki
Jump to: navigation, search
m (Reverted edit(s) of Honorable Sarah, changed back to last version by Jack)
m (yeah...dumb tables)
 
(6 intermediate revisions by 5 users 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:236px; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}};"
 
{| 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="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''}}}}}}}}}
 
| 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>[[Category:Templates/Notices]]</noinclude>
+
|}</div><noinclude>{{/doc}}</noinclude>

Latest revision as of 03:05, 7 February 2009

id 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.}}
Energy.png 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.}}
UGLY This user likes high contrast.

Notes