Template:Ambox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
| class = {{{class|}}} | | class = {{{class|}}} | ||
| style = display: flex; font-size: 95%; background: #fbfbfb; border-radius: 5px; padding: 0.5em; margin: 0 3em; {{{style|}}} | | style = display: flex; font-size: 95%; background: #fbfbfb; border-radius: 5px; padding: 0.5em; margin: 0 3em; {{{style|}}} | ||
| textstyle = padding: 0.2em; margin-left: 0.3em; {{{textstyle|}}} | | textstyle = padding: 0.2em; margin-left: 0.3em; flex-basis: 100%; {{{textstyle|}}} | ||
| plainlinks = {{{plainlinks|}}} | | plainlinks = {{{plainlinks|}}} | ||
| text = {{{text|}}} | | text = {{{text|}}} |
Revision as of 19:22, 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-color: #fee; | info = '''The given reason is:''' {{#if:{{{1|}}}|{{{1|}}}|''No reason supplied!''}} | image = [[File:Ambox_delete.png|50px|Deletion candidate|link=]] | cat = Deleteme }}