Template:Color box

From Wiki - Scioly.org
Jump to: navigation, search

    

Template documentation[view] [edit] [history] [purge]

The Color box template is used to create a colored box.

Parameters

1 - the background of the box
2 - optional - the text inside the box
3 - optional - the color of the text inside the box
border - optional - the border around the box

Examples

{{Color box|white}}
    
{{Color box|#F5A9B8}}
    
{{Color box|#F5A9B8|This text is inside a pink box!}}
 This text is inside a pink box! 
{{Color box|#F5A9B8|Now with red text!|red}}
 Now with red text! 
{{Color box|#F5A9B8|Now with a '''blue''' border!|red|border=#5BCEFA}}
 Now with a blue border!