साँचा:Ivory messagebox/doc
{{
साँचा:namespace detect
| type = notice
| image =
| imageright =
| class =
| style = margin-bottom:1.0em;
| textstyle =
| text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page.
| small =
| smallimage =
| smallimageright =
| smalltext =
| subst =
| date =
| name =
}}
This template is used on approximately १,२९,००० pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This template is used in system messages, and on approximately १,२९,००० pages. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Please discuss changes on the talk page before implementing them. |
The ivory messagebox or Ivmbox is a simplistic, full-width box intended to surround important messages or notices. The ivory background of this template contrasts well to the white background used by most Wikipedia users on most Wikipedia pages (so it is noticeable enough to be used in notices or messages), but the background colour is not as garish as many other message boxes.
The basic use of the template is as follows. If the message you wish to convey using Ivmbox contains complex wiki-code or equals signs, it may be necessary to use साँचा:para instead of merely साँचा:para:
साँचा:tlx which gives:
The template can display an image to the left of the text content. By default, the image will be 25px in width:
The image can be made smaller or larger using the साँचा:para parameter:
Advanced use
By default, if an icon is used with Ivmbox, the icon will not be clickable (in MediaWiki image nomenclature, साँचा:para will be declared but empty). If you wished, for example, clicking the image to lead to List of Prime Ministers of the United Kingdom, you would include the following parameter:
The background of an Ivmbox is the off-white X11 colour ivory. If you like the functionality of Ivmbox but require it to display with a background other than the off-white ivory it uses by default, simply include the parameter साँचा:para; for example:
साँचा:para for a salmon message box
साँचा:para for a #90EE90 (light green) message box.
See also
- साँचा:tl, for messageboxes on article pages.
- साँचा:tl, for messageboxes on category pages.
- साँचा:tl, for messageboxes on file (image) pages.
- साँचा:tl, for messageboxes on talk pages.
- साँचा:tl, for header and footer messageboxes.
- साँचा:tl, for messageboxes on other types of page.
- साँचा:tl, for messageboxes that are used in different namespaces and change their presentation accordingly.
Closely related metatemplates:
- साँचा:tl, for messageboxes in article stubs.
- साँचा:tl, for messageboxes on disambiguation or set-index pages.
- साँचा:tla, a simple full-width box with default ivory background intended to frame important messages or notices.