Currently there may be errors shown on top of a page, because of a missing Wiki update (PHP version and extension DPL3).
Navigation
Topics Help • Register • News • History • How to • Sequences statistics • Template prototypes

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.