Template:Ambox

From Ring of Brodgar
Jump to navigation Jump to search
Template documentation (for the template shown above, sometimes hidden or invisible)

Usage

Simple usage example:

{{ambox | text = Some text.}}
Wiki-notice.png

Some text.

OR:

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

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.


Wiki-deletion.png

type=delete – Deletion issues, such as {{delete}}.

Wiki-content.png

type=content – Content issues.

Wiki-edit-clear.png

type=style – Style issues.

Wiki-notice.png

type=notice – Article notices.

Wiki-move.png

type=move – Merge, split and transwiki proposals.

Wiki-protection.png

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 
}}
Wiki-gears.png

Something Something Something

Known issues

Text is placed outside the am-box when used on an auto-indented line. (falls outside general intended usage)

:{{ambox
| type  = delete
| text  = type=<u>delete</u> – Deletion issues, such as {{t|delete}}.
}}
Wiki-deletion.png

type=delete – Deletion issues, such as {{delete}}.

NTS: Potentially something to do with CSS and HTML block-elements. Check RoB CSS code/behaviour against other online MW versions, Might be outdated/issue with initial Wikia imported CSS codes. (--.MvGulik. 02:39, 31 January 2019 (EST))


Visit Template:Ambox/doc to edit this text! (How does this work?)