Jump to content

Template:Color box

From Wiki - Scioly.org
Revision as of 23:00, 5 August 2020 by Pi-Bot (talk | contribs) (Replaced old documentation references with the Documentation template.)

<span style="background-color:

Template 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}}
<span style="background-color:Template loop detected: Template:Documentation</noinclude>
{{Color box|#F5A9B8}}
<span style="background-color:Template loop detected: Template:Documentation</noinclude>
{{Color box|#F5A9B8|This text is inside a pink box!}}
<span style="background-color:Template loop detected: Template:Documentation</noinclude>
{{Color box|#F5A9B8|Now with red text!|red}}
<span style="background-color:Template loop detected: Template:Documentation</noinclude>
{{Color box|#F5A9B8|Now with a '''blue''' border!|red|border=#5BCEFA}}
<span style="background-color:Template loop detected: Template:Documentation</noinclude>