Template:Color box/doc: Difference between revisions
Appearance
m Removing the TemplateDocStart template from documentation for formatting purposes. |
Jaspattack (talk | contribs) m attempting a fix |
||
| Line 1: | Line 1: | ||
The '''Color box''' template is used to create a colored box. | The '''Color box''' template is used to create a colored box. | ||
Latest revision as of 21:18, 8 September 2020
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}}
|
|
{{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! |