Template:DisplayBox

From ChoralWiki
Revision as of 15:30, 10 September 2016 by Carlos (talk | contribs) (moved documentation from the comments to a visible box)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Documentation

Centered box with fixed margins for displaying material

Syntax:

{{DisplayBox|<displayed text>}}

Optional parameters:

|marginL=<margin-left, default=30px>
|marginR=<margin-right, default=30px>
|marginB=<margin-bottom, default=0>
|marginT=<margin-top, default=0>
|bdwidth=<borderwidth in pixels, default=1> 
|bdcolor=<bordercolor, default=#3399ff>
|padding=<padding, default=0.4em 1em 0.4em 1em (top, right, bottom, left)>
|bgcolor=<backgroundcolor, default=#d8d8d8;> other options include:
   grey=#dddddd
   char=#bbbbbb (charcoal)
   g   =#ddffdd (green)
   r   =#ffdddd (red)
   y   =#ffffbb (yellow)
   b   =#ddddff (blue)
   m   =#ddccff (magenta)
   o   =#ffeebb (orange)
   none=#ffffff (white)
   w   =#ffffff (white)
|title=<optional; a centered title displayed in bold>
|text=<text to display, defaults to parameter 1 when no optional parameters are used>