Template:Ubx-section/doc

This template merges, and , with some upgrades. In absence of given parameters, this template renders a simple ; otherwise it works as a more versatile and customizable version of. The optional sub-parameters Background, Color and Y allow new additional layouts.

Parameters

 * title (setting hide will show an empty title box; whereas none will make the title box disappear too)
 * collapsed
 * content (alias unnamed parameter 1)
 * background background color
 * background1 for the title box only
 * background2 for the content box only
 * color font color
 * main


 * Notes

With content

 * MAIN Group NO title


 * }


 * Group NO title


 * }


 * MAIN Group


 * }


 * Group


 * }


 * MAIN Group


 * }


 * Group


 * }


 * MAIN Group


 * }


 * Group


 * }

Without content

 * MAIN Break NO title, NO content


 * }


 * Break NO title, NO content


 * }


 * MAIN Group, NO content


 * }


 * Group, NO content


 * }


 * MAIN Special-Break, NO content


 * }


 * Special-Break, NO content


 * }


 * MAIN Special-Break, NO content


 * }


 * Special-Break, NO content


 * }
 * NB: Invisible line.

Background and colors

 * MAIN Group NO title; background


 * }


 * Group NO title; background, background2, color


 * }


 * MAIN Group, background1


 * }


 * Group, background1


 * }


 * MAIN Group, background2


 * }


 * Group, background2


 * }


 * MAIN Break NO title, NO content; background


 * }


 * Break NO title, NO content; background


 * }
 * NB: background parameters have no effect on simple break lines.