Template:Ambox

From TTWiki
Revision as of 19:01, 22 March 2015 by Gimel3830 (talk | contribs)
Jump to navigationJump to search

Template:Other languages

Usage

Simple usage example:

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

Some text.

OR:

{{ambox 
| type = content
| text = Warning - Some text.
}}
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.


Deletion.png

type=delete – Deletion issues, such as Template:S.

Content.png

type=content – Content issues, such as Template:S.

Edit-clear.png

type=style – Style issues, such as Template:S.

Notice.png

type=notice – Article notices, such as Template:S.

Move.png

type=move – Merge, split and transwiki proposals, such as Template:S.

Protection.png

type=protected – Protection notices, such as Template:S.

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 = OpenttdManual.png
| text  = Something Something Something 
}}

Something Something Something