Шаблон:Ambox

Материал из Voices of the Void Wiki
Перейти к навигации Перейти к поиску

Template-info.svg Documentation Edit this documentation at %D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:Ambox/doc.
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:

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:

Color Previews