Template:Ombox/doc
Jump to navigation
Jump to search
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
- ↑ 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
Warning example |
Content example |
Style example |
Move example |
Protection example |
Notice example |
Notice example (small) |
Cmbox
Warning example |
Content example |
Style example |
Move example |
Protection example |
Notice example |
Notice example (small) |
Imbox
Warning example |
Content example |
Style example |
Move example |
Protection example |
Notice example |
Notice example (small) |
Ombox
Warning example |
Content example |
Style example |
Move example |
Protection example |
Notice example |
Notice example (small) |
Tmbox
Warning example |
Content example |
Style example |
Move example |
Protection example |
Notice example |
Notice example (small) |
Fmbox
Warning example |
Notice example |
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