Шаблон:Ambox
Перейти к навигации
Перейти к поиску
AMBOX ERROR: NULL |
- Description
- The template provides an Article Message Box mostly used for notices.
- Syntax
{{Ambox|Title Text|image=Image|info=Info Text|class=Extra Classes|border=Border Color}}
- Named parameters
-
- |image=
- The image used. (Defaults to Information.png)
- |info=
- Displays extra info under the title. If left blank, will not display anything.
- |class=
- Extra CSS classes to add, if needed. Avoid quotations otherwise the AMBox will break.
- |border=
- Border color (Defaults to gray).
- red
- ambox-red (serious issue)
- yellow
- ambox-yellow (mild issue)
- green
- ambox-green (good!)
- purple
- ambox-purple (technical change)
- blue
- ambox-blue (notice)
- orange
- ambox-orange (stub color)
- gray
- ambox-gray (nothing)
- Usage
Code Examples
Standard
Code:{{Ambox|This is an example!}}
Preview:This is an example! |
Custom Image + Border Color + Info Text
Code:{{Ambox|You have failed the report, Dr. Kel.|image=Email user icon generic.png|border=red|info=For failing the report, we're going to execute you via firing squad}}
Preview:You have failed the report, Dr. Kel. For failing the report, we're going to execute you via firing squad |
Color Previews
Red Border Example. |
Orange Border Example. |
Yellow Border Example. |
Purple Border Example. |
Blue Border Example. |
Green Border Example. |
Gray Border Example. |
Категория:
- Templates