Difference between revisions of "Template:Ombox/doc"
Jump to navigation
Jump to search
(/doc templates are categorized via {{documentation subpage}} only) |
(Updated description.) |
||
Line 4: | Line 4: | ||
This is the {{tl|ombox}} or '''other pages message box''' meta-template. | This is the {{tl|ombox}} or '''other pages message box''' meta-template. | ||
− | It is used to build message box templates for pages of the types: User, | + | It is used to build message box templates for pages of the types: User, Bogleheads, MediaWiki, Template, Help and any new future namespaces. That is, page types not covered by {{tl|ambox}}, {{tl|tmbox}}, {{tl|imbox}} or {{tl|cmbox}}. Thus, it should ''not'' be used for boxes for articles, talk pages, image pages or category pages. |
This template works almost exactly like {{tl|ambox}} and uses the same parameters. | This template works almost exactly like {{tl|ambox}} and uses the same parameters. |
Revision as of 22:02, 9 December 2012
![]() | 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. |
Message box meta-templates |
---|
This is the {{ombox}} or other pages message box meta-template.
It is used to build message box templates for pages of the types: User, Bogleheads, MediaWiki, Template, Help and any new future namespaces. That is, page types not covered by {{ambox}}, {{tmbox}}, {{imbox}} or {{cmbox}}. Thus, it should not be used for boxes for articles, talk pages, image pages or category pages.
This template works almost exactly like {{ambox}} and uses the same parameters.
Usage
Simple usage example:
{{ombox | text = Some text.}}
![]() | Some text. |
See also
- See the Ombox documentation on Wikipedia for more information.
There are seven metatemplates in the Module:Message box family:
- {{Ambox}}, for messageboxes on article pages.
- {{Cmbox}}, for messageboxes on category pages.
- {{Imbox}}, for messageboxes on file (image) pages.
- {{Tmbox}}, for messageboxes on talk pages.
- {{Fmbox}}, for header and footer messageboxes.
- {{Ombox}}, for messageboxes on other types of page.
- {{Mbox}}, for messageboxes that are used in different namespaces and change their presentation accordingly.
Closely related metatemplates:
- {{Asbox}}, for messageboxes in article stubs.
- {{Dmbox}}, for messageboxes on disambiguation or set-index pages.
- {{Ivmbox}}, a simple full-width box with default ivory background intended to frame important messages or notices.