Jump to content

Template:Color box/doc

From Wiki - Scioly.org
Revision as of 16:41, 17 May 2020 by Pepperonipi (talk | contribs) (Created page with "{{TemplateDocStart}} The '''Color box''' template is used to create a colored box. == Parameters == :<code><nowiki>1</nowiki></code> - the background of the box :<code><nowik...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Color box/doc - Documentation

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!