Difference between revisions of "Template talk:MessageBox"

From Amahi Wiki
Jump to: navigation, search
 
Line 9: Line 9:
 
<pre>
 
<pre>
 
{{MessageBox|
 
{{MessageBox|
backgroundcolor = red|
+
backgroundcolor = #f8d6d6|
 
image =Warning.png‎|
 
image =Warning.png‎|
 
heading =WARNING|
 
heading =WARNING|
Line 18: Line 18:
  
 
{{MessageBox|
 
{{MessageBox|
backgroundcolor = red|
+
backgroundcolor = #f8d6d6|
 
image =Warning.png|
 
image =Warning.png|
 
heading =WARNING|
 
heading =WARNING|
Line 35: Line 35:
  
 
{{Template:MessageBox|
 
{{Template:MessageBox|
backgroundcolor = #F8E6E6|
+
backgroundcolor = #d6f8d6|
 
image =160px-Mediawiki.png|
 
image =160px-Mediawiki.png|
 
heading =WELCOME|
 
heading =WELCOME|

Latest revision as of 23:35, 12 July 2012

Include a message box

Message box has four named parameters

  • backgroundcolor
  • image
  • heading
  • message

you type

{{MessageBox|
backgroundcolor	= #f8d6d6|
image	=Warning.png‎|
heading	=WARNING|
message = Using following code is extremely dangerous}}

you get

Warning.png WARNING
Using following code is extremely dangerous



you type

{{Template:MessageBox|
backgroundcolor	= #F8E6E6|
image	=160px-Mediawiki.png‎|
heading	=WELCOME|
message = 1234567890}}

you get

50px WELCOME
1234567890