Changes

Jump to navigation Jump to search
277 bytes added ,  21:24, 3 January 2009
adds better documentation
<noinclude>
== Usage ==
The template takes two three named parametersthat can be given in any order. '''; text : (required) is the message; type''' : (optional) determines the presentation using pre-defined styling. One of :* success:* warning:* failure:* normal (default); style : (optional) is optionalCSS that will be passed through.
== Literal Example ==
<pre>
{{Messagebox
|type = success (or warning, failure, normal) can be left blank| style = width:50%;|text = your message content
}}
</pre>
For a more complex (up to 80 parameters) template, see the Infobox template [[Template_talk:Infobox]]
== Visual Examples ==
{{Messagebox
|text = no type, uses default (normal)| style = width:50%;
}}
{{Messagebox
|type = normal|text = Why be normal?
}}
{{Messagebox
|type = success|text = You won!
}}
{{Messagebox
|type = warning|text = Do not spit into the wind
}}
4,558

edits

Navigation menu