Jump to navigation Jump to search

Template:Content box/doc: Difference between revisions

(Created page with "'''{{tl|Content box}}''' is a content template that produces a box of content with a heading. It is primarily used on portal pages and should not be used on other content pages. Alternatively, {{tl|Content box start}} and {{tl|Content box end}} can be used to encapsulate content in a content box. == Usage == <pre> {{Content box | title = | content = | bgcolor = | border-width = | border-style = | bo...")
 
(No difference)

Latest revision as of 00:22, 20 March 2023

{{Content box}} is a content template that produces a box of content with a heading. It is primarily used on portal pages and should not be used on other content pages.

Alternatively, {{Content box start}} and {{Content box end}} can be used to encapsulate content in a content box.

Usage

{{Content box
| title   = 
| content = 

| bgcolor       = 
| border-width  = 
| border-style  = 
| border-color  = 
| title-bgcolor = 
| font-size     = 
| title-color   = 
}}

Only title and content are required.

{{Content box start
| title = 
}}

...

{{Content box end}}

Examples

{{Content box
| title   = Aroden's Bathtub
| content = It's where Aroden was murdered in his sleep.
}}
Aroden's Bathtub
It's where Aroden was murdered in his sleep.
{{Content box start
| title = This is a true fact
}}

Aroden slipped and fell. That's how it happened. But who put the soap on the floor? Was it............ Rovagug????

{{Content box end}}
This is a true fact

Aroden slipped and fell. That's how it happened. But who put the soap on the floor? Was it............ Rovagug????