Template:Ambox
Revision as of 06:40, 27 December 2008 by sc4e>Freedo50 (New page: <includeonly><table class="metadata plainlinks ambox {{#switch:{{{type|}}} | speedy = ambox-speedy | delete = ambox-delete | content = ambox-content | style = ambox-style ...)
This templae is a message box for article pages, it will be automatically transcluded by the {{Mbox}} tag.
Usage
Simple usage example:
{{ambox | text = Some text.}}
Some text. |
Complex example:
{{ambox | type = style | image = [[Image:Wiki_question.png|40px]] | style = width: 400px; | textstyle = color: red; font-weight: bold; font-style: italic; | text = The message body text. }}
The message body 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=speedy – Speedy deletion issues, such as {{db-g1}} and {{db-g3}}. |
type=delete – Deletion issues, such as {{afd}} and {{prod}}. |
type=content – Content issues, such as {{POV}} and {{globalize}}. |
type=style – Style issues, such as {{cleanup}} and {{wikify}}. |
type=notice – Article notices, such as {{current}} and {{inuse}}. |
type=move – Merge, split and transwiki proposals, such as {{split}} and {{copy to wiktionary}}. |
type=protection – Protection notices, such as {{pp-vandalism}} and {{pp-semi-protected}}. |