Template:DD-box

From BoyWiki
Revision as of 16:39, 21 October 2013 by Pinocchio (talk | contribs) (test)


Use
title box whose contents can be displayed or hidden.
mini syntax
{{DD-box | title= | content= }}
Params
  • br: header line feed (br=yes, br=no)
  • rounded: rounded corner (rounded=0.6em
  • image: left image ([[Image:Gtk-dialog-info.svg|15px]])
  • height: wrapped box height (not less 1.6em)
  • marginTop: margin before the box (1em)
  • marginBottom: margin after the box
  • width: box width (50%)
  • borderColor: (#AAAAAA)
  • bgColorB: box background color (#FFFFFF)
  • bgColorC: content background color (white)
  • bgColorT: title background color
  • alignB: box align (left, right, center or justify)
  • alignC: content align
  • alignT: title align
  • fontSize: content font size (0.9em)
  • label: switches to open/close the box ([open]:[close])
  • textColorT: title color text
Example

{{DD-box|titre=Colors table|rounded=0.6em|align=center|width=98%|bgColorB=#eee|bgColorT=#fff|bgColorC=#fff|content={{Colors table}}}}


<div class="NavFrame" style="margin-top:0em; margin-bottom:0.5em; width:98%; border-style:solid; border-radius:0.6em;border-color:#AAAAAA; background-color:#eee;" title=":">