Template:Ambox

From TetrisWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Ambox, short for Article Message Box is a pre styled version of {{Mbox}}. It is a base for creating reusable messages such as {{stub}} and {{outdated}}.

Styles can be edited at Template:Ambox/styles.css

Usage:

{{Ambox
| namespace = main
| text = '''This page is a candidate for deletion.'''
| style = background: #d33;
| textstyle = color: white;
| info = '''The given reason is:''' {{#if:{{{1|}}}|{{{1|}}}|''No reason supplied!''}}
| image = [[File:Ambox_delete.svg|24px|Deletion candidate]]
| cat = Deleteme
}}

Result:

Deletion candidate
This page is a candidate for deletion.
The given reason is: No reason supplied!