Template:Divhide

From OniGalore

This template produces cute little boxes to hide text in. You simply place {{Divhide|some title}} at the start of the text you want to hide, and {{Divhide|end}} at the end, and everything in-between folds up nice and neat. Additional optional parameters:

  • show: Sets the initial state of the box; if it is set to "yes", the box will be open when the page loads, otherwise it will be collapsed initially.
  • bgcolor: Sets the background color of the entire box.
  • titlebgcolor, contentbgcolor: Exactly what you'd guess these are.

Example:

Look at me, I'm cute!
ʘ‿ʘ
(open to see markup for above)
{{Divhide|Look at me, I'm cute!|titlebgcolor=#FFFF80}}<center>ʘ‿ʘ</center>{{Divhide|end}}