Template:Color box: Difference between revisions
Appearance
Pepperonipi (talk | contribs) Created page with "<span style="background-color:{{{1|}}}; color:{{#if:{{{3|}}}|{{{3}}}|black}}; border:1px solid {{{border|#000000}}}; text-align:center;">{{#if:{{{2|}}}| {{{2}}} |&nb..." |
m Replaced old documentation references with the Documentation template. |
||
| Line 1: | Line 1: | ||
<span style="background-color:{{ | <span style="background-color:{{Documentation}}[[Category:Templates]]</noinclude> | ||
Revision as of 23:00, 5 August 2020
<span style="background-color:
The Color box template is used to create a colored box.
Parameters
1- the background of the box2- optional - the text inside the box3- optional - the color of the text inside the boxborder- 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> |