跳转到内容

模板:Ivory messagebox/doc

本页使用了标题或全文手工转换
维基百科,自由的百科全书

To leave an Ivmbox message with no icon:

  • {{Ivmbox|Text to display in messagebox}}

To use this template with an icon, use:

  • {{Ivmbox|Text to display|Information icon4.svg}}

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 |1=Lorem ipsum [etc…] instead of merely |Lorem ipsum [etc…]:

{{Ivmbox|Lorem ipsum [etc…]}} which gives:

本文为测试文字。这段文字用于说明格式,请勿删除。这段文字用于说明格式,请勿删除。海纳百川,有容乃大。维基百科,自由的百科全书。

The template can display an image to the left of the text content. By default, the image will be 25px in width:

{{Ivmbox|Lorem ipsum [etc…]|Information icon4.svg}}

本文为测试文字。这段文字用于说明格式,请勿删除。这段文字用于说明格式,请勿删除。海纳百川,有容乃大。维基百科,自由的百科全书。

The image can be made smaller or larger using the |imagesize= parameter:

{{Ivmbox|Lorem ipsum [etc…]|Information icon4.svg|imagesize=40px}}

本文为测试文字。这段文字用于说明格式,请勿删除。这段文字用于说明格式,请勿删除。海纳百川,有容乃大。维基百科,自由的百科全书。本文为测试文字。这段文字用于说明格式,请勿删除。这段文字用于说明格式,请勿删除。海纳百川,有容乃大。维基百科,自由的百科全书。