Template:Ambox/doc

From Ring of Brodgar
Jump to navigation Jump to search

Usage

Simple usage example:

{{ambox | text = Some text.}}
Some text.

OR:

{{ambox
| type = content
| text = Warning - Some text.
}}
Warning - Some text.

Available List of parameters

{{ambox
| type       = delete / content / style / notice / move / protected
| image      = Picture.Png / Picture.Png|alt=Picture (if the parameter does not present, default type icon will be supplied)
| text       = Text for a big box, for the top of articles.

| style      = Different table style. (preferably should not be used)
| text-style = same as the above for text.

Article message box types

The following examples use different type parameters but use no image parameters thus they use the default images for each type.


type=delete – Deletion issues, such as delete.
type=content – Content issues.
type=style – Style issues.
type=notice – Article notices.
type=move – Merge, split and transwiki proposals.
type=protected – Protection notices.

Other images

The default images shown above are mostly for convenience. In many cases it is more appropriate to use more specific images. These example use the image parameter to specify an image other than the default images.

{{ambox
| type  = notice
| image = wiki-gears.png
| text  = Something Something Something 
}}
Something Something Something