Template:Mbox
Jump to navigation
Jump to search
Display a message box with up to three cells. The message box width is 80% of the available width for a statically placed box. The box can optionally be floated right, in which case the width is 25% of the available width.
Use[edit source]
{{Mbox|cell-contents|cell-contents|cell-contents|color=color-name|float=Boolean}}
- cell-contents
- wikitext to be displayed in the message; displays up to three cells horizontally
- color
- (optional) one of a predefined set of color names for the left border; valid values are
gray
,red
,rred
(red border with red background),orange
,oorange
,yellow
,yyellow
,green
,ggreen
,blue
,bblue
,indigo
,iindigo
,violet
,vviolet
,magenta
, andmmagenta
; without this option, the border is black - float
- (optional, default: false) float a smaller box to the right; any value other than
true
is treated asfalse
Examples[edit source]
{{Mbox|Text}} {{Mbox|[[File:Gnome-applications-science.svg|40px|link=]]|Text}}
produces
Text
Text