Template:Ambox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{| table class="plainlinks" style="margin: 0px 10%; border: 1px solid #aaa; background: #fbfbfb; " | {| table class="plainlinks" style="margin: 0px 10%; border: 1px solid #aaa; background: #fbfbfb; " | ||
| style="border-left: 10px solid {{#switch:{{{type}}} | | style="border-left: 10px solid #{{#switch:{{{type}}} | ||
| notice = | | notice = 1e90ff | ||
| style = | | style = ffcc00 | ||
| content = | | content = f28500 | ||
| delete = | | delete = b22222 | ||
| | | 000 | ||
}}; padding: 0 {{{#if:{{{image|}}}|0.5em|}};" | {{#if:{{{image|}}}|[[Image:{{{image|}}}{{!}}56px]]|}} | }}; padding: 0 {{{#if:{{{image|}}}|0.5em|}};" | {{#if:{{{image|}}}|[[Image:{{{image|}}}{{!}}56px]]|}} | ||
| style="width: 100%" | '''{{{header}}}'''<br><span style="font-size: 95%; ">{{{smalltext}}}</span> | | style="width: 100%" | '''{{{header}}}'''<br><span style="font-size: 95%; ">{{{smalltext}}}</span> |
Revision as of 18:05, 6 July 2013
{{{header}}} {{{smalltext}}} |
Usage
An ambox, or article message box, can be added to notify users of specific messages regarding the article.
Parameters
- type - Selects the type of the ambox. Available options:
- notice - Used for notices.
- style - Used for style guides.
- content - Used for content suggestions.
- delete - Used for deletion templates.
- image - Filename of the image used in the ambox.
- header - Used for the first line of the ambox.
- smalltext - Used for the later lines of the ambox.