Difference between revisions of "Template:Ambox"

From The Aruba Wiki
Jump to: navigation, search
(Created page with "<includeonly><div style="padding:0.2em"> {{#switch: {{{1|}}} | success = <div style="width:{{{width|30%}}};background:{{{bgcolor|#F0F8FF}}};padding:5px;border:1px solid {{{bco...")
 
(No difference)

Latest revision as of 23:16, 20 August 2018

Success {{ambox|success|content=}}
Sample Content
Info {{ambox|info|content=}}
Sample Content
Warning {{ambox|warning|content=}}
Sample Content
Danger {{ambox|danger|content=}}
Sample Content
Dark {{ambox|dark|content=}}
Sample Content
Primary {{ambox|primary|content=}}
Sample Content
Default {{ambox|content=}}
Sample Content


Advance Options

type - Sets the pre-defined border colors for the ambos. Currently there are 7 pre-defined styles: success, info, warning, danger, dark, primary, default
width - Sets the width of the ambox notification. Default to 40%
bgcolor - Sets the background color of the ambox notification. Default to #F0F8FF
bcolor - Sets the border color of the ambox notification other than the pre-defined styles.
radius - Sets the border-radius property of the ambox notification. Default to 0
style - Adds additional styles for the ambox
content - This will provide value to the ambox notification
{{ambox|1
|width    = 
| bgcolor = 
| bcolor  = 
| radius  = 
| style   = 
| content = 
}}