Template:Box

From Prime-Wiki
Jump to: navigation, search

Template Box:

Display contents in a seperate box which can be hidden.

Calling:

{{Box|<hide=true,false>|title=<text>|content=<text>}}

Parameters:

{{Box
|hide=
|title=
|content=
}}
hide: true or false (default)
title: text of centered title
content: contents to display in the box

Content hidden

{{Box|hide=true|title=Test|content=Here's the content.}}

creates

Test
Here's the content.

Content shown

{{Box|title=Test|content=Here's the content.}}

creates

Test
Here's the content.