Difference between revisions of "Template:Ambox"

From comp.tf
Jump to navigation Jump to search
(Added template)
 
Line 6: Line 6:
 
  | delete = #b22222
 
  | delete = #b22222
 
  | black  
 
  | black  
}}; padding: 0 0.5em; " | [[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 17:58, 6 July 2013

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.