Template:Ubx-section/doc

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=Y allow new additional layouts.

Parameters[edit]

  • |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]
  • |main=[b][a]
Notes
  1. ^ a b If |main=Y the title becomes bigger, non-collapsible, and a black border is added.
  2. ^ a b c If |main=Y the default colors are |background1=#339, |background2=#88C and |color=White , otherwise they are |background1=#DDF, |background2=#FFF and |color=Black .
  3. ^ a b |background1= and |background2= both overwrite the overall |background=.

Examples[edit]

With content[edit]


Without content[edit]


Background and colors[edit]