Get our free book (in Spanish or English) on rainwater now - To Catch the Rain.

Template:Ambox/doc

From Appropedia
Jump to: navigation, search

This is the {{ambox}} or article message box meta-template.

It is used to build article message box templates such as wikipedia:Template:wikify. It offers several different colours, uses default images if no image parameter is given and it has some other features.

This meta-template uses the ambox CSS classes in MediaWiki:Common.css. The classes can also be used directly in a wikitable if special functionality is needed. See the how-to guide for that.

Usage[edit]

Simple usage example:

{{ambox | text = Some text.}}

For more usage information and examples, see the template documentation on Wikipedia.

See also[edit]

There are several meta-templates in the mbox family:

  • {{ambox}} – For article message boxes.
  • {{tmbox}} – For talk page message boxes.
  • {{imbox}} – For file (image) page message boxes.
  • {{cmbox}} – For category message boxes.
  • {{ombox}} – For other pages message boxes.
  • {{mbox}} – Has namespace detection, for message boxes that are used on several types of pages and thus need to change style depending on what page they are used on.

Closely related meta-templates:

Other pages:

External links[edit]

Wikipedia
This page or section includes content from Wikipedia. The original article was at Template:Ambox. The list of authors can be seen in the history for that page. As with Appropedia, the text of Wikipedia is available under the CC-BY-SA.