Template:Ambox: Difference between revisions

From TetrisWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 29: Line 29:
| textstyle = color: white;
| textstyle = color: white;
| info = '''The given reason is:''' {{#if:{{{1|}}}|{{{1|}}}|''No reason supplied!''}}
| info = '''The given reason is:''' {{#if:{{{1|}}}|{{{1|}}}|''No reason supplied!''}}
| image = <div style="opacity: 0.4">[[File:Ambox_delete.svg|24px|Deletion candidate]]</div>
| image = [[File:Ambox_delete.svg|24px|Deletion candidate]]
| cat = Deleteme
| cat = Deleteme
}}
}}
Line 41: Line 41:
| textstyle = color: white;
| textstyle = color: white;
| info = '''The given reason is:''' {{#if:{{{1|}}}|{{{1|}}}|''No reason supplied!''}}
| info = '''The given reason is:''' {{#if:{{{1|}}}|{{{1|}}}|''No reason supplied!''}}
| image = <div style="opacity: 0.4">[[File:Ambox_delete.svg|24px|Deletion candidate]]</div>
| image = [[File:Ambox_delete.svg|24px|Deletion candidate]]
| cat = Deleteme
| cat = Deleteme
}}
}}

Revision as of 21:33, 31 July 2021

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: #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!