Template:Ombox/doc

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
This is a documentation subpage for Template:Ombox.
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:Ombox.

Usage

{{Ombox|example text}}

More complex styling is possible, documented below.

Parameters

Legal values are given by indented bullet points. The only required parameter is |text.

  • |small - more compact message box
    • yes
  • |type - change icon/style for predefined uses
    • warning
    • content
    • style
    • move
    • protection
    • notice (default)
  • |image - optionally use a different image[note 1]
    • [[File:Example.jpg|size]]
  • |imageright - optionally add a second icon or image
    • [[File:Example.jpg|size]]
  • |style - CSS style for body
  • |textstyle - CSS style for text
  • |text (required) - message displayed
Notes
  1. As a hack, using the invisible 1×1 pixel File:Spacer.gif for the |image parameter effectively renders no image. (We're not really sure why you'd want to. But you can.)

Examples

Ambox

Cmbox

Imbox

Ombox

Tmbox

Fmbox

See also

  • {{Ambox}}: article message box
  • {{Cmbox}}: category message box
  • {{Fmbox}}: footer and header message box
  • {{Imbox}}: image message box
  • {{Ombox}}: other message box
  • {{Tmbox}}: talk message box