Difference between revisions of "Template talk:MessageBox"
From Amahi Wiki
(2 intermediate revisions by 2 users 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 17: | Line 17: | ||
you get | you get | ||
− | {{ | + | {{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}} | ||
+ | |||
+ | you type | ||
+ | <pre> | ||
+ | {{Template:MessageBox| | ||
+ | backgroundcolor = #F8E6E6| | ||
+ | image =160px-Mediawiki.png| | ||
+ | heading =WELCOME| | ||
+ | message = 1234567890}} | ||
+ | </pre> | ||
+ | |||
+ | you get | ||
+ | |||
+ | {{Template:MessageBox| | ||
+ | backgroundcolor = #d6f8d6| | ||
+ | image =160px-Mediawiki.png| | ||
+ | heading =WELCOME| | ||
+ | message = 1234567890}} | ||
[[Category:Help]] | [[Category:Help]] |
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 |