Permanently protected template

Difference between revisions of "Template:Ivory messagebox"

From Bogleheads
Jump to navigation Jump to search
(Update to most recent Wikipedia version, source,
(Replace Wikipedia template.)
Line 1: Line 1:
<table class="messagebox {{{{{|safesubst:}}}#if:{{{plainlinks|}}}|plainlinks}}" style="border: 1px solid {{{border|#AAA}}}; background: {{{bg|ivory}}}; padding: 0.5em; width: 100%;{{{extracss|}}}">
| image = none
|<td style="vertical-align:{{{valign|middle}}}; padding-left:{{{p-l|1px}}}; padding-right:{{{p-r|0.5em}}};">{{{{{|safesubst:}}}#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{2}}}}}}|size={{{imagesize|25px}}}|link={{{image link|}}}|alt={{{image alt|}}}}}</td>
| style = border: 1px solid #AAA; background: ivory; padding: 0.2em; width: 100%; margin:0;
| text = {{{text|Insert text here}}}

Latest revision as of 23:36, 31 October 2020

Documentation icon Template documentation[view] [edit] [history] [purge]


This template supercedes Template:Ivory messagebox with {{Mbox}} set to an Ivory colored background with no image.

The Wikipedia implementation has formatting issues with bulleted lists, references, and notes.

To use the template, enter the text as follows:

{{Ivory messagebox | text = Text to display}}

which results in:

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.