Template:Ambox

From OpenTTD
Jump to: navigation, search


Contents

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 {{delete}}.

Content.png

type=content – Content issues, such as {{Warning}}.

Edit-clear.png

type=style – Style issues, such as {{cleanup}}.

Notice.png

type=notice – Article notices, such as {{current}}.

Move.png

type=move – Merge, split and transwiki proposals, such as {{split}}.

Protection.png

type=protected – Protection notices, such as {{Historical}}.

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

Something Something Something

Personal tools