Template:Ivory messagebox/doc
This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
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:
Template:Ivmbox
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…]|Ambox notice.svg}}
Template:Ivmbox
The image can be made smaller or larger using the |imagesize=
parameter:
{{Ivmbox|Lorem ipsum [etc…]|Ambox notice.svg|imagesize=40px}}
Template:Ivmbox
Advanced use[edit]
By default, if an icon is used with Ivmbox, the icon will not be clickable (in , |link=
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:
|image link=List of Prime Ministers of the United Kingdom
The image, by default, also has no caption; in a similar style, the caption can be declared by including the following parameter:
|image caption=Lorem ipsum
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 |bg=
; for example:
|bg=salmon
for a salmon message box
|bg=#90EE90
for a #90EE90 (light green) message box.
See also[edit]
Template:Mbox templates see also