模板:Ivory messagebox
{{{1}}}
| 此模板被引用于Mediawiki:Emailpagetext中。 任何对此模板的修改会立即反映于维基百科的用户界面。 为了避免造成大规模的影响,编者可以在本模板的沙盒和测试样例页面进行实验。 测试后无误的版本可以一次性地加入此模板中,但是修改前请务必于讨论页发起讨论。 |
| 此模板已被全保护。仅限管理员编辑。 |
| 此模板的文档不存在、不全面或不能详细描述其功能及/或其代码中的参数。请帮助扩充并改进其文档。 |
| 本模板使用以下模板样式: |
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}}