Difference between revisions of "Template:Colorbox"
From Goon Wiki
(Created page with "<span style="background-color:{{{1|}}}; color:{{{3|}}}; text-align:center; border-radius:1em; border:solid #ccc thin;">{{#if:{{{2|}}}| {{{2}}} | &nb...") |
|||
Line 1: | Line 1: | ||
<span style="background-color:{{{1|}}}; color:{{{3|}}}; text-align:center; border-radius:1em; border:solid #ccc thin;">{{#if:{{{2|}}}| {{{2}}} | }}</span><noinclude>{{documentation}} | <span style="background-color:{{{1|}}}; color:{{{3|}}}; text-align:center; border-radius:1em; border:solid #ccc thin;">{{#if:{{{2|}}}| {{{2}}} | }}</span> | ||
[[Category:Template]]</noinclude> | <noinclude>{{documentation}}[[Category:Template]]</noinclude> |
Revision as of 08:00, 11 November 2021
[edit] Template documentation
This is a simple color box template, for use on pages where a color needs to be displayed in-line with text. To set a color for the box, add a pipe, a # symbol, and then the hex code of the color after the usual template syntax, EG: {{template:color_box|#00ff00}}