Template:Ombox/doc
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. |
History
[edit]This is the {{ombox}} or other pages message box meta-template.
It is used to build generic-looking message box templates such as {{historical}}. It should be used in instances where {{ambox}} does not suffice, which is usually on pages outside of the Main namespace (such as policy and help pages).
This template is a derived work. It is, however, NOT exactly the same as Wikipedia's template of the same name! All CSS has been integrated into the template, and therefore some features are not available. However it is still a very useful template!
Usage
[edit]Example to display a notice:
{{ombox
| text = Hello world!
}}
The code above should return:
Hello world! |
Changing the image
[edit]You can change the image by applying the | image
parameter. For example, you could add [[Image:Historical.svg|30px|left]] to change the icon into an archive icon.
See also
[edit]- Template:Ambox — article message box
- Template:Imbox — image message box
- Template:Mbox — multi namespace message box
- Template:Tmbox — talk page message box