Template:MsgBox

From Helminthic Therapy wiki
Jump to: navigation, search

Description Make a box of text. Each parameter is a line in the box. For caption use param |caption=Some caption|. Default width = "420px"

Usage 0: breadcrumb

Home>Wiki:Notes>Fake home page

Usage 0b: breadcrumb (with extra text)

Home>Wiki:Notes>Fake home page
Sub pages


Usage 1: {{MsgBox|caption=Sub pages| * [[Wiki:Sandbox]]| * [[Wiki:Test]]| }}

Usage 2: {{MsgBox|height=50px |* [[Wiki:Sandbox]] |* [[Wiki:Test]] |* [[Wiki:Test]] }}

Usage 3: {{MsgBox|caption=Warning|width=300px|color=#eeeeee|bcolor=#dddddd|ccolor=#cccccc| Warning Will Robinson. Danger! Danger! Danger! Danger! Danger!| }}

Warning

Warning Will Robinson. Danger! Danger! Danger! Danger! Danger!


Params:

  • width - eg |width=300px|
  • height - eg |height=300px| -- Purpose: Scrollbars will appear if content is longer than height specified.
  • caption - eg. |caption=Sub pages|
  • color - eg. |color=#121212|
  • border color - eg. |bcolor=red|
  • caption color - eg. |ccolor=blue|
  • padding of contents - eg |padding=10px 8px 12px 14px|

As a hover popup #1

As a hover popup #2

Dropdown 1
Warning

Warning Will Robinson. Danger! Danger! Danger! Danger! Danger!

Dropdown 2

Warning Will Robinson. Danger! Danger! Danger! Danger! Danger!

Dropdown 3 (scrolling)

Warning Will Robinson.

  • Danger!
  • Danger!
  • Danger!
  • Danger!
  • Danger!
  • Danger!
  • Danger!
  • Danger!
  • Danger!