Difference between revisions of "Template talk:MessageBox"
From Amahi Wiki
(One intermediate revision by one other user not shown) | |||
Line 9: | Line 9: | ||
<pre> | <pre> | ||
{{MessageBox| | {{MessageBox| | ||
− | backgroundcolor = | + | backgroundcolor = #f8d6d6| |
− | image =Warning. | + | image =Warning.png| |
heading =WARNING| | heading =WARNING| | ||
message = Using following code is extremely dangerous}} | message = Using following code is extremely dangerous}} | ||
Line 18: | Line 18: | ||
{{MessageBox| | {{MessageBox| | ||
− | backgroundcolor = | + | backgroundcolor = #f8d6d6| |
− | image =Warning. | + | image =Warning.png| |
heading =WARNING| | heading =WARNING| | ||
message = Using following code is extremely dangerous}} | message = Using following code is extremely dangerous}} | ||
Line 35: | Line 35: | ||
{{Template:MessageBox| | {{Template:MessageBox| | ||
− | backgroundcolor = # | + | 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 | |
---|---|
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 |