Template:Nbox

From ChoralWiki
Jump to navigation Jump to search

Displayed text

Documentation

Inline box with fixed margins for displaying material, optional parameters:

|marginL=<margin-left, default=0px>
|marginR=<margin-right, default=0px>
|marginB=<margin-bottom, default=0>
|marginT=<margin-top, default=0>
|bdwidth=<borderwidth in pixels, default=1> 
|bdcolor=<bordercolor, default=#d2c3b4>
|padding=<padding, default=0 0 0 0 (top, right, bottom, left)>
|bgcolor=<backgroundcolor, default=#f0f0f0; other options include:
   g   =#ddffdd (green)
   r   =#ffdddd (red)
   y   =#ffffbb (yellow)
   b   =#ddddff (blue)
   m   =#ddccff (magenta)
   o   =#ffeebb (orange)
   none=#ffffff (white)
   w   =#ffffff (white)
and 18 grayscale levels gs0 (white) to gs17 (black)
>
|text=<text to display, defaults to parameter 1 when no optional parameters are used

Example:

The line below

Here are {{nbox|some}} {{nbox|c=y|boxed}} {{nbox|c=r|examples}}.

is displayed as

Here are some boxed examples.