Difference between revisions of "Template:Colorbox"
From Goon Wiki
m |
|||
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> | <span style="background-color:{{{1|}}}; color:{{{3|}}}; text-align:center; border-radius:1em; border:solid #ccc thin;">{{#if:{{{2|}}}| {{{2}}} | }}</span><noinclude>{{documentation}}[[Category:Template]]</noinclude> | ||
<noinclude>{{documentation}}[[Category:Template]]</noinclude> |
Latest revision as of 08:11, 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}}