Template:Ambox

From TetrisWiki
Revision as of 19:18, 31 July 2021 by Simonlc (talk | contribs)
Jump to navigation Jump to search

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}}.

Usage:

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

Result:

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