Template:Message box: Difference between revisions

Added example with CustomCSS
m Wups
Line 36: Line 36:
| text = It has a discuss link, custom width and some custom CSS
| text = It has a discuss link, custom width and some custom CSS
| discuss = true
| discuss = true
| width = 320px
| width = 340px
| customcss = -moz-box-shadow: 0px 0px 6px #888; -webkit-box-shadow: 0px 0px 6px #888;
| customcss = -moz-box-shadow: 0px 0px 6px #888; -webkit-box-shadow: 0px 0px 6px #888;
}}
}}
Line 42: Line 42:


Will result in:
Will result in:
{{msgbox| type = normal | bgcol = #eef | linecol = #ddf | title = This is a blue message box | text = It has a discuss link and custom width | discuss = true | width = 320px | customcss = -moz-box-shadow: 0px 0px 6px #888; -webkit-box-shadow: 0px 0px 6px #888;}}
{{msgbox| type = normal | bgcol = #eef | linecol = #ddf | title = This is a blue message box | text = It has a discuss link, custom width and some custom CSS | discuss = true | width = 340px | customcss = -moz-box-shadow: 0px 0px 6px #888; -webkit-box-shadow: 0px 0px 6px #888;}}


[[Category:Box templates]]
[[Category:Box templates]]
</noinclude>
</noinclude>