From Wikipedia, the free encyclopedia
This template merges Template:User line , Template:Userboxbreak and Template:Userboxgroup , with some upgrades.
In absence of given parameters, this template renders a simple Template:User line ; otherwise it works as a more versatile and customizable version of Template:Userboxgroup .
The optional sub-parameters | background = , | color = and | main = allow new additional layouts.
| title = (setting | title = hide will show an empty title box; whereas | title = none will make the title box disappear too)
| collapsed = [ a]
| content = (alias unnamed parameter | 1 = )
| background = background color[ b]
| background1 = for the title box only[ c]
| background2 = for the content box only[ c]
| color = font color[ b]
| color1 = for the title box only[ d]
| color2 = for the content box only[ d]
| main = [ b] [ a]
Notes
1 2 3 If | main = Y, the title becomes bigger, non-collapsible, and a black border is added. If | mid = Y, only the black border is added.
1 2 3 4 If | main = Y, the default colors are | background1 = #339 , | background2 = #88C and | color = White . If | mid = Y, the default colors are | background1 = #339 , | background2 = #FFF and | color = Black . Otherwise they are | background1 = #DDF , | background2 = #FFF and | color = Black .
1 2 | background1 = and | background2 = both overwrite the overall | background = .
1 2 | color1 = and | color2 = both overwrite the overall | color = .
MAIN Group → title=Example
MAIN Group → NO title, NO content
Break → NO title, NO content
MAIN Group → title=Example, NO content
Group → title=Example, NO content
MAIN Special-Break → title=hide, NO content
Special-Break → title=hide, NO content
MAIN Special-Break → title=none, NO content
Special-Break → title=none, NO content
NB: Invisible line.
Background and colors [ edit ]
MAIN Group → NO title; background
Group → NO title; background, background2, color
{ { ubx-section | background=#FCC| background2=#FEE| color=#B30| Content} }
MAIN Group → title=Example, background1
{ { ubx-section | main=Y| title=Example| background1=black| Content} }
Group → title=Example, background1
MAIN Group → title=Example, background2
{ { ubx-section | main=Y| title=Example| background2=#BCD| Content} }
Group → title=Example, background2
MAIN Group → NO title, NO content; background
Break → NO title, NO content; background
NB: background parameters have no effect on simple break lines.