跳至內容

模板: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}}

本文為測試文字。這段文字用於說明格式,請勿刪除。這段文字用於說明格式,請勿刪除。海納百川,有容乃大。維基百科,自由的百科全書。本文為測試文字。這段文字用於說明格式,請勿刪除。這段文字用於說明格式,請勿刪除。海納百川,有容乃大。維基百科,自由的百科全書。