Difference between revisions of "Template:Ambox"

From CSLabsWiki
m
(Removed "growth" feature since we have "Expand" and it's labeled as "serious")
 
Line 5: Line 5:
 
| merge = ambox-merge
 
| merge = ambox-merge
 
| notice = ambox-notice
 
| notice = ambox-notice
| growth = ambox-growth
 
 
| #default = ambox-notice
 
| #default = ambox-notice
 
}}">
 
}}">
Line 15: Line 14:
 
| merge = [[Image:Merge-split-transwiki default.png|40px]]
 
| merge = [[Image:Merge-split-transwiki default.png|40px]]
 
| notice = [[Image:Info non-talk.png|40px]]
 
| notice = [[Image:Info non-talk.png|40px]]
| growth = [[Image:N write green black.png|40px]]
 
 
| blank = <!-- empty image cell -->
 
| blank = <!-- empty image cell -->
 
| #default = {{{image|[[Image:Info non-talk.png|40px]]}}}
 
| #default = {{{image|[[Image:Info non-talk.png|40px]]}}}

Latest revision as of 19:57, 8 October 2007

[view] [edit] Template documentation

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>
}}