Difference between revisions of "Template talk:MessageBox"

From Amahi Wiki
Jump to: navigation, search
Line 17: Line 17:
 
you get
 
you get
  
{{Template:MessageBox|
+
{{MessageBox|
 
backgroundcolor = red|
 
backgroundcolor = red|
 
image =Warning.gif‎|
 
image =Warning.gif‎|
 
heading =WARNING|
 
heading =WARNING|
 
message = Using following code is extremely dangerous}}
 
message = Using following code is extremely dangerous}}
 +
 +
you type
 +
<pre>
 +
{{Template:MessageBox|
 +
backgroundcolor = #F8E6E6|
 +
image =160px-Mediawiki.png‎|
 +
heading =WELCOME|
 +
message = 1234567890}}
 +
</pre>
 +
 +
you get
 +
 +
{{Template:MessageBox|
 +
backgroundcolor = #F8E6E6|
 +
image =160px-Mediawiki.png|
 +
heading =WELCOME|
 +
message = 1234567890}}
  
 
[[Category:Help]]
 
[[Category:Help]]

Revision as of 09:40, 3 January 2011

Include a message box

Message box has four named parameters

  • backgroundcolor
  • image
  • heading
  • message

you type

{{MessageBox|
backgroundcolor	= red|
image	=Warning.gif‎|
heading	=WARNING|
message = Using following code is extremely dangerous}}

you get

50px 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