Vorlage:Ambox: Unterschied zwischen den Versionen

Aus Bowlinglexikon
Zur Navigation springen Zur Suche springen
K (1 Version: Import Ambox)
 
Keine Bearbeitungszusammenfassung
 
Zeile 122: Zeile 122:
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.
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.


<pre>{{ambox
| type  = notice
| image = OpenttdManual.png
| text  = Something Something Something
}}</pre>
{{ambox
| type  = notice
| image = OpenttdManual.png
| text  = Something Something Something
}}


[[Category:Templates|A]][[Category:Message boxes|A]]
[[Category:Templates|A]][[Category:Message boxes|A]]

Aktuelle Version vom 13. Januar 2013, 11:29 Uhr


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, such as {{Warning}}.

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

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

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

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.