Difference between revisions of "Template:Color box"
From Backstage Lore Wiki
(Creation; Standardize colored box bases) |
m (Better purple) |
||
Line 8: | Line 8: | ||
{{Color box|color=#144f1d|border=#2f8f2f|I made a colorful box!}} | {{Color box|color=#144f1d|border=#2f8f2f|I made a colorful box!}} | ||
− | <nowiki>{{Color box|color=# | + | <nowiki>{{Color box|color=#205|border=#60b|And this one is purple.}}</nowiki> |
− | {{Color box|color=# | + | {{Color box|color=#205|border=#60b|And this one is purple.}} |
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 18:04, 15 December 2008
Example
The 'color' parameter is the background color. The 'border' parameter is the border color. The background color should be a darker shade of the border color. If the background color is not dark, the white text may be difficult to read. The first unnamed parameter is the text to appear in the box.
{{Color box|color=#144f1d|border=#2f8f2f|I made a colorful box!}}
{{Color box|color=#205|border=#60b|And this one is purple.}}