Difference between revisions of "Template:Ombox/doc"

From Bogleheads
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, finiki, 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.
+
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 23:02, 9 December 2012

Message box
meta-templates
templatecontext
{{Ambox}}article
{{Cmbox}}category
{{Imbox}}image
{{Tmbox}}talk
{{Fmbox}}footer / header
{{Ombox}}other pages
{{Mbox}}auto-detect
{{Asbox}}article stub
{{Dmbox}}disambiguation

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.}}

See also

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.

Templates intended to be used in conjunction with Mboxes: