Template:Userbox container: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
mNo edit summary
mNo edit summary
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="0" style="float:right; {{t|1=clear:right; border:1px solid #999999;|1{{{border|}}}=}} margin:0 0 0 0; width:250px; background-color:#ffffff; border-collapse:collapse;">{{t|1=|1{{{hideu|}}}=<tr><th style="padding:4px 4px 4px 4px; text-align:left; background:{{{c1|#D6F0F5}}}; {{t|1=text-align:center; line-height:1.5; color:#ffffff;|1{{{border|}}}=}}">Userboxes</th></tr>}}{{t|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background:{{{c2|#94C7D1}}};"><td style="padding:0 4px 0 4px;">
<table border="0" cellspacing="0" cellpadding="0" style="float:right; {{t|1=clear:right; border:1px solid #002d33;|1{{{border|}}}=}} margin:0 0 0 0; width:250px; background-color:#002d33; border-collapse:collapse;">{{t|1=|1{{{hideu|}}}=<tr><th style="padding:4px 4px 4px 4px; text-align:center; background: #002d33; color: #cccccc; font-size:8pt; text-align: center;">Userboxes</th></tr>}}{{t|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background:{{{c2|#2b2b2b}}};"><td style="padding:0 4px 0 4px;">
{{{ub1|}}}
{{{ub1|}}}
</td></tr>|1{{{ub1|}}}=}}{{t|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background:{{{c2|#94C7D1}}};"><td style="padding:0 4px 0 4px;">
</td></tr>|1{{{ub1|}}}=}}{{t|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background:{{{c2|#94C7D1}}};"><td style="padding:0 4px 0 4px;">

Revision as of 18:01, 12 May 2009

Userboxes

Field list

  • ub1
  • ub2
  • ub3
  • ub4
  • ub5
  • ub6
  • ub7
  • ub8
  • ub9
  • ub10
  • ub11
  • ub12
  • c1 (optional color modifier)
  • c2 (optional color modifier)

Display parameter

  • hideu
  • border

Details

This userbox container is an optional extension that allows the user to nest a maximum of 12 userboxes within their user infobox.

Usage

To use this template, paste the following code into the top of your userpage, filling all relevant fields:

{{userbox container
|ub1=
|ub2=
|ub3= 
|ub4=
|ub5=
|ub6=
|ub7= 
|ub8= 
|ub9=
|ub10=
|ub11=
|ub12=
}}

Notes

  1. If any value is assigned to the "border" variable, a standard infobox border will be added to the the userbox container. This feature allows the template to be used independendly from the user infobox template.

For instance:

{{userbox container
|border=border
}}

Produces this:

Userboxes


Example

Userboxes
en This user is a native speaker of English.
fox This user contributes using Mozilla Firefox.
sw-3 This user has an advanced understanding of the Star Wars Galaxy.

Code

{{userbox container
|c1=#99ccff
|c2=#3366cc
|ub1={{user en}}
|ub2={{user fox}}
|ub3={{user sw-3}}
}}