Template:Ambox/doc

From CSLabsWiki
< Template:Ambox
Revision as of 18:56, 8 October 2007 by Lewisrj (talk | contribs) (Added info about default images, uses, and technical considerations)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

The "type" option defaults to "notice". "Image" and "Imageright" are optional.

{{ambox
| type  = serious / content / style / merge / notice
| image = none / blank / [[Image:Some image.png|40px]]
| imageright = [[Image:Some image.png|40px]]
| text  = The message body text. 
}}

Default Images and Possible Uses


Technical

If you need to use special characters in the text parameter then you need to escape them like this:

{{ambox
| text  = <div>
Equal sign = and a start and end brace { } work fine as they are. 
But here is a pipe {{!}} and two end braces }}. 
And now a pipe and end braces |}}.
</div>
}}