Template:DD-box
From BoyWiki
- 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 boxwidth
: box width (50%
)borderColor
: (#AAAAAA
)bgColorB
: box background color (#FFFFFF
)bgColorC
: content background color (white
)bgColorT
: title background coloralignB
: box align (left, right, center or justify
)alignC
: content alignalignT
: title alignfontSize
: 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="⇩">
Colors table