Template:Box top

From PortlandWiki
Revision as of 20:51, 21 March 2012 by Kotra (talk | contribs) (padding tweaks)
Jump to navigation Jump to search
{{{title}}}

How to use

This template is to be used in conjunction with Template:Box bottom. The text you want to encapsulate in this box should be sandwiched between the two templates, like so:

{{ box top 
| title = 
| title color = 
| title background color = 
| body background color =
| border color = 
}}

Example text. Today I woke up, brushed my teeth, and got dressed. then I went to work. Then I edited PortlandWiki at work all day until the boss caught me and now I'm out of a job. Thanks, PortlandWiki!

{{ box bottom }}

title

The text that goes at the top of the box.

Example:
Things I did today

title color

The color of the title text, in hexadecimal (#808080) or X11 color name (Gray).

Example:
#000000

title background color

The color of the background for the title bar.

Example:
#c0c0c0

body background color

The color of the background for the rest of the box (where most of the content goes). The text in the body will always be the standard black, so a light color is best for the background.

Example:
#f0f0f0

border color

The color of the border for the entire box. Generally, a darker shade of the body or title background color tends to work well.

Example:
#b0b0b0