Difference between revisions of "Template:Mbox"

From OBEY wiki
Jump to: navigation, search
(Undo revision 890 by Hexzyle (talk) had it half right the first time)
Line 5: Line 5:
  
 
'''Usage:''' (note that these are the default values)<br/>
 
'''Usage:''' (note that these are the default values)<br/>
  <nowiki>{{mbox|
+
  <nowiki>{{mbox
text=Lorem ipsum dolor sit amet
+
|text=Lorem ipsum dolor sit amet
width=94%
+
|width=94%
color=E5E5E5
+
|color=E5E5E5
 
}}</nowiki>
 
}}</nowiki>
  
 
'''Generates:'''<br/>
 
'''Generates:'''<br/>
{{mbox|
+
{{mbox
text=Lorem ipsum dolor sit amet
+
|text=Lorem ipsum dolor sit amet
width=94%
+
|width=94%
color=E5E5E5
+
|color=E5E5E5
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Revision as of 14:24, 23 June 2015

Creates a message box. The message box is not centered by default, you will need to do this with the pair of tags, <center> and </center>

Usage: (note that these are the default values)

{{mbox
|text=Lorem ipsum dolor sit amet
|width=94%
|color=E5E5E5
}}

Generates:

Lorem ipsum dolor sit amet